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