Build: Switch on oat file mini-debug-info for boot.oat
am: a20910f495
* commit 'a20910f49587fba5fe84dd94eb25aa6d5399e2c4':
Build: Switch on oat file mini-debug-info for boot.oat
Change-Id: I1df3d23950c163a9c54b67521b150edc1086c63b
diff --git a/core/dex_preopt.mk b/core/dex_preopt.mk
index a36d4f9..d182dc0 100644
--- a/core/dex_preopt.mk
+++ b/core/dex_preopt.mk
@@ -29,6 +29,10 @@
ifeq (eng,$(TARGET_BUILD_VARIANT))
WITH_DEXPREOPT_BOOT_IMG_ONLY ?= true
endif
+# Add mini-debug-info to the boot classpath unless explicitly asked not to.
+ ifneq (false,$(WITH_DEXPREOPT_DEBUG_INFO))
+ PRODUCT_DEX_PREOPT_BOOT_FLAGS += --generate-mini-debug-info
+ endif
endif
GLOBAL_DEXPREOPT_FLAGS :=