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/.
|
|
|
|
|
2017-03-08 19:17:11 +03:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "Memory Allocator")
|
|
|
|
|
2015-04-14 02:11:32 +03:00
|
|
|
DIRS += [
|
2017-09-22 01:22:38 +03:00
|
|
|
'build',
|
2015-04-14 02:11:32 +03:00
|
|
|
'fallible',
|
|
|
|
]
|
2013-02-26 00:47:17 +04:00
|
|
|
|
2017-11-15 08:21:15 +03:00
|
|
|
# For now, don't build mozalloc when building with --enable-project=memory
|
|
|
|
if CONFIG['MOZ_BUILD_APP'] != 'memory':
|
|
|
|
DIRS += [
|
|
|
|
'mozalloc',
|
|
|
|
]
|
|
|
|
|
2017-10-05 08:50:01 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT']:
|
2015-04-14 02:11:32 +03:00
|
|
|
DIRS += ['volatile']
|
2013-02-26 00:47:17 +04:00
|
|
|
|
2017-09-22 01:22:38 +03:00
|
|
|
# NB: gtest dir is included in toolkit/toolkit.build due to its dependency
|
|
|
|
# on libxul.
|
2013-02-26 00:47:17 +04:00
|
|
|
|
2017-09-22 01:22:38 +03:00
|
|
|
if CONFIG['MOZ_REPLACE_MALLOC']:
|
|
|
|
DIRS += ['replace']
|