2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:17 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# 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/.
|
|
|
|
|
2015-04-13 23:11:32 +00:00
|
|
|
DIRS += [
|
|
|
|
'mozalloc',
|
|
|
|
'fallible',
|
|
|
|
]
|
2013-02-25 20:47:17 +00:00
|
|
|
|
2015-04-13 23:11:32 +00:00
|
|
|
if not CONFIG['JS_STANDALONE']:
|
|
|
|
DIRS += ['volatile']
|
2013-02-25 20:47:17 +00:00
|
|
|
|
2015-04-13 23:11:32 +00:00
|
|
|
if CONFIG['MOZ_MEMORY']:
|
|
|
|
DIRS += [
|
|
|
|
'build',
|
|
|
|
'mozjemalloc',
|
|
|
|
]
|
2013-02-25 20:47:17 +00:00
|
|
|
|
2015-09-04 05:45:53 +00:00
|
|
|
if CONFIG['MOZ_JEMALLOC4'] or CONFIG['MOZ_REPLACE_MALLOC']:
|
2015-04-13 23:11:32 +00:00
|
|
|
if not CONFIG['MOZ_NATIVE_JEMALLOC']:
|
|
|
|
DIRS += ['jemalloc']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_REPLACE_MALLOC']:
|
|
|
|
DIRS += ['replace']
|