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