summaryrefslogtreecommitdiffstats
path: root/js/src/devtools/rootAnalysis/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/devtools/rootAnalysis/build.js')
-rwxr-xr-xjs/src/devtools/rootAnalysis/build.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/devtools/rootAnalysis/build.js b/js/src/devtools/rootAnalysis/build.js
new file mode 100755
index 000000000..d934c5663
--- /dev/null
+++ b/js/src/devtools/rootAnalysis/build.js
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+cd $SOURCE
+make -f client.mk configure
+make -C $ANALYZED_OBJDIR export
+./mach build -X nsprpub mfbt memory memory/mozalloc modules/zlib mozglue js/src xpcom/glue js/ductwork/debugger js/ipc js/xpconnect/loader js/xpconnect/wrappers js/xpconnect/src
+status=$?
+echo "[[[[ build.js complete, exit code $status ]]]]"
+exit $status