Replace MALLOC_IMPL with MALLOC_SVELTE.
Bug: http://b/26390299 Change-Id: I665f64bff4d598607e1eb7c4078819fe1d400feb
This commit is contained in:
parent
04673ee997
commit
09f4651c0e
@ -645,7 +645,7 @@ ifeq ($(strip $(DEBUG_BIONIC_LIBC)),true)
|
||||
libc_common_cflags += -DDEBUG
|
||||
endif
|
||||
|
||||
ifeq ($(MALLOC_IMPL),dlmalloc)
|
||||
ifeq ($(MALLOC_SVELTE),true)
|
||||
libc_common_cflags += -DUSE_DLMALLOC
|
||||
libc_malloc_src := bionic/dlmalloc.c
|
||||
else
|
||||
@ -1206,7 +1206,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES_arm := libc_aeabi
|
||||
LOCAL_CXX_STL := none
|
||||
|
||||
ifneq ($(MALLOC_IMPL),dlmalloc)
|
||||
ifneq ($(MALLOC_SVELTE),true)
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += libjemalloc
|
||||
endif
|
||||
|
||||
@ -1343,7 +1343,7 @@ LOCAL_CLANG := $(use_clang)
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(libc_common_additional_dependencies)
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := libc_common
|
||||
|
||||
ifneq ($(MALLOC_IMPL),dlmalloc)
|
||||
ifneq ($(MALLOC_SVELTE),true)
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += libjemalloc
|
||||
endif
|
||||
|
||||
@ -1409,7 +1409,7 @@ LOCAL_PACK_MODULE_RELOCATIONS := false
|
||||
LOCAL_SHARED_LIBRARIES := libdl
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := libc_common
|
||||
|
||||
ifneq ($(MALLOC_IMPL),dlmalloc)
|
||||
ifneq ($(MALLOC_SVELTE),true)
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += libjemalloc
|
||||
endif
|
||||
|
||||
|
@ -40,7 +40,7 @@ test_cflags = \
|
||||
|
||||
test_cflags += -D__STDC_LIMIT_MACROS # For glibc.
|
||||
|
||||
ifeq ($(MALLOC_IMPL),dlmalloc)
|
||||
ifeq ($(MALLOC_SVELTE),true)
|
||||
test_cflags += -DUSE_DLMALLOC
|
||||
else
|
||||
test_cflags += -DUSE_JEMALLOC
|
||||
@ -122,7 +122,7 @@ libBionicStandardTests_src_files := \
|
||||
libBionicStandardTests_cflags := \
|
||||
$(test_cflags) \
|
||||
|
||||
ifeq ($(MALLOC_IMPL),dlmalloc)
|
||||
ifeq ($(MALLOC_SVELTE),true)
|
||||
libBionicStandardTests_cflags += -DUSE_DLMALLOC
|
||||
else
|
||||
libBionicStandardTests_cflags += -DUSE_JEMALLOC
|
||||
|
Loading…
Reference in New Issue
Block a user