1 ifeq ($(LOCAL_IS_AUX_MODULE),) 2 include $(BUILD_SYSTEM)/aux_toolchain.mk 3 endif 4 5 ifeq ($(AUX_BUILD_NOT_COMPATIBLE),) 6 7 ifeq ($(strip $(LOCAL_MODULE_CLASS)),) 8 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 9 endif 10 ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),) 11 LOCAL_MODULE_SUFFIX := .a 12 endif 13 14 LOCAL_UNINSTALLABLE_MODULE := true 15 16 ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),) 17 $(error $(LOCAL_PATH): Cannot set module stem for a library) 18 endif 19 20 include $(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 27 endif # AUX_BUILD_NOT_COMPATIBLE 28