Reland "Android: Updates to warnings-as-errors when building"
This reverts commit 57deecbb. Reason for reland: Suppressed cast lint warning Reverted in: 339e6581. > Original change's description: > > Android: Updates to warnings-as-errors when building > > > > * Delete java_warnings_as_errors > > * Use treat_warnings_as_errors for android rules > > * warnings-as-errors is now default true for debug builds > > * Add --warnings-as-errors to proguard.py, dex.py, bytecode_processor.py > > so that these warnings can all be turned off locally. > > * Made build_utils.CheckOutput fail by default when stderr or stdout is > > printed. This should prevent build logs from creaping in. > > * Added "you should use treat_warnings_as_errors=false" into error > > message when builds fail due to warnings. TBR=wnwen@chromium.org,dpranke@google.com,agrieve@chromium.org,andruud@chromium.org Bug: 1029357 Change-Id: I56c1349c6e823737aa8a59a8e961e5a518667ba0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2308868 Commit-Queue: Andrew Grieve <agrieve@chromium.org> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#790410}
Showing
Please register or sign in to comment