Debian Codegraph @

js/src/gc/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 # Generate GC statistics phase data.
16 GeneratedFile(
17 "StatsPhasesGenerated.h",
18 script="GenerateStatsPhases.py",
19 entry_point="generateHeader",
20 )
21 GeneratedFile(
22 "StatsPhasesGenerated.inc",
23 script="GenerateStatsPhases.py",
24 entry_point="generateCpp",
25 )
26
27 UNIFIED_SOURCES += [
28 "Allocator.cpp",
29 "AtomMarking.cpp",
30 "Barrier.cpp",
31 "BufferAllocator.cpp",
32 "Compacting.cpp",
33 "FinalizationObservers.cpp",
34 "GC.cpp",
35 "GCAPI.cpp",
36 "GCParallelTask.cpp",
37 "Heap.cpp",
38 "MallocedBlockCache.cpp",
39 "Marking.cpp",
40 "Nursery.cpp",
41 "ParallelMarking.cpp",
42 "Pretenuring.cpp",
43 "PublicIterators.cpp",
44 "RootMarking.cpp",
45 "Scheduling.cpp",
46 "Statistics.cpp",
47 "Sweeping.cpp",
48 "Tenuring.cpp",
49 "Tracer.cpp",
50 "Verifier.cpp",
51 "WeakMap.cpp",
52 "WeakMapPtr.cpp",
53 "Zone.cpp",
54 ]
55
56 SOURCES += [
57 # Memory.cpp cannot be built in unified mode because it includes
58 # platform specific headers which conflict with our code on MinGW.
59 "Memory.cpp",
60 # StoreBuffer.cpp cannot be built in unified mode because its template
61 # instantiations may or may not be needed depending on what it gets
62 # bundled with.
63 "StoreBuffer.cpp",
64 ]