Merge "Move WITH_DEXPREOPT default value"

This commit is contained in:
Anton Hansson 2019-02-28 10:26:31 +00:00 committed by Gerrit Code Review
commit 67d3081d3f
2 changed files with 5 additions and 1 deletions

View file

@ -19,6 +19,11 @@
# and sanity-checks the variable defined therein.
# ###############################################################
# Conditional to building on linux, as dex2oat currently does not work on darwin.
ifeq ($(HOST_OS),linux)
WITH_DEXPREOPT := true
endif
# ###############################################################
# Broken build defaults
# ###############################################################

View file

@ -20,7 +20,6 @@ ifeq ($(PRODUCT_DEX_PREOPT_NEVER_ALLOW_STRIPPING),)
endif
# Conditional to building on linux, as dex2oat currently does not work on darwin.
ifeq ($(HOST_OS),linux)
WITH_DEXPREOPT ?= true
ifeq (eng,$(TARGET_BUILD_VARIANT))
# Don't strip for quick development turnarounds.
DEX_PREOPT_DEFAULT := nostripping