Merge mozilla-central to autoland. a=merge CLOSED TREE
[gecko.git] / memory / moz.build
blobe1da146a3c2a7309fba2746351ee397cd96f267e
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 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     ]
24 if CONFIG["MOZ_WIDGET_TOOLKIT"]:
25     DIRS += ["volatile"]
27 # NB: gtest dir is included in toolkit/toolkit.build due to its dependency
28 # on libxul.
30 if CONFIG["MOZ_REPLACE_MALLOC"]:
31     DIRS += ["replace"]