mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 940218 - Build memory/jemalloc and friends in unified mode. r=glandium
This commit is contained in:
parent
ee12a391d3
commit
6c5ab32845
@ -14,18 +14,18 @@ if CONFIG['MOZ_REPLACE_MALLOC']:
|
||||
'malloc_decls.h',
|
||||
'replace_malloc.h',
|
||||
]
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'jemalloc_config.c',
|
||||
'mozmemory_wrap.c',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_JEMALLOC3']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'mozjemalloc_compat.c',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_REPLACE_MALLOC']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'replace_malloc.c',
|
||||
]
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'src/src/arena.c',
|
||||
'src/src/atomic.c',
|
||||
'src/src/base.c',
|
||||
@ -32,7 +32,7 @@ SOURCES += [
|
||||
# Only OSX needs the zone allocation implementation,
|
||||
# but only if replace-malloc is not enabled.
|
||||
if CONFIG['OS_TARGET'] == 'Darwin' and not CONFIG['MOZ_REPLACE_MALLOC']:
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'src/src/zone.c',
|
||||
]
|
||||
|
||||
|
@ -32,7 +32,7 @@ if CONFIG['WRAP_STL_INCLUDES']:
|
||||
'msvc_throw_wrapper.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'mozalloc.cpp',
|
||||
'mozalloc_abort.cpp',
|
||||
'mozalloc_oom.cpp',
|
||||
|
Loading…
Reference in New Issue
Block a user