Bug 1314678 - Don't perform clang plugin checks in artifact builds. r=mshal draft
authorChris Manchester <cmanchester@mozilla.com>
Tue, 07 Mar 2017 10:21:33 -0800
changeset 494734 3944a7c98a6570bf0f30dc01a9d895cc07cc0ff1
parent 494733 d01254a2140ad6fc90321c8a5d1f4c439e93f7b1
child 494735 6d9ea01ec8bbe37d22c07146a1285f128f5217cd
push id48109
push userbmo:cmanchester@mozilla.com
push dateTue, 07 Mar 2017 18:21:57 +0000
reviewersmshal
bugs1314678
milestone55.0a1
Bug 1314678 - Don't perform clang plugin checks in artifact builds. r=mshal Until we have the ability to properly make these flags conditional in moz.configure, do not perform these checks. MozReview-Commit-ID: CexvgiadIw0
js/src/old-configure.in
old-configure.in
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -1730,17 +1730,19 @@ MOZ_ARG_ENABLE_BOOL(oom-breakpoint,
 if test -n "$JS_OOM_BREAKPOINT"; then
     AC_DEFINE(JS_OOM_BREAKPOINT)
 fi
 
 dnl ========================================================
 dnl = Enable using the clang plugin to build
 dnl ========================================================
 
+if test -n "$COMPILE_ENVIRONMENT"; then
 MOZ_CONFIG_CLANG_PLUGIN
+fi # COMPILE_ENVIRONMENT
 
 dnl ========================================================
 dnl = Enable static checking using sixgill
 dnl ========================================================
 
 MOZ_ARG_WITH_STRING(sixgill,
 [  --with-sixgill=path/to/sixgill
                           Enable static checking of code using sixgill],
--- a/old-configure.in
+++ b/old-configure.in
@@ -4275,17 +4275,19 @@ fi
 
 AC_SUBST_LIST(MOZ_GLUE_WRAP_LDFLAGS)
 export MOZ_GLUE_WRAP_LDFLAGS
 
 dnl ========================================================
 dnl = Enable using the clang plugin to build
 dnl ========================================================
 
+if test -n "$COMPILE_ENVIRONMENT"; then
 MOZ_CONFIG_CLANG_PLUGIN
+fi # COMPILE_ENVIRONMENT
 
 dnl ========================================================
 dnl = Enable stripping of libs & executables
 dnl ========================================================
 MOZ_ARG_ENABLE_BOOL(strip,
 [  --enable-strip          Enable stripping of libs & executables ],
     ENABLE_STRIP=1,
     ENABLE_STRIP= )