Bug 1073003 - Enable warnings-as-errors on B2G. r=mwu
☠☠ backed out by b39e46b9c7e5 ☠ ☠
authorBotond Ballo <botond@mozilla.com>
Wed, 17 Dec 2014 14:09:54 -0500
changeset 220990 42e5e10c44f57886acca410fefbccaf03a48d637
parent 220989 a0ef52a09f985cb97b0ada48946c6242917556da
child 220991 a28c173dbd61165235872c10457ccf949a1e7b71
push id53246
push userbballo@mozilla.com
push dateTue, 23 Dec 2014 02:21:14 +0000
treeherdermozilla-inbound@42e5e10c44f5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmwu
bugs1073003
milestone37.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 1073003 - Enable warnings-as-errors on B2G. r=mwu
b2g/confvars.sh
--- a/b2g/confvars.sh
+++ b/b2g/confvars.sh
@@ -54,15 +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 ICS builds due to bug 915555
+if test "$PLATFORM_SDK_VERSION" -gt 15; then
+MOZ_ENABLE_WARNINGS_AS_ERRORS=1
+fi
 fi
 
 MOZ_JSDOWNLOADS=1
 
 MOZ_BUNDLED_FONTS=1
 
 export JS_GC_SMALL_CHUNK_SIZE=1