Bug 1634252 - Add test case r=kmag
[gecko.git] / memory / moz.build
blob18b2999e3ebdcbe9a285b0ef90d720d2be7ca476
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "Memory Allocator")
10 DIRS += [
11     'build',
14 # For now, don't build mozalloc when building with --enable-project=memory
15 if CONFIG['MOZ_BUILD_APP'] != 'memory':
16     DIRS += [
17         'mozalloc',
18     ]
20 if CONFIG['MOZ_WIDGET_TOOLKIT']:
21     DIRS += ['volatile']
23 # NB: gtest dir is included in toolkit/toolkit.build due to its dependency
24 # on libxul.
26 if CONFIG['MOZ_REPLACE_MALLOC']:
27     DIRS += ['replace']