Don't touch .installable_files for non-FULL_BUILD

If we're not doing a full build, leave
$(PRODUCT_OUT)/.installable_files* alone rather
than truncating it. This prevents the clean logic
in Soong from removing everthing that we're trying
to use to build an image using the snod, vnod, etc.
goals.

Bug: 149460609
Test: make droid, make vnod, verify vendor.img
Change-Id: I612e32621b8045d085829507f22f6385b859f0c2
This commit is contained in:
Bill Peckham 2020-03-04 15:12:52 -08:00
parent a7f84831fe
commit 7c3aa02ca3

View file

@ -1254,6 +1254,7 @@ 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.
@ -1274,6 +1275,7 @@ $(file >$(HOST_OUT)/.installable_test_files,$(sort \
$(test_files)))))
test_files :=
endif
# Don't include any GNU General Public License shared objects or static