Bug 1890277: part 2) Add `require-trusted-types-for` directive to CSP parser, guarded...
[gecko.git] / js / moz.build
blob456920eec1f2d3e98a537a249c2d36aab0b20a61
1 component_engine = ("Core", "JavaScript Engine")
2 component_gc = ("Core", "JavaScript: GC")
4 with Files("**"):
5     BUG_COMPONENT = component_engine
7 for header in (
8     "GCAnnotations.h",
9     "GCAPI.h",
10     "HeapAPI.h",
11     "RootingAPI.h",
12     "SliceBudget.h",
13     "SweepingAPI.h",
14     "TraceKind.h",
15     "TracingAPI.h",
16     "WeakMap.h",
17     "WeakMapPtr.h",
18     "GCHashTable.h",
19     "GCPolicyAPI.h",
20     "GCVariant.h",
21     "GCVector.h",
23     with Files("public/" + header):
24         BUG_COMPONENT = component_gc
26 with Files("src/**"):
27     SCHEDULES.inclusive += ["jittest", "jsreftest"]
29 with Files("public/**"):
30     SCHEDULES.inclusive += ["jittest", "jsreftest"]
32 SPHINX_TREES["/js"] = "src/doc"