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

Commit b4c221cf authored by Martin Stjernholm's avatar Martin Stjernholm Committed by Automerger Merge Worker
Browse files

Build the ART module from source if other Mainline modules are. am: 06a70346 am: 3673e6dc

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15277370

Change-Id: Ifbd17bb7335d0ea3e3581e10cc21116279801f23
parents 3c2e2ea9 3673e6dc
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -43,6 +43,9 @@ else ifeq (,$(filter-out modules_% mainline_modules_%,$(TARGET_PRODUCT)))
  # Always build from source for the module targets. This ought to be covered by
  # Always build from source for the module targets. This ought to be covered by
  # the TARGET_BUILD_APPS check above, but there are test builds that don't set it.
  # the TARGET_BUILD_APPS check above, but there are test builds that don't set it.
  SOONG_CONFIG_art_module_source_build := true
  SOONG_CONFIG_art_module_source_build := true
else ifdef MODULES_BUILD_FROM_SOURCE
  # Build from source if other Mainline modules are.
  SOONG_CONFIG_art_module_source_build := true
else ifneq (,$(filter true,$(NATIVE_COVERAGE) $(CLANG_COVERAGE)))
else ifneq (,$(filter true,$(NATIVE_COVERAGE) $(CLANG_COVERAGE)))
  # Always build ART APEXes from source in coverage builds since the prebuilts
  # Always build ART APEXes from source in coverage builds since the prebuilts
  # aren't built with instrumentation.
  # aren't built with instrumentation.