common: Disable art debug builds

Change-Id: I44e16c12c70e30dea8e85a9751cc94e4ff329898
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
This commit is contained in:
rmp22
2025-02-26 21:37:22 +08:00
committed by Joey
parent 6aaad33937
commit d607bf656a

View File

@@ -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