forked from openkylin/platform_build
am 9f8e214a: Only enable WITH_DEXPREOPT by default for libdvm.so
* commit '9f8e214a919097284a88cb19a1b85ceafc202a67': Only enable WITH_DEXPREOPT by default for libdvm.so
This commit is contained in:
commit
e469ea36ff
10
core/main.mk
10
core/main.mk
|
@ -330,13 +330,15 @@ ifneq (,$(user_variant))
|
|||
enable_target_debugging :=
|
||||
endif
|
||||
|
||||
# Turn on Dalvik preoptimization for user builds, but only if not
|
||||
# Turn on Dalvik preoptimization for libdvm.so user builds, but only if not
|
||||
# explicitly disabled and the build is running on Linux (since host
|
||||
# Dalvik isn't built for non-Linux hosts).
|
||||
ifeq (,$(WITH_DEXPREOPT))
|
||||
ifeq ($(user_variant),user)
|
||||
ifeq ($(HOST_OS),linux)
|
||||
WITH_DEXPREOPT := true
|
||||
ifeq ($(DALVIK_VM_LIB),libdvm.so)
|
||||
ifeq ($(user_variant),user)
|
||||
ifeq ($(HOST_OS),linux)
|
||||
WITH_DEXPREOPT := true
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue