Create a dump-files phony target.

This is more convenient than the current always-off conditional,
because it doesn't require changing the build system to dump
the installed files.

Bug: 80410283
Test: m dump-files
Change-Id: I7d395750673aff07d2018ffce8321dd280b94ccf
This commit is contained in:
Anton Hansson
2018-10-01 16:26:17 +01:00
parent 60be6ae961
commit 6961e53876

View File

@@ -1051,12 +1051,6 @@ else
product_FILES :=
endif
ifeq (0,1)
$(info product_FILES for $(TARGET_DEVICE) ($(INTERNAL_PRODUCT)):)
$(foreach p,$(product_FILES),$(info : $(p)))
$(error done)
endif
# TODO: Remove the 3 places in the tree that use ALL_DEFAULT_INSTALLED_MODULES
# and get rid of it from this list.
modules_to_install := $(sort \
@@ -1443,6 +1437,12 @@ dump-products:
$(dump-products)
@echo Successfully dumped products
.PHONY: dump-files
dump-files:
$(info product_FILES for $(TARGET_DEVICE) ($(INTERNAL_PRODUCT)):)
$(foreach p,$(product_FILES),$(info : $(p)))
@echo Successfully dumped product file list
.PHONY: nothing
nothing:
@echo Successfully read the makefiles.