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