From d607bf656a78beff15623391679e01c27a04c394 Mon Sep 17 00:00:00 2001 From: rmp22 <195054967+rmp22@users.noreply.github.com> Date: Wed, 26 Feb 2025 21:37:22 +0800 Subject: [PATCH] common: Disable art debug builds Change-Id: I44e16c12c70e30dea8e85a9751cc94e4ff329898 Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com> --- config/common.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/common.mk b/config/common.mk index ff2f0bd7..15871acb 100644 --- a/config/common.mk +++ b/config/common.mk @@ -119,6 +119,11 @@ ifneq ($(TARGET_DISABLE_LINEAGE_SDK), true) include vendor/lineage/config/lineage_sdk_common.mk endif +ART_BUILD_TARGET_NDEBUG := false +ART_BUILD_TARGET_DEBUG := false +ART_BUILD_HOST_NDEBUG := false +ART_BUILD_HOST_DEBUG := false + # Do not include art debug targets PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false @@ -132,6 +137,9 @@ PRODUCT_MINIMIZE_JAVA_DEBUG_INFO := true SYSTEM_OPTIMIZE_JAVA ?= true SYSTEMUI_OPTIMIZE_JAVA ?= true +# Disable dex2oat debug +USE_DEX2OAT_DEBUG := false + # Disable vendor restrictions PRODUCT_RESTRICT_VENDOR_FILES := false