1my_prefix := TARGET_ 2include $(BUILD_SYSTEM)/multilib.mk 3 4ifndef my_module_multilib 5# libraries default to building for both architecturess 6my_module_multilib := both 7endif 8 9LOCAL_2ND_ARCH_VAR_PREFIX := 10include $(BUILD_SYSTEM)/module_arch_supported.mk 11 12ifeq ($(my_module_arch_supported),true) 13include $(BUILD_SYSTEM)/static_library_internal.mk 14endif 15 16ifdef TARGET_2ND_ARCH 17 18LOCAL_2ND_ARCH_VAR_PREFIX := $(TARGET_2ND_ARCH_VAR_PREFIX) 19include $(BUILD_SYSTEM)/module_arch_supported.mk 20 21ifeq ($(my_module_arch_supported),true) 22# Build for TARGET_2ND_ARCH 23OVERRIDE_BUILT_MODULE_PATH := 24LOCAL_BUILT_MODULE := 25LOCAL_INSTALLED_MODULE := 26LOCAL_MODULE_STEM := 27LOCAL_BUILT_MODULE_STEM := 28LOCAL_INSTALLED_MODULE_STEM := 29LOCAL_INTERMEDIATE_TARGETS := 30 31include $(BUILD_SYSTEM)/static_library_internal.mk 32 33endif 34 35LOCAL_2ND_ARCH_VAR_PREFIX := 36 37endif # TARGET_2ND_ARCH 38 39my_module_arch_supported := 40 41########################################################### 42## Copy headers to the install tree 43########################################################### 44include $(BUILD_COPY_HEADERS) 45