3bf15e71d3
Creates a build_system_stats.txt build artifact that contains statistics on how many BUILD_* modules are defined in a build. Also writes out information about the Soong module types sent from the Soong build. Merged-In: Iaf0c7062f542dc6942b5349854f3d49267cac4a5 Change-Id: Iaf0c7062f542dc6942b5349854f3d49267cac4a5
14 lines
373 B
Makefile
14 lines
373 B
Makefile
$(call record-module-type,PHONY_PACKAGE)
|
|
ifneq ($(strip $(LOCAL_SRC_FILES)),)
|
|
$(error LOCAL_SRC_FILES are not allowed for phony packages)
|
|
endif
|
|
|
|
LOCAL_MODULE_CLASS := FAKE
|
|
LOCAL_MODULE_SUFFIX := -timestamp
|
|
|
|
include $(BUILD_SYSTEM)/base_rules.mk
|
|
|
|
$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
|
|
$(hide) echo "Fake: $@"
|
|
$(hide) mkdir -p $(dir $@)
|
|
$(hide) touch $@
|