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

Commit dddc036b authored by Paul Duffin's avatar Paul Duffin
Browse files

Revert "Enable mainline prebuilts on tm-dev branch."

This reverts commit de9f0b12.

Reason for revert: breaks build_test and build_test2 on git_tm-dev.

Reverting the topic together does not work due to limitations with TH. However, this is the change that caused the error, the other changes were just fixing issues unrelated to this specific problem.

Bug: 233412962
Bug: 230478310
Bug: 223592962
Change-Id: I4d4de4f4c63c9c34fb083edbe76b09852af357e4
Test: presubmit
parent de9f0b12
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -39,14 +39,7 @@ $(call add_soong_config_var,ANDROID,PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT)
# Default behavior for the tree wrt building modules or using prebuilts. This
# can always be overridden by setting the environment variable
# MODULE_BUILD_FROM_SOURCE.
ifneq ($(SANITIZE_TARGET)$(EMMA_INSTRUMENT_FRAMEWORK),)
  # Always use sources when building the framework with Java coverage or
  # sanitized builds as they both require purpose built prebuilts which we do
  # not provide.
BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true
else
  BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := false
endif

ifneq (,$(MODULE_BUILD_FROM_SOURCE))
  # Keep an explicit setting.