diff --git a/tests/Android.build.mk b/tests/Android.build.mk index 5a5368528..c1a0f16af 100644 --- a/tests/Android.build.mk +++ b/tests/Android.build.mk @@ -18,8 +18,8 @@ include $(CLEAR_VARS) LOCAL_MODULE := $(module) LOCAL_MODULE_TAGS := $(module_tag) -LOCAL_MULTILIB := $(multilib) -ifeq ($(multilib),both) +LOCAL_MULTILIB := $($(module)_multilib) +ifeq ($(LOCAL_MULTILIB),both) LOCAL_MODULE_STEM_32 := $(module)32 LOCAL_MODULE_STEM_64 := $(module)64 endif diff --git a/tests/Android.mk b/tests/Android.mk index 0014af616..d85e8eb5b 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -221,7 +221,7 @@ bionic-unit-tests_shared_libraries_target := \ module := bionic-unit-tests module_tag := optional -multilib := both +bionic-unit-tests_multilib := both build_type := target build_target := NATIVE_TEST include $(LOCAL_PATH)/Android.build.mk @@ -243,7 +243,7 @@ bionic-unit-tests-static_force_static_executable := true module := bionic-unit-tests-static module_tag := optional -multilib := both +bionic-unit-tests-static_multilib := both build_type := target build_target := NATIVE_TEST include $(LOCAL_PATH)/Android.build.mk