Colin Cross | d0378b3 | 2014-01-24 19:30:27 -0800 | [diff] [blame^] | 1 | ifneq ($(LOCAL_MODULE_PATH),) |
| 2 | ifneq ($(TARGET_2ND_ARCH),) |
| 3 | $(warning $(LOCAL_MODULE): LOCAL_MODULE_PATH for shared libraries is unsupported in multiarch builds, use LOCAL_MODULE_RELATIVE_PATH instead) |
| 4 | endif |
| 5 | endif |
| 6 | |
| 7 | ifneq ($(LOCAL_UNSTRIPPED_PATH),) |
| 8 | ifneq ($(TARGET_2ND_ARCH),) |
| 9 | $(warning $(LOCAL_MODULE): LOCAL_UNSTRIPPED_PATH for shared libraries is unsupported in multiarch builds) |
| 10 | endif |
| 11 | endif |
| 12 | |
Ying Wang | dd814bf | 2014-01-17 16:17:28 -0800 | [diff] [blame] | 13 | ifneq ($(TARGET_IS_64_BIT)|$(LOCAL_32BIT_ONLY),true|true) |
| 14 | # Build for TARGET_ARCH |
| 15 | LOCAL_2ND_ARCH_VAR_PREFIX := |
Ying Wang | 4d2cc66 | 2014-01-16 12:36:34 -0800 | [diff] [blame] | 16 | include $(BUILD_SYSTEM)/shared_library_internal.mk |
Ying Wang | dd814bf | 2014-01-17 16:17:28 -0800 | [diff] [blame] | 17 | endif |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 18 | |
Ying Wang | 4d2cc66 | 2014-01-16 12:36:34 -0800 | [diff] [blame] | 19 | ifdef TARGET_2ND_ARCH |
Ying Wang | dd814bf | 2014-01-17 16:17:28 -0800 | [diff] [blame] | 20 | ifneq ($(LOCAL_NO_2ND_ARCH),true) |
| 21 | # Build for TARGET_2ND_ARCH |
Ying Wang | 4d2cc66 | 2014-01-16 12:36:34 -0800 | [diff] [blame] | 22 | OVERRIDE_BUILT_MODULE_PATH := |
| 23 | LOCAL_BUILT_MODULE := |
| 24 | LOCAL_INSTALLED_MODULE := |
| 25 | LOCAL_MODULE_STEM := |
| 26 | LOCAL_BUILT_MODULE_STEM := |
| 27 | LOCAL_INSTALLED_MODULE_STEM := |
| 28 | LOCAL_INTERMEDIATE_TARGETS := |
| 29 | |
| 30 | LOCAL_2ND_ARCH_VAR_PREFIX := $(TARGET_2ND_ARCH_VAR_PREFIX) |
| 31 | include $(BUILD_SYSTEM)/shared_library_internal.mk |
| 32 | LOCAL_2ND_ARCH_VAR_PREFIX := |
| 33 | |
Ying Wang | dd814bf | 2014-01-17 16:17:28 -0800 | [diff] [blame] | 34 | endif # LOCAL_NO_2ND_ARCH |
| 35 | endif # TARGET_2ND_ARCH |