Debian Codegraph @

memory/moz.build

raw
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/.
6
7 with Files("**"):
8 BUG_COMPONENT = ("Core", "Memory Allocator")
9
10 DIRS += [
11 "build",
12 ]
13
14 if CONFIG["MOZ_BUILD_APP"] == "memory":
15 DIRS += [
16 "mozjemalloc_info",
17 ]
18 else:
19 # For now, don't build mozalloc when building with --enable-project=memory
20 DIRS += [
21 "mozalloc",
22 ]
23
24 if CONFIG["MOZ_WIDGET_TOOLKIT"]:
25 DIRS += ["volatile"]
26
27 # NB: gtest dir is included in toolkit/toolkit.build due to its dependency
28 # on libxul.
29
30 if CONFIG["MOZ_REPLACE_MALLOC"]:
31 DIRS += ["replace"]