diff options
author | Christopher Ferris <cferris@google.com> | 2014-04-22 10:42:12 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2014-04-22 10:42:12 -0700 |
commit | 345b49a7c07fde18e9397ffba9079ff81a4c3d74 (patch) | |
tree | 0061272e683e9a49d71eb92a8db7280d64da0e7a | |
parent | c5eea6d386c23bde6f0400a8959ed21081d8365b (diff) | |
download | bionic-345b49a7c07fde18e9397ffba9079ff81a4c3d74.zip bionic-345b49a7c07fde18e9397ffba9079ff81a4c3d74.tar.gz bionic-345b49a7c07fde18e9397ffba9079ff81a4c3d74.tar.bz2 |
Build 32/64 bit versions of tests/benchmarks.
Change-Id: I4d146377aac6573a214dfaa5cab5cce8b10538b4
-rw-r--r-- | benchmarks/Android.mk | 3 | ||||
-rw-r--r-- | tests/Android.build.mk | 5 | ||||
-rw-r--r-- | tests/Android.mk | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/benchmarks/Android.mk b/benchmarks/Android.mk index 797ce62..25e2ed9 100644 --- a/benchmarks/Android.mk +++ b/benchmarks/Android.mk @@ -44,6 +44,9 @@ benchmark_src_files = \ # adb shell bionic-benchmarks include $(CLEAR_VARS) LOCAL_MODULE := bionic-benchmarks +LOCAL_MODULE_STEM_32 := bionic-benchmarks32 +LOCAL_MODULE_STEM_64 := bionic-benchmarks64 +LOCAL_MULTILIB := both LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_CFLAGS += $(benchmark_c_flags) LOCAL_C_INCLUDES += external/stlport/stlport bionic/ bionic/libstdc++/include diff --git a/tests/Android.build.mk b/tests/Android.build.mk index 33e0a0b..5a53685 100644 --- a/tests/Android.build.mk +++ b/tests/Android.build.mk @@ -18,6 +18,11 @@ include $(CLEAR_VARS) LOCAL_MODULE := $(module) LOCAL_MODULE_TAGS := $(module_tag) +LOCAL_MULTILIB := $(multilib) +ifeq ($(multilib),both) + LOCAL_MODULE_STEM_32 := $(module)32 + LOCAL_MODULE_STEM_64 := $(module)64 +endif LOCAL_CLANG := $($(module)_clang_$(build_type)) diff --git a/tests/Android.mk b/tests/Android.mk index d2bcce8..daf9377 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -221,6 +221,7 @@ bionic-unit-tests_shared_libraries_target := \ module := bionic-unit-tests module_tag := optional +multilib := both build_type := target build_target := NATIVE_TEST include $(LOCAL_PATH)/Android.build.mk @@ -242,6 +243,7 @@ bionic-unit-tests-static_force_static_executable := true module := bionic-unit-tests-static module_tag := optional +multilib := both build_type := target build_target := NATIVE_TEST include $(LOCAL_PATH)/Android.build.mk |