summaryrefslogtreecommitdiff
path: root/micro_bench
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2013-01-15 16:21:34 -0800
committerBen Cheng <bccheng@google.com>2013-01-15 16:21:34 -0800
commita331fc014ef8932164e2abce7a7d8b77a0fe6d5e (patch)
treeb6042e4dd26c33ee3f4098ca98878919543749ef /micro_bench
parentd198c429f50e1cad98e989d6212508adb45d7919 (diff)
downloadextras-a331fc014ef8932164e2abce7a7d8b77a0fe6d5e.tar.gz
Add a static variant for micro_bench.
So that it will be easier to test target-dependent bionic implementations across devices. Change-Id: Ie74dc37d5632b1a270f0d2e9013d504a810640e2
Diffstat (limited to 'micro_bench')
-rw-r--r--micro_bench/Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/micro_bench/Android.mk b/micro_bench/Android.mk
index 0e819c37..2b4b5764 100644
--- a/micro_bench/Android.mk
+++ b/micro_bench/Android.mk
@@ -8,3 +8,15 @@ LOCAL_MODULE_TAGS := debug
LOCAL_MODULE := micro_bench
include $(BUILD_EXECUTABLE)
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := micro_bench.c
+
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+LOCAL_MODULE_TAGS := debug
+LOCAL_MODULE := micro_bench_static
+LOCAL_STATIC_LIBRARIES = libc
+LOCAL_FORCE_STATIC_EXECUTABLE := true
+
+include $(BUILD_EXECUTABLE)