Bug 1119980 - Disable warnings-as-errors for Lollipop-based B2G builds. r=glandium
authorBotond Ballo <botond@mozilla.com>
Fri, 16 Jan 2015 19:21:54 -0500
changeset 224685 311bc10282b24b899cf2c832faca2ce0ec70ea17
parent 224684 8e736f848d7c2e7aea4e35fb7ad538a4ceff700d
child 224686 930d666b36feb3693c7c0e31f6ed3c9a6b62d58f
push id54316
push userbballo@mozilla.com
push dateTue, 20 Jan 2015 19:00:39 +0000
treeherdermozilla-inbound@311bc10282b2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1119980
milestone38.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1119980 - Disable warnings-as-errors for Lollipop-based B2G builds. r=glandium
b2g/confvars.sh
--- a/b2g/confvars.sh
+++ b/b2g/confvars.sh
@@ -54,16 +54,19 @@ MOZ_TIME_MANAGER=1
 MOZ_PAY=1
 MOZ_TOOLKIT_SEARCH=
 MOZ_PLACES=
 MOZ_B2G=1
 
 if test "$OS_TARGET" = "Android"; then
 MOZ_NUWA_PROCESS=1
 MOZ_B2G_LOADER=1
+# Warnings-as-errors cannot be enabled on Lollipop until bug 1119980 is fixed.
+if test "$PLATFORM_SDK_VERSION" -lt 21; then
 MOZ_ENABLE_WARNINGS_AS_ERRORS=1
 fi
+fi
 
 MOZ_JSDOWNLOADS=1
 
 MOZ_BUNDLED_FONTS=1
 
 export JS_GC_SMALL_CHUNK_SIZE=1