Add USE_D8_BY_DEFAULT in makefile.

Bug: 65854021
Test: m USE_D8=true  showcommands out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/with-local/classes.dex
Change-Id: Iec1a05bf6f03cf856faf2e013fa169e1a0beaf7a
This commit is contained in:
Alan Leung 2017-10-03 15:35:18 -07:00
parent b039cf792f
commit 013a37b760
1 changed files with 6 additions and 0 deletions

View File

@ -511,6 +511,12 @@ endif
USE_PREBUILT_SDK_TOOLS_IN_PLACE := true
# USE_D8_BY_DEFAULT is the default behavior, use USE_D8 to override.
USE_D8_BY_DEFAULT := false
ifndef USE_D8
USE_D8 := $(USE_D8_BY_DEFAULT)
endif
#
# Tools that are prebuilts for TARGET_BUILD_APPS
#