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

Commit 60c08f24 authored by Jiakai Zhang's avatar Jiakai Zhang Committed by Gerrit Code Review
Browse files

Revert "Don't disable dexpreopt for an unbundled build."

This reverts commit d5d8904e.

Reason for revert: Maybe broke the build on git_stage-aosp-master on mainline_modules_x86_64-userdebug

Change-Id: Ia33a642abda127b43aa6e265deb43dca7ee04f34
parent d5d8904e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -502,10 +502,6 @@ ifneq (,$(TARGET_BUILD_APPS)$(TARGET_BUILD_UNBUNDLED_IMAGE))
  DISABLE_PREOPT := true
endif
ifeq (true,$(TARGET_BUILD_UNBUNDLED))
  # Don't disable dexpreopt for an unbundled build. Dexpreopt generates profiles that need to be
  # installed in the APEX. Soong will skip the dex2oat step after it generates the build rule for
  # profiles.
  DISABLE_PREOPT :=
  ifneq (true,$(UNBUNDLED_BUILD_SDKS_FROM_SOURCE))
    TARGET_BUILD_USE_PREBUILT_SDKS := true
  endif