1ifeq ($(LOCAL_IS_AUX_MODULE),) 2include $(BUILD_SYSTEM)/aux_toolchain.mk 3endif 4 5ifeq ($(AUX_BUILD_NOT_COMPATIBLE),) 6 7ifeq ($(strip $(LOCAL_MODULE_CLASS)),) 8LOCAL_MODULE_CLASS := STATIC_LIBRARIES 9endif 10ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),) 11LOCAL_MODULE_SUFFIX := .a 12endif 13 14LOCAL_UNINSTALLABLE_MODULE := true 15 16ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),) 17$(error $(LOCAL_PATH): Cannot set module stem for a library) 18endif 19 20include $(BUILD_SYSTEM)/binary.mk 21 22$(LOCAL_BUILT_MODULE) : PRIVATE_AR := $(AUX_AR) 23$(LOCAL_BUILT_MODULE) : $(built_whole_libraries) 24$(LOCAL_BUILT_MODULE) : $(all_objects) 25 $(transform-o-to-aux-static-lib) 26 27endif # AUX_BUILD_NOT_COMPATIBLE 28