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")
10 "/mfbt/Assertions.cpp",
11 "/mfbt/RandomNum.cpp",
12 "/mfbt/TaggedAnonymousMemory.cpp",
13 "/mozglue/misc/StackWalk.cpp",
14 "MozjemallocInfo.cpp",
17 # Link replace-malloc and the default allocator.
22 # The memory library defines this, so it's needed here too.
23 DEFINES["IMPL_MFBT"] = True
25 OS_LIBS += CONFIG["LIBATOMIC_LIBS"]
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",
39 include("/mozglue/build/replace_malloc.mozbuild")