Add ART_DEFAULT_COMPACT_DEX_LEVEL

If specified, this option changes the default compact dex level used
by dex2oat. Defaults to none currently.

Bug: 63756964
Test: ART_DEFAULT_COMPACT_DEX_LEVEL=fast mm test-art-host-gtest and verify it fails for now.
Test: test/testrunner/testrunner.py --host -j64 and verify it passes

Change-Id: Ib252f432b3545297725656a5cca40d1bb57b0ced
diff --git a/build/Android.common_build.mk b/build/Android.common_build.mk
index f5a95fa..0896252 100644
--- a/build/Android.common_build.mk
+++ b/build/Android.common_build.mk
@@ -49,6 +49,11 @@
 # Enable the read barrier by default.
 ART_USE_READ_BARRIER ?= true
 
+# Default compact dex level to none.
+ifeq ($(ART_DEFAULT_COMPACT_DEX_LEVEL),)
+ART_DEFAULT_COMPACT_DEX_LEVEL := none
+endif
+
 ART_CPP_EXTENSION := .cc
 
 ifndef LIBART_IMG_HOST_BASE_ADDRESS