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