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

Issue 1847823003: 🍫 Enable support-annotations lint checks (Closed)

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

Description

Enable support-annotations and android framework lint checks annotations such as: @IntDef, @MainThread, etc warnings such as: HandlerLeak, MissingSuperCall, ValidFragment Problem was that we were not passing lint the classpath. This change is GN-only since GYP lint warnings fail the build. Will follow-up with a GYP change once warnings are fixed. BUG=599052 Committed: https://crrev.com/eb3dd1ad7c04c091faf285aa2f78da0b7cec7a76 Cr-Commit-Position: refs/heads/master@{#385373}

Patch Set 1 #

Total comments: 6

Patch Set 2 : redo ijars #

Total comments: 4

Patch Set 3 : review nit #

Patch Set 4 : add --classpath for gyp #

Patch Set 5 : add android.jar, revert .gypi change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -25 lines) Patch
M build/android/gyp/lint.py View 1 2 3 4 7 chunks +18 lines, -4 lines 0 comments Download
M build/android/lint/suppressions.xml View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 2 3 4 5 chunks +22 lines, -21 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
agrieve
On 2016/03/31 19:22:24, agrieve wrote: > Description was changed from > > ========== > Enable ...
4 years, 8 months ago (2016-03-31 19:22:29 UTC) #5
jbudorick
https://codereview.chromium.org/1847823003/diff/1/build/android/gyp/lint.py File build/android/gyp/lint.py (right): https://codereview.chromium.org/1847823003/diff/1/build/android/gyp/lint.py#newcode83 build/android/gyp/lint.py:83: # TODO(agrieve): Figure out how IDEs make do incremental ...
4 years, 8 months ago (2016-03-31 20:05:26 UTC) #6
agrieve
https://codereview.chromium.org/1847823003/diff/1/build/android/gyp/lint.py File build/android/gyp/lint.py (right): https://codereview.chromium.org/1847823003/diff/1/build/android/gyp/lint.py#newcode83 build/android/gyp/lint.py:83: # TODO(agrieve): Figure out how IDEs make do incremental ...
4 years, 8 months ago (2016-04-01 00:45:07 UTC) #7
agrieve
On 2016/04/01 00:45:07, agrieve wrote: > https://codereview.chromium.org/1847823003/diff/1/build/android/gyp/lint.py > File build/android/gyp/lint.py (right): > > https://codereview.chromium.org/1847823003/diff/1/build/android/gyp/lint.py#newcode83 > ...
4 years, 8 months ago (2016-04-05 12:57:39 UTC) #8
jbudorick
https://codereview.chromium.org/1847823003/diff/20001/build/config/android/internal_rules.gni File build/config/android/internal_rules.gni (right): https://codereview.chromium.org/1847823003/diff/20001/build/config/android/internal_rules.gni#newcode83 build/config/android/internal_rules.gni:83: _rebased_build_config = rebase_path(invoker.build_config, root_build_dir) nit: move this down by ...
4 years, 8 months ago (2016-04-05 13:11:21 UTC) #9
agrieve
https://codereview.chromium.org/1847823003/diff/20001/build/config/android/internal_rules.gni File build/config/android/internal_rules.gni (right): https://codereview.chromium.org/1847823003/diff/20001/build/config/android/internal_rules.gni#newcode83 build/config/android/internal_rules.gni:83: _rebased_build_config = rebase_path(invoker.build_config, root_build_dir) On 2016/04/05 13:11:20, jbudorick wrote: ...
4 years, 8 months ago (2016-04-05 13:40:02 UTC) #10
jbudorick
On 2016/04/05 13:40:02, agrieve wrote: > https://codereview.chromium.org/1847823003/diff/20001/build/config/android/internal_rules.gni > File build/config/android/internal_rules.gni (right): > > https://codereview.chromium.org/1847823003/diff/20001/build/config/android/internal_rules.gni#newcode83 > ...
4 years, 8 months ago (2016-04-05 13:41:13 UTC) #11
agrieve
4 years, 8 months ago (2016-04-05 14:09:41 UTC) #12
agrieve
er, done that is.
4 years, 8 months ago (2016-04-05 14:09:51 UTC) #13
jbudorick
lgtm
4 years, 8 months ago (2016-04-05 14:19:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847823003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847823003/60001
4 years, 8 months ago (2016-04-05 18:16:08 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/45508)
4 years, 8 months ago (2016-04-05 18:36:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847823003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847823003/80001
4 years, 8 months ago (2016-04-06 02:02:28 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-06 03:13:08 UTC) #24
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/eb3dd1ad7c04c091faf285aa2f78da0b7cec7a76 Cr-Commit-Position: refs/heads/master@{#385373}
4 years, 8 months ago (2016-04-06 03:14:33 UTC) #26
loyso (OOO)
Can this issue cause errors on Android GN build? ChromeSyncShellTest https://build.chromium.org/p/chromium.linux/builders/Android%20GN/builds/33660
4 years, 8 months ago (2016-04-06 06:49:47 UTC) #27
cblume
On 2016/04/06 06:49:47, loyso wrote: > Can this issue cause errors on Android GN build? ...
4 years, 8 months ago (2016-04-06 06:52:16 UTC) #28
agrieve
On 2016/04/06 06:52:16, cblume wrote: > On 2016/04/06 06:49:47, loyso wrote: > > Can this ...
4 years, 8 months ago (2016-04-06 12:41:03 UTC) #29
jbudorick
4 years, 8 months ago (2016-04-06 13:05:43 UTC) #30
Message was sent while issue was closed.
On 2016/04/06 12:41:03, agrieve wrote:
> On 2016/04/06 06:52:16, cblume wrote:
> > On 2016/04/06 06:49:47, loyso wrote:
> > > Can this issue cause errors on Android GN build? ChromeSyncShellTest
> > >
> https://build.chromium.org/p/chromium.linux/builders/Android%20GN/builds/33660
> > 
> > To add to this ^^
> > It is only on the Android GN bot. Since this is a GN-only change (and I'm
not
> > sure if the other commits in this range are suspect) it seems like a
potential
> > candidate.
> > 
> > The error seems to be a missing *.isolate file.
> 
> My best guess is that this was caused by a change to the recipes to use
wrapper
> scripts: https://codereview.chromium.org/1855663002/
> 
> Might be that the BUILD.gn for chrome_sync_shell has the wrong .isolate path.
> 
> I'll look at this in about an hour if no one else gets a chance first.

yeah, the GN side has the wrong isolate file path here:
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/android/BUI...

Powered by Google App Engine
This is Rietveld 408576698