summaryrefslogtreecommitdiffstats
path: root/js/moz.build
blob: 456920eec1f2d3e98a537a249c2d36aab0b20a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
component_engine = ("Core", "JavaScript Engine")
component_gc = ("Core", "JavaScript: GC")

with Files("**"):
    BUG_COMPONENT = component_engine

for header in (
    "GCAnnotations.h",
    "GCAPI.h",
    "HeapAPI.h",
    "RootingAPI.h",
    "SliceBudget.h",
    "SweepingAPI.h",
    "TraceKind.h",
    "TracingAPI.h",
    "WeakMap.h",
    "WeakMapPtr.h",
    "GCHashTable.h",
    "GCPolicyAPI.h",
    "GCVariant.h",
    "GCVector.h",
):
    with Files("public/" + header):
        BUG_COMPONENT = component_gc

with Files("src/**"):
    SCHEDULES.inclusive += ["jittest", "jsreftest"]

with Files("public/**"):
    SCHEDULES.inclusive += ["jittest", "jsreftest"]

SPHINX_TREES["/js"] = "src/doc"