Build: Switch on oat file mini-debug-info for boot.oat
Enable mini-debug-info for the boot image by default. This
can be disabled with WITH_DEXPREOPT_DEBUG_INFO=false.
Bug: 28474219
(cherry picked from commit 58f6bfaa37
)
Change-Id: Ifd59d854f01ad8cf703f16d7a6e88c2c82d47feb
This commit is contained in:
@@ -29,6 +29,10 @@ ifeq ($(HOST_OS),linux)
|
||||
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 :=
|
||||
|
Reference in New Issue
Block a user