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

Issue 1573023002: Fix jar_toc.py to include public/protected methods (Closed)

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

Description

Fix jar_toc.py to include public/protected methods Otherwise a method-only change does not cause dependent jars to be rebuilt. Committed: https://crrev.com/1b4abd14aae0fcffc65b96a5fa6554290386cc4b Cr-Commit-Position: refs/heads/master@{#368604}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M build/android/gyp/jar_toc.py View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
boliu
covers public+protected members+fields. I probably didn't try all the different signature combinations there is to ...
4 years, 11 months ago (2016-01-11 02:26:29 UTC) #2
jbudorick
On 2016/01/11 02:26:29, boliu wrote: > covers public+protected members+fields. I probably didn't try all the ...
4 years, 11 months ago (2016-01-11 14:42:30 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1573023002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1573023002/1
4 years, 11 months ago (2016-01-11 15:41:34 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-11 16:54:32 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/1b4abd14aae0fcffc65b96a5fa6554290386cc4b Cr-Commit-Position: refs/heads/master@{#368604}
4 years, 11 months ago (2016-01-11 16:55:41 UTC) #8
boliu
4 years, 11 months ago (2016-01-11 17:09:39 UTC) #9
Message was sent while issue was closed.
On 2016/01/11 14:42:30, jbudorick wrote:
> On 2016/01/11 02:26:29, boliu wrote:
> > covers public+protected members+fields. I probably didn't try all the
> different
> > signature combinations there is to try, but at least this is a definite
> > improvement..
> 
> Agreed, it is. Thanks for looking at this. lgtm
> 
> > 
> > Not sure why anything package-visible should be included though..
> 
> I would guess for tests, which is the only situation I can think of where
> classes in the same package would be in two different targets.

package visible methods don't have a prefix to grep for. Best thing I came up
with this:
'^  \w+.*;$'

WDYT?

Another question. Is there a reasonable way to write a test for this that runs
on cq?

Powered by Google App Engine
This is Rietveld 408576698