Dan Willemsen | 1684b32 | 2016-07-25 16:03:53 -0700 | [diff] [blame] | 1 | $(call record-module-type,PHONY_PACKAGE) |
Dima Zavin | f625bf2 | 2010-09-16 00:25:16 -0700 | [diff] [blame] | 2 | ifneq ($(strip $(LOCAL_SRC_FILES)),) |
| 3 | $(error LOCAL_SRC_FILES are not allowed for phony packages) |
| 4 | endif |
| 5 | |
Dima Zavin | 531f524 | 2010-09-27 17:37:17 -0700 | [diff] [blame] | 6 | LOCAL_MODULE_CLASS := FAKE |
| 7 | LOCAL_MODULE_SUFFIX := -timestamp |
Dima Zavin | f625bf2 | 2010-09-16 00:25:16 -0700 | [diff] [blame] | 8 | |
Dima Zavin | 531f524 | 2010-09-27 17:37:17 -0700 | [diff] [blame] | 9 | include $(BUILD_SYSTEM)/base_rules.mk |
Dima Zavin | f625bf2 | 2010-09-16 00:25:16 -0700 | [diff] [blame] | 10 | |
Dan Willemsen | 1c6dc5b | 2016-01-06 14:28:36 -0800 | [diff] [blame] | 11 | $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) |
Dima Zavin | 531f524 | 2010-09-27 17:37:17 -0700 | [diff] [blame] | 12 | $(hide) echo "Fake: $@" |
| 13 | $(hide) mkdir -p $(dir $@) |
| 14 | $(hide) touch $@ |