Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 2240573004: Fail builds when lint warnings are generated. (Closed)

Created:
4 years, 4 months ago by estevenson
Modified:
4 years, 4 months ago
Reviewers:
agrieve
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fail builds when lint warnings are generated. Suppress all existing lint warnings so that builds will fail when new warnings are generated. New lint warnings that are generated in files that are ignored in suppressions.xml will not be caught. However, now we can remove lint warnings on a file by file basis instead of having to fix all lint warnings before making lint break builds. BUG=607761 Committed: https://crrev.com/49f5130f956057407d2219e37a978437bcdcf7fe Committed: https://crrev.com/9a52a7e12ad50f6f85e88c6a5636ce6e0a405dce Cr-Original-Commit-Position: refs/heads/master@{#411692} Cr-Commit-Position: refs/heads/master@{#411748}

Patch Set 1 #

Patch Set 2 : Add suppressions for cast_shell_apk and change all suppressions to use regex except for paths that … #

Patch Set 3 : rebase + suppress new lint warnings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -61 lines) Patch
M build/android/gyp/lint.py View 1 chunk +4 lines, -1 line 0 comments Download
M build/android/lint/suppressions.xml View 1 2 1 chunk +193 lines, -60 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
estevenson
ptal Andrew. This CL allows you to build all targets with no lint warnings generated, ...
4 years, 4 months ago (2016-08-11 21:32:37 UTC) #1
estevenson
4 years, 4 months ago (2016-08-11 21:35:09 UTC) #3
agrieve
lgtm
4 years, 4 months ago (2016-08-12 01:01:26 UTC) #6
agrieve
On 2016/08/12 01:01:26, agrieve wrote: > lgtm Note: you can repro the chromecast error locally ...
4 years, 4 months ago (2016-08-12 01:35:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2240573004/20001
4 years, 4 months ago (2016-08-12 17:32:57 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-12 17:36:51 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/49f5130f956057407d2219e37a978437bcdcf7fe Cr-Commit-Position: refs/heads/master@{#411692}
4 years, 4 months ago (2016-08-12 17:39:30 UTC) #19
xidachen
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2245663003/ by xidachen@chromium.org. ...
4 years, 4 months ago (2016-08-12 18:03:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2240573004/40001
4 years, 4 months ago (2016-08-12 18:52:28 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-12 20:03:30 UTC) #26
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/9a52a7e12ad50f6f85e88c6a5636ce6e0a405dce Cr-Commit-Position: refs/heads/master@{#411748}
4 years, 4 months ago (2016-08-12 20:05:09 UTC) #28
caseq
This broke build again: https://build.chromium.org/p/chromium.linux/builders/Android%20Arm64%20Builder%20%28dbg%29/builds/36841/steps/compile/logs/stdio
4 years, 4 months ago (2016-08-12 21:02:44 UTC) #29
caseq
4 years, 4 months ago (2016-08-12 21:03:39 UTC) #30
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2236313004/ by caseq@chromium.org.

The reason for reverting is: Broke Android Arm64 builder..

Powered by Google App Engine
This is Rietveld 408576698