Loading core/main.mk +22 −23 Original line number Diff line number Diff line Loading @@ -1386,29 +1386,6 @@ modules_to_install := $(sort \ $(CUSTOM_MODULES) \ ) ifdef FULL_BUILD # # Used by the cleanup logic in soong_ui to remove files that should no longer # be installed. # # Include all tests, so that we remove them from the test suites / testcase # folders when they are removed. test_files := $(foreach ts,$(ALL_COMPATIBILITY_SUITES),$(COMPATIBILITY.$(ts).FILES)) $(shell mkdir -p $(PRODUCT_OUT) $(HOST_OUT)) $(file >$(PRODUCT_OUT)/.installable_files$(if $(filter address,$(SANITIZE_TARGET)),_asan), \ $(sort $(patsubst $(PRODUCT_OUT)/%,%,$(filter $(PRODUCT_OUT)/%, \ $(modules_to_install) $(test_files))))) $(file >$(HOST_OUT)/.installable_test_files,$(sort \ $(patsubst $(HOST_OUT)/%,%,$(filter $(HOST_OUT)/%, \ $(test_files))))) test_files := endif # Dedpulicate compatibility suite dist files across modules and packages before # copying them to their requested locations. Assign the eval result to an unused # var to prevent Make from trying to make a sense of it. Loading Loading @@ -1467,6 +1444,28 @@ endif modules_to_install := $(sort $(ALL_DEFAULT_INSTALLED_MODULES)) ALL_DEFAULT_INSTALLED_MODULES := ifdef FULL_BUILD # # Used by the cleanup logic in soong_ui to remove files that should no longer # be installed. # # Include all tests, so that we remove them from the test suites / testcase # folders when they are removed. test_files := $(foreach ts,$(ALL_COMPATIBILITY_SUITES),$(COMPATIBILITY.$(ts).FILES)) $(shell mkdir -p $(PRODUCT_OUT) $(HOST_OUT)) $(file >$(PRODUCT_OUT)/.installable_files$(if $(filter address,$(SANITIZE_TARGET)),_asan), \ $(sort $(patsubst $(PRODUCT_OUT)/%,%,$(filter $(PRODUCT_OUT)/%, \ $(modules_to_install) $(test_files))))) $(file >$(HOST_OUT)/.installable_test_files,$(sort \ $(patsubst $(HOST_OUT)/%,%,$(filter $(HOST_OUT)/%, \ $(test_files))))) test_files := endif # Some notice deps refer to module names without prefix or arch suffix where # only the variants with them get built. Loading Loading
core/main.mk +22 −23 Original line number Diff line number Diff line Loading @@ -1386,29 +1386,6 @@ modules_to_install := $(sort \ $(CUSTOM_MODULES) \ ) ifdef FULL_BUILD # # Used by the cleanup logic in soong_ui to remove files that should no longer # be installed. # # Include all tests, so that we remove them from the test suites / testcase # folders when they are removed. test_files := $(foreach ts,$(ALL_COMPATIBILITY_SUITES),$(COMPATIBILITY.$(ts).FILES)) $(shell mkdir -p $(PRODUCT_OUT) $(HOST_OUT)) $(file >$(PRODUCT_OUT)/.installable_files$(if $(filter address,$(SANITIZE_TARGET)),_asan), \ $(sort $(patsubst $(PRODUCT_OUT)/%,%,$(filter $(PRODUCT_OUT)/%, \ $(modules_to_install) $(test_files))))) $(file >$(HOST_OUT)/.installable_test_files,$(sort \ $(patsubst $(HOST_OUT)/%,%,$(filter $(HOST_OUT)/%, \ $(test_files))))) test_files := endif # Dedpulicate compatibility suite dist files across modules and packages before # copying them to their requested locations. Assign the eval result to an unused # var to prevent Make from trying to make a sense of it. Loading Loading @@ -1467,6 +1444,28 @@ endif modules_to_install := $(sort $(ALL_DEFAULT_INSTALLED_MODULES)) ALL_DEFAULT_INSTALLED_MODULES := ifdef FULL_BUILD # # Used by the cleanup logic in soong_ui to remove files that should no longer # be installed. # # Include all tests, so that we remove them from the test suites / testcase # folders when they are removed. test_files := $(foreach ts,$(ALL_COMPATIBILITY_SUITES),$(COMPATIBILITY.$(ts).FILES)) $(shell mkdir -p $(PRODUCT_OUT) $(HOST_OUT)) $(file >$(PRODUCT_OUT)/.installable_files$(if $(filter address,$(SANITIZE_TARGET)),_asan), \ $(sort $(patsubst $(PRODUCT_OUT)/%,%,$(filter $(PRODUCT_OUT)/%, \ $(modules_to_install) $(test_files))))) $(file >$(HOST_OUT)/.installable_test_files,$(sort \ $(patsubst $(HOST_OUT)/%,%,$(filter $(HOST_OUT)/%, \ $(test_files))))) test_files := endif # Some notice deps refer to module names without prefix or arch suffix where # only the variants with them get built. Loading