github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/make/core/header_library_internal.mk (about)

     1  ###########################################################
     2  ## Standard rules for building a header library.
     3  ##
     4  ## Additional inputs from base_rules.make:
     5  ## None.
     6  ###########################################################
     7  
     8  LOCAL_MODULE_CLASS := HEADER_LIBRARIES
     9  LOCAL_UNINSTALLABLE_MODULE := true
    10  ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
    11  $(error $(LOCAL_PATH): Cannot set module stem for a library)
    12  endif
    13  
    14  include $(BUILD_SYSTEM)/binary.mk
    15  
    16  ifneq ($(strip $(all_objects)),)
    17  $(call pretty-error,Header libraries may not have any sources)
    18  endif
    19  
    20  $(LOCAL_BUILT_MODULE):
    21  	$(hide) touch $@