2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:17 +04: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-14 02:11:32 +03:00
|
|
|
DIRS += [
|
|
|
|
'mozalloc',
|
|
|
|
'fallible',
|
|
|
|
]
|
2013-02-26 00:47:17 +04:00
|
|
|
|
2015-04-14 02:11:32 +03:00
|
|
|
if not CONFIG['JS_STANDALONE']:
|
|
|
|
DIRS += ['volatile']
|
2013-02-26 00:47:17 +04:00
|
|
|
|
2015-04-14 02:11:32 +03:00
|
|
|
if CONFIG['MOZ_MEMORY']:
|
2016-11-09 21:24:22 +03:00
|
|
|
# NB: gtest dir is included in toolkit/toolkit.build due to its dependency
|
|
|
|
# on libxul.
|
2015-04-14 02:11:32 +03:00
|
|
|
DIRS += [
|
|
|
|
'build',
|
|
|
|
'mozjemalloc',
|
|
|
|
]
|
2013-02-26 00:47:17 +04:00
|
|
|
|
2015-09-04 08:45:53 +03:00
|
|
|
if CONFIG['MOZ_JEMALLOC4'] or CONFIG['MOZ_REPLACE_MALLOC']:
|
2016-02-01 18:49:34 +03:00
|
|
|
if not CONFIG['MOZ_SYSTEM_JEMALLOC']:
|
2015-04-14 02:11:32 +03:00
|
|
|
DIRS += ['jemalloc']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_REPLACE_MALLOC']:
|
|
|
|
DIRS += ['replace']
|