Revert "Don't preopt on eng builds."

This reverts commit 7effde0048.

Bug: 25801231
Bug: 26794212
This commit is contained in:
Andreas Gampe 2016-03-10 15:07:27 -08:00
parent e82f56c4f7
commit 6c6c51aa79

View file

@ -21,13 +21,9 @@ 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
ifeq ($(HOST_OS),linux)
WITH_DEXPREOPT_PIC ?= true
WITH_DEXPREOPT ?= true
endif
# $(1): the .jar or .apk to remove classes.dex