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

Issue 2790563003: Use more accurate matching in fix_gn_headers.py (Closed)

Created:
3 years, 8 months ago by wychen
Modified:
3 years, 8 months ago
Reviewers:
Nico
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use more accurate matching in fix_gn_headers.py - Exclude "git grep" matches that already have header files. - More accurate "git grep" pattern. - Allow interactive picking which matches to handle. BUG=661774 Review-Url: https://codereview.chromium.org/2790563003 Cr-Commit-Position: refs/heads/master@{#461317} Committed: https://chromium.googlesource.com/chromium/src/+/eb936d60b77cbc82876bcd23e5ad7fc09a7646b1

Patch Set 1 #

Total comments: 6

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -17 lines) Patch
M build/fix_gn_headers.py View 1 2 chunks +46 lines, -17 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
wychen
PTAL https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py File build/fix_gn_headers.py (right): https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py#newcode20 build/fix_gn_headers.py:20: def GitGrep(pattern): Locally I use joblib.Memory to decorate ...
3 years, 8 months ago (2017-03-31 16:42:39 UTC) #3
Nico
lgtm https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py File build/fix_gn_headers.py (right): https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py#newcode28 build/fix_gn_headers.py:28: def ValidMatches(basename, cc, grep_lines): function-level comment summarizing what ...
3 years, 8 months ago (2017-03-31 16:50:57 UTC) #4
wychen
https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py File build/fix_gn_headers.py (right): https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py#newcode63 build/fix_gn_headers.py:63: out, returncode = GitGrep('(/|")' + cc + '"') On ...
3 years, 8 months ago (2017-03-31 16:56:56 UTC) #5
wychen
https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py File build/fix_gn_headers.py (right): https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py#newcode63 build/fix_gn_headers.py:63: out, returncode = GitGrep('(/|")' + cc + '"') On ...
3 years, 8 months ago (2017-03-31 16:58:09 UTC) #6
Nico
On 2017/03/31 16:58:09, wychen wrote: > https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py > File build/fix_gn_headers.py (right): > > https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py#newcode63 > ...
3 years, 8 months ago (2017-03-31 17:19:32 UTC) #7
wychen
On 2017/03/31 17:19:32, Nico (afk until Tue Apr 4) wrote: > On 2017/03/31 16:58:09, wychen ...
3 years, 8 months ago (2017-04-01 05:31:07 UTC) #8
wychen
https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py File build/fix_gn_headers.py (right): https://codereview.chromium.org/2790563003/diff/20001/build/fix_gn_headers.py#newcode28 build/fix_gn_headers.py:28: def ValidMatches(basename, cc, grep_lines): On 2017/03/31 16:50:57, Nico (afk ...
3 years, 8 months ago (2017-04-01 05:32:04 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/2790563003/40001
3 years, 8 months ago (2017-04-01 05:32:33 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-01 05:44:22 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/eb936d60b77cbc82876bcd23e5ad...

Powered by Google App Engine
This is Rietveld 408576698