Merge "Add MALLOC_LOW_MEMORY as synonym for MALLOC_SVELTE." into main am: 8e46fa38f1
am: c0a91f8053
Original change: https://android-review.googlesource.com/c/platform/build/+/3064404 Change-Id: I5d18de5a81027bd07735465e4d9c84689cc82028 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
6f43cb09c9
@@ -274,7 +274,7 @@ endif
|
||||
|
||||
ifneq ($(MALLOC_IMPL),)
|
||||
$(warning *** Unsupported option MALLOC_IMPL defined by board config: $(board_config_mk).)
|
||||
$(error Use `MALLOC_SVELTE := true` to configure jemalloc for low-memory)
|
||||
$(error Use `MALLOC_LOW_MEMORY := true` to use low-memory allocator config)
|
||||
endif
|
||||
board_config_mk :=
|
||||
|
||||
|
@@ -154,7 +154,7 @@ $(call add_json_list, ExtraVndkVersions, $(PRODUCT_EXTRA_VNDK_VE
|
||||
$(call add_json_list, DeviceSystemSdkVersions, $(BOARD_SYSTEMSDK_VERSIONS))
|
||||
$(call add_json_str, RecoverySnapshotVersion, $(RECOVERY_SNAPSHOT_VERSION))
|
||||
$(call add_json_list, Platform_systemsdk_versions, $(PLATFORM_SYSTEMSDK_VERSIONS))
|
||||
$(call add_json_bool, Malloc_not_svelte, $(call invert_bool,$(filter true,$(MALLOC_SVELTE))))
|
||||
$(call add_json_bool, Malloc_low_memory, $(findstring true,$(MALLOC_SVELTE) $(MALLOC_LOW_MEMORY)))
|
||||
$(call add_json_bool, Malloc_zero_contents, $(call invert_bool,$(filter false,$(MALLOC_ZERO_CONTENTS))))
|
||||
$(call add_json_bool, Malloc_pattern_fill_contents, $(MALLOC_PATTERN_FILL_CONTENTS))
|
||||
$(call add_json_str, Override_rs_driver, $(OVERRIDE_RS_DRIVER))
|
||||
|
@@ -15,6 +15,6 @@
|
||||
|
||||
TARGET_ARCH_SUITE := ndk
|
||||
|
||||
MALLOC_SVELTE := true
|
||||
MALLOC_LOW_MEMORY := true
|
||||
|
||||
USE_SAFESTACK := false
|
||||
|
Reference in New Issue
Block a user