Keep build files in sync (Port bug 1382525: Move LLVM_CONFIG out of mozconfig.common). rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Sat, 22 Jul 2017 08:57:52 +0200
changeset 53157 3c92ef2830aca2b9812be298706fdf2297963c0a
parent 53114 db4917476acb50edbc625638112f8e22c65e025d
child 53158 e381351d8368e872a47e601aa41e208d5ea8acea
child 53160 ce177a27be84000575d3764d56c26fca91ac01ae
push id4721
push usermozilla@jorgk.com
push dateSat, 22 Jul 2017 09:26:31 +0000
treeherdertry-comm-central@3a3302f65e53 [default view] [failures only]
reviewersbustage-fix
bugs1382525
Keep build files in sync (Port bug 1382525: Move LLVM_CONFIG out of mozconfig.common). rs=bustage-fix
build/macosx/mozconfig.common
build/mozconfig.common
build/mozconfig.stylo
--- a/build/macosx/mozconfig.common
+++ b/build/macosx/mozconfig.common
@@ -1,9 +1,7 @@
 if test `uname -s` = Linux; then
   . $topsrcdir/build/macosx/cross-mozconfig.common
 else
   . $topsrcdir/build/macosx/local-mozconfig.common
 fi
 
-# Enable stylo in automation builds.
-# Can be removed after bug 1375774 is resolved.
-ac_add_options --enable-stylo=build
+. $topsrcdir/build/mozconfig.stylo
--- a/build/mozconfig.common
+++ b/build/mozconfig.common
@@ -9,19 +9,16 @@
 # architectures, though note that if you want to override options set in
 # another mozconfig file, you'll need to use mozconfig.common.override instead
 # of this file.
 
 mk_add_options AUTOCLOBBER=1
 
 ac_add_options --enable-crashreporter
 
-# Tell the build system where to find llvm-config for builds on automation.
-export LLVM_CONFIG="${TOOLTOOL_DIR:-$topsrcdir}/clang/bin/llvm-config"
-
 # Enable checking that add-ons are signed by the trusted root
 MOZ_ADDON_SIGNING=${MOZ_ADDON_SIGNING-1}
 # Disable enforcing that add-ons are signed by the trusted root
 MOZ_REQUIRE_SIGNING=${MOZ_REQUIRE_SIGNING-0}
 
 ac_add_options --enable-js-shell
 
 . "$topsrcdir/build/mozconfig.automation"
new file mode 100644
--- /dev/null
+++ b/build/mozconfig.stylo
@@ -0,0 +1,6 @@
+# Tell the build system where to find llvm-config for builds on automation.
+export LLVM_CONFIG="${TOOLTOOL_DIR:-$topsrcdir}/clang/bin/llvm-config"
+
+# TODO remove once configure defaults to stylo once stylo enabled
+# on all platforms.
+ac_add_options --enable-stylo=build