Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58f6bfaa authored by Andreas Gampe's avatar Andreas Gampe
Browse files

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
Change-Id: Ifd59d854f01ad8cf703f16d7a6e88c2c82d47feb
parent c9b7f8c3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 :=