summaryrefslogtreecommitdiffstats
path: root/js/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'js/moz.build')
-rw-r--r--js/moz.build32
1 files changed, 32 insertions, 0 deletions
diff --git a/js/moz.build b/js/moz.build
new file mode 100644
index 0000000000..456920eec1
--- /dev/null
+++ b/js/moz.build
@@ -0,0 +1,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"