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

Commit 93d0970a authored by Nicolas Geoffray's avatar Nicolas Geoffray Committed by Android (Google) Code Review
Browse files

Merge "Don't preopt on eng builds."

parents d9d4755c 7effde00
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -21,10 +21,14 @@ 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