Bug 1356926 - Enable stylo on static analysis builds. r?gps draft
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 02 Aug 2017 19:58:59 +0900
changeset 620115 73b761c59719b851715f38653bbfe666ef8d22a6
parent 620114 8a63fda2d436669f6e4b65f78542c93894c8cfb1
child 620116 f6f63a1e1fd051eb0e33aba7cc4233c373226322
push id71919
push userbmo:mh+mozilla@glandium.org
push dateThu, 03 Aug 2017 03:19:56 +0000
reviewersgps
bugs1356926
milestone57.0a1
Bug 1356926 - Enable stylo on static analysis builds. r?gps
browser/config/mozconfigs/linux64/debug-static-analysis-clang
browser/config/mozconfigs/linux64/opt-static-analysis-clang
--- a/browser/config/mozconfigs/linux64/debug-static-analysis-clang
+++ b/browser/config/mozconfigs/linux64/debug-static-analysis-clang
@@ -2,19 +2,17 @@ MOZ_AUTOMATION_BUILD_SYMBOLS=0
 MOZ_AUTOMATION_PACKAGE_TESTS=0
 MOZ_AUTOMATION_L10N_CHECK=0
 
 . "$topsrcdir/build/mozconfig.common"
 
 ac_add_options --enable-debug
 ac_add_options --enable-dmd
 
-# Disable stylo until bug 1356926 is fixed and we have >= llvm39 on centos.
-ac_add_options --disable-stylo
-unset LLVM_CONFIG
+. $topsrcdir/build/mozconfig.stylo
 
 # Use Clang as specified in manifest
 export CC="$topsrcdir/clang/bin/clang"
 export CXX="$topsrcdir/clang/bin/clang++"
 
 # Add the static checker
 ac_add_options --enable-clang-plugin
 
--- a/browser/config/mozconfigs/linux64/opt-static-analysis-clang
+++ b/browser/config/mozconfigs/linux64/opt-static-analysis-clang
@@ -1,19 +1,17 @@
 MOZ_AUTOMATION_BUILD_SYMBOLS=0
 MOZ_AUTOMATION_PACKAGE_TESTS=0
 MOZ_AUTOMATION_L10N_CHECK=0
 
 . "$topsrcdir/build/mozconfig.common"
 
 ac_add_options --enable-dmd
 
-# Disable stylo until bug 1356926 is fixed and we have >= llvm39 on centos.
-ac_add_options --disable-stylo
-unset LLVM_CONFIG
+. $topsrcdir/build/mozconfig.stylo
 
 # Use Clang as specified in manifest
 CC="$topsrcdir/clang/bin/clang"
 CXX="$topsrcdir/clang/bin/clang++"
 
 # Add the static checker
 ac_add_options --enable-clang-plugin