summaryrefslogtreecommitdiffstats
path: root/js/src/devtools/automation/macbuildenv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/devtools/automation/macbuildenv.sh')
-rw-r--r--js/src/devtools/automation/macbuildenv.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/devtools/automation/macbuildenv.sh b/js/src/devtools/automation/macbuildenv.sh
new file mode 100644
index 0000000000..df0f57fdba
--- /dev/null
+++ b/js/src/devtools/automation/macbuildenv.sh
@@ -0,0 +1,14 @@
+# We will be sourcing mozconfig files, which end up calling mk_add_options and
+# ac_add_options with various settings. We only need the variable settings they
+# create along the way.
+mk_add_options() {
+ : do nothing
+}
+ac_add_options() {
+ : do nothing
+}
+
+topsrcdir="$SOURCE"
+
+# Setup CC and CXX variables
+. $topsrcdir/build/macosx/mozconfig.common