mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
Remove support for making jemalloc4 the default memory allocator.
This commit is contained in:
parent
c76d18a40d
commit
797ca533f9
12 changed files with 32 additions and 439 deletions
|
|
@ -24,16 +24,6 @@ SOURCES += [
|
|||
'mozmemory_wrap.c',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_JEMALLOC4']:
|
||||
SOURCES += [
|
||||
'mozjemalloc_compat.c',
|
||||
]
|
||||
LOCAL_INCLUDES += ['!../jemalloc/src/include']
|
||||
if CONFIG['_MSC_VER']:
|
||||
LOCAL_INCLUDES += ['/memory/jemalloc/src/include/msvc_compat']
|
||||
if not CONFIG['HAVE_INTTYPES_H']:
|
||||
LOCAL_INCLUDES += ['/memory/jemalloc/src/include/msvc_compat/C99']
|
||||
|
||||
if CONFIG['MOZ_REPLACE_MALLOC']:
|
||||
SOURCES += [
|
||||
'replace_malloc.c',
|
||||
|
|
@ -49,6 +39,3 @@ if CONFIG['MOZ_GLUE_IN_PROGRAM']:
|
|||
if CONFIG['MOZ_MEMORY'] and CONFIG['OS_TARGET'] in ('WINNT', 'Darwin', 'Android'):
|
||||
FINAL_LIBRARY = 'mozglue'
|
||||
|
||||
if CONFIG['MOZ_REPLACE_MALLOC'] and CONFIG['OS_TARGET'] == 'Darwin':
|
||||
# The zone allocator for OSX needs some jemalloc internal functions
|
||||
LOCAL_INCLUDES += ['/memory/jemalloc/src/include']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue