From f018cf68f57d001a83a340945febe506e5d937d0 Mon Sep 17 00:00:00 2001 From: Harshit Jain Date: Wed, 1 Jun 2022 00:45:00 +0100 Subject: [PATCH] sm7125: dex2oat: Strip off some debug packages * Ref: https://source.android.com/devices/tech/dalvik/configure#compilation_options Q: PRODUCT_MINIMIZE_JAVA_DEBUG_INFO wth does this do? A: https://android.googlesource.com/platform/build/+/master/target/product/go_defaults_common.mk#68 --- common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.mk b/common.mk index 9f8f302..10d4fa2 100644 --- a/common.mk +++ b/common.mk @@ -455,6 +455,10 @@ PRODUCT_SOONG_NAMESPACES += \ # Speed profile services and wifi-service to reduce RAM and storage PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile PRODUCT_ALWAYS_PREOPT_EXTRACTED_APK := true +USE_DEX2OAT_DEBUG := false +PRODUCT_MINIMIZE_JAVA_DEBUG_INFO := true +PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false +WITH_DEXPREOPT_DEBUG_INFO := false PRODUCT_DEXPREOPT_SPEED_APPS += \ Settings \