Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7102591f authored by Anton Hansson's avatar Anton Hansson Committed by android-build-merger
Browse files

Merge "Skip auto-gen rro packages for path requirements." am: 5558838b

am: eccff5a9

Change-Id: I3ff22d3c52f6d40505db76145354e3b75b6c2b17
parents 7865f412 eccff5a9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -998,6 +998,8 @@ $(foreach makefile,$(ARTIFACT_PATH_REQUIREMENT_PRODUCTS),\
  $(eval whitelist_patterns := $(call resolve-product-relative-paths,$(whitelist))) \
  $(eval files := $(call product-installed-files, $(makefile))) \
  $(eval files := $(filter-out $(TARGET_OUT_FAKE)/% $(HOST_OUT)/%,$(files))) \
  $(eval # RROs become REQUIRED by the source module, but are always placed on the vendor partition.) \
  $(eval files := $(filter-out %__auto_generated_rro.apk,$(files))) \
  $(eval offending_files := $(filter-out $(path_patterns) $(whitelist_patterns),$(files))) \
  $(call maybe-print-list-and-error,$(offending_files),$(makefile) produces files outside its artifact path requirement.) \
  $(eval unused_whitelist := $(filter-out $(files),$(whitelist_patterns))) \