Prepare for switching from Proguard to R8
Test: m -j PRODUCT-asop_x86-userdebug
Test: Check that no *.vdex files in the image are generated by R8
Change-Id: Ifd85d485fa5b6148723378a15c5faef849381ce1
diff --git a/core/config.mk b/core/config.mk
index 4bae6b3..bf1818a 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -542,6 +542,11 @@
USE_D8 := true
endif
+# Default R8 behavior when USE_R8 is not specified.
+ifndef USE_R8
+ USE_R8 := false
+endif
+
#
# Tools that are prebuilts for TARGET_BUILD_APPS
#