48722f03d5
This reverts commit 8fb525db71
.
Test: none
Change-Id: I94e7bee0d7b892b9363772e43213ba21376b021d
(cherry picked from commit d722b05a9b9e13e3fcd8757be67a81c01d950f8a)
21 lines
611 B
Makefile
21 lines
611 B
Makefile
###########################################################
|
|
## Standard rules for building a header library.
|
|
##
|
|
## Additional inputs from base_rules.make:
|
|
## None.
|
|
###########################################################
|
|
|
|
LOCAL_MODULE_CLASS := HEADER_LIBRARIES
|
|
LOCAL_UNINSTALLABLE_MODULE := true
|
|
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
|
$(error $(LOCAL_PATH): Cannot set module stem for a library)
|
|
endif
|
|
|
|
include $(BUILD_SYSTEM)/binary.mk
|
|
|
|
ifneq ($(strip $(all_objects)),)
|
|
$(call pretty-error,Header libraries may not have any sources)
|
|
endif
|
|
|
|
$(LOCAL_BUILT_MODULE):
|
|
$(hide) touch $@
|