blob: e6c0b6ee87229ad8111be6124b1efcf5527a9821 [file] [log] [blame]
LOCAL_MODULE_CLASS := _FAKE_
ifneq ($(strip $(LOCAL_SRC_FILES)),)
$(error LOCAL_SRC_FILES are not allowed for phony packages)
endif
ifeq ($(strip $(LOCAL_REQUIRED_MODULES)),)
$(error LOCAL_REQUIRED_MODULES is required for phony packages)
endif
.PHONY: $(LOCAL_MODULE)
$(LOCAL_MODULE): $(LOCAL_REQUIRED_MODULES)
ALL_MODULES += $(LOCAL_MODULE)
ALL_MODULES.$(LOCAL_MODULE).CLASS := _FAKE_
PACKAGES := $(PACKAGES) $(LOCAL_MODULE)