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

Commit 2b4469a8 authored by Anton Hansson's avatar Anton Hansson
Browse files

Disable artifact path requirements for asan builds

asan builds create many artifacts that normal builds do not, and
are only used for testing. Disable artifact requirements for them.

Bug: 119270428
Test: build internal asan product
Change-Id: I8692ee7e8916d40a8a787c3a07dcf7d677b19cab
parent 1de3ef4a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1075,7 +1075,8 @@ ifdef FULL_BUILD
  product_MODULES := $(_pif_modules)

  # Verify the artifact path requirements made by included products.
  ifneq (true,$(DISABLE_ARTIFACT_PATH_REQUIREMENTS))
  is_asan := $(if $(filter address,$(SANITIZE_TARGET)),true)
  ifneq (true,$(or $(is_asan),$(DISABLE_ARTIFACT_PATH_REQUIREMENTS)))
  # Fakes don't get installed, and host files are irrelevant.
  static_whitelist_patterns := $(TARGET_OUT_FAKE)/% $(HOST_OUT)/%
  # RROs become REQUIRED by the source module, but are always placed on the vendor partition.