Merge "Allow arm prebuilts for x86_arm builds"
am: fcaae6bee8
* commit 'fcaae6bee83c62703339f0e54751b244ef7fd7b7':
Allow arm prebuilts for x86_arm builds
Change-Id: Ia8a3cd4736afbf7920f4b5383cb24c99a0f9df41
diff --git a/core/prebuilt.mk b/core/prebuilt.mk
index f1edc8a..7b83467 100644
--- a/core/prebuilt.mk
+++ b/core/prebuilt.mk
@@ -13,7 +13,10 @@
my_prefix := TARGET_
ifeq ($(TARGET_TRANSLATE_2ND_ARCH),true)
- LOCAL_MULTILIB := first
+ # Only support prebuilt shared and static libraries for translated arch
+ ifeq ($(filter SHARED_LIBRARIES STATIC_LIBRARIES,$(LOCAL_MODULE_CLASS)),)
+ LOCAL_MULTILIB := first
+ endif
endif
endif