Debian Codegraph @

js/src/util/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 FINAL_LIBRARY = "js"
8
9 # Includes should be relative to parent path
10 LOCAL_INCLUDES += ["!..", ".."]
11
12 include("../js-config.mozbuild")
13 include("../js-cxxflags.mozbuild")
14
15 UNIFIED_SOURCES += [
16 "AllocationLogging.cpp",
17 "AllocPolicy.cpp",
18 "CompleteFile.cpp",
19 "DumpFunctions.cpp",
20 "Identifier.cpp",
21 "NativeStack.cpp",
22 "Printf.cpp",
23 "StringBuilder.cpp",
24 "StructuredSpewer.cpp",
25 "Text.cpp",
26 "Unicode.cpp",
27 ]
28
29 # DoubleToString.cpp cannot be built in unified mode because we want to suppress
30 # compiler warnings in third-party dtoa.c.
31 # Utility.cpp cannot be built in unified mode because it is needed for
32 # check-vanilla-allocations.
33 SOURCES += [
34 "DoubleToString.cpp",
35 "Utility.cpp",
36 ]
37
38 # Suppress warnings in third-party code.
39 SOURCES["DoubleToString.cpp"].flags += ["-Wno-implicit-fallthrough"]