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