Bug 940218 - Build memory/jemalloc and friends in unified mode. r=glandium

This commit is contained in:
Chris Peterson 2013-11-17 01:16:36 -08:00
parent ee12a391d3
commit 6c5ab32845
3 changed files with 6 additions and 6 deletions

View File

@ -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',
]

View File

@ -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',
]

View File

@ -32,7 +32,7 @@ if CONFIG['WRAP_STL_INCLUDES']:
'msvc_throw_wrapper.cpp',
]
SOURCES += [
UNIFIED_SOURCES += [
'mozalloc.cpp',
'mozalloc_abort.cpp',
'mozalloc_oom.cpp',