Merge "Replace PRODUCT_DISABLE_SCUDO with MALLOC_LOW_MEMORY." into main

This commit is contained in:
Christopher Ferris
2024-07-20 01:36:55 +00:00
committed by Gerrit Code Review

View File

@@ -37,9 +37,9 @@ PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false
# leave less information available via JDWP. # leave less information available via JDWP.
PRODUCT_MINIMIZE_JAVA_DEBUG_INFO := true PRODUCT_MINIMIZE_JAVA_DEBUG_INFO := true
# Disable Scudo outside of eng builds to save RAM. # Use the low memory allocator outside of eng builds to save RSS.
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT))) ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_DISABLE_SCUDO := true MALLOC_LOW_MEMORY := true
endif endif
# Add the system properties. # Add the system properties.