no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / memory / mozjemalloc_info / moz.build
blob76dd3c5001c30dc2fd1445cf99a4ba1505fc0363
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 Program("mozjemalloc-info")
9 SOURCES += [
10     "/mfbt/Assertions.cpp",
11     "/mfbt/RandomNum.cpp",
12     "/mozglue/misc/StackWalk.cpp",
13     "MozjemallocInfo.cpp",
16 # Link replace-malloc and the default allocator.
17 USE_LIBS += [
18     "memory",
21 # The memory library defines this, so it's needed here too.
22 DEFINES["IMPL_MFBT"] = True
24 if CONFIG["MOZ_NEEDS_LIBATOMIC"]:
25     OS_LIBS += ["atomic"]
27 UNIFIED_SOURCES += [
28     "/mfbt/double-conversion/double-conversion/bignum-dtoa.cc",
29     "/mfbt/double-conversion/double-conversion/bignum.cc",
30     "/mfbt/double-conversion/double-conversion/cached-powers.cc",
31     "/mfbt/double-conversion/double-conversion/double-to-string.cc",
32     "/mfbt/double-conversion/double-conversion/fast-dtoa.cc",
33     "/mfbt/double-conversion/double-conversion/fixed-dtoa.cc",
34     "/mozglue/misc/Printf.cpp",
37 DisableStlWrapping()
39 include("/mozglue/build/replace_malloc.mozbuild")