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

Commit 6c6c51aa authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Revert "Don't preopt on eng builds."

This reverts commit 7effde00.

Bug: 25801231
Bug: 26794212
parent e82f56c4
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -21,14 +21,10 @@ DEX_PREOPT_DEFAULT ?= true

# The default values for pre-opting: always preopt PIC.
# Conditional to building on linux, as dex2oat currently does not work on darwin.
# Conditional to building a non-eng build, as it currently negatively affects
# some development workflows.
ifneq ($(TARGET_BUILD_VARIANT),eng)
ifeq ($(HOST_OS),linux)
  WITH_DEXPREOPT_PIC ?= true
  WITH_DEXPREOPT ?= true
endif
endif

# $(1): the .jar or .apk to remove classes.dex
define dexpreopt-remove-classes.dex