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

Commit abfb75d6 authored by Nicolas Geoffray's avatar Nicolas Geoffray Committed by android-build-merger
Browse files

Merge "Don't strip for eng builds."

am: 12c68db5

Change-Id: I7eb2b83ae67a10e0fce727a7aefbb7025c63233b
parents 9704dddd 12c68db5
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -35,9 +35,11 @@ endif
# Conditional to building on linux, as dex2oat currently does not work on darwin.
ifeq ($(HOST_OS),linux)
  WITH_DEXPREOPT ?= true
  ifeq (eng,$(TARGET_BUILD_VARIANT))
    # Don't strip for quick development turnarounds.
    DEX_PREOPT_DEFAULT := nostripping
    # For an eng build only pre-opt the boot image and system server. This gives reasonable performance
    # and still allows a simple workflow: building in frameworks/base and syncing.
  ifeq (eng,$(TARGET_BUILD_VARIANT))
    WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY ?= true
  endif
  # Add mini-debug-info to the boot classpath unless explicitly asked not to.