From d79dde610ede0ea65c2f6819ef7300b76ff97e0e Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Tue, 17 Jan 2017 14:19:50 -0800 Subject: [PATCH] Support native test prebuilts for X86+ARM builds This allows Soong native tests to be built and installed on these builds. Bug: 32177952 Test: m -j bionic-unit-tests Change-Id: Ifbe39ba7a8991cb87d10c5da679992cf3065444e --- core/prebuilt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/prebuilt.mk b/core/prebuilt.mk index 5831e2412e..839e14fa19 100644 --- a/core/prebuilt.mk +++ b/core/prebuilt.mk @@ -15,7 +15,7 @@ else ifeq ($(TARGET_TRANSLATE_2ND_ARCH),true) # Only support prebuilt shared and static libraries for translated arch - ifeq ($(filter SHARED_LIBRARIES STATIC_LIBRARIES,$(LOCAL_MODULE_CLASS)),) + ifeq ($(filter SHARED_LIBRARIES STATIC_LIBRARIES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),) LOCAL_MULTILIB := first endif endif