Revert "Don't preopt on eng builds."
This reverts commit 7effde0048
.
Bug: 25801231
Bug: 26794212
This commit is contained in:
parent
e82f56c4f7
commit
6c6c51aa79
1 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue