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

Issue 2891363004: Add helpful error messages to check_gn_headers.py (Closed)

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

Description

Add helpful error messages to check_gn_headers.py Before running check_gn_headers.py, it is necessary to build all in order to get the dependency info from the compiler. Directly checking whether rebuilding is needed by running a build dry run takes too long, so some heuristics are used instead. BUG=661774 Review-Url: https://codereview.chromium.org/2891363004 Cr-Commit-Position: refs/heads/master@{#474588} Committed: https://chromium.googlesource.com/chromium/src/+/0ceaba5ef538ce1780578d5e948641bc27f5829b

Patch Set 1 #

Patch Set 2 : don't make build dirty #

Patch Set 3 : gn gen in temp dir #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -14 lines) Patch
M build/check_gn_headers.py View 1 2 6 chunks +38 lines, -12 lines 0 comments Download
M build/check_gn_headers_unittest.py View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
wychen
PTAL
3 years, 7 months ago (2017-05-19 16:04:26 UTC) #2
Dirk Pranke
I'm concerned by your description. I wouldn't want us to do anything that actually was ...
3 years, 7 months ago (2017-05-23 20:59:08 UTC) #3
wychen
On 2017/05/23 20:59:08, Dirk Pranke (slow) wrote: > I'm concerned by your description. I wouldn't ...
3 years, 7 months ago (2017-05-23 21:16:12 UTC) #4
wychen
I revised it by preserving build.ninja. PTAL Running "gn gen" elsewhere is more complicated because ...
3 years, 7 months ago (2017-05-23 22:58:52 UTC) #6
Dirk Pranke
On 2017/05/23 22:58:52, wychen wrote: > I revised it by preserving build.ninja. PTAL I don't ...
3 years, 7 months ago (2017-05-23 23:26:46 UTC) #7
wychen
On 2017/05/23 23:26:46, Dirk Pranke (slow) wrote: > On 2017/05/23 22:58:52, wychen wrote: > > ...
3 years, 7 months ago (2017-05-23 23:53:00 UTC) #8
Dirk Pranke
lgtm
3 years, 7 months ago (2017-05-25 01:43:35 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/2891363004/40001
3 years, 7 months ago (2017-05-25 06:35:23 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/0ceaba5ef538ce1780578d5e948641bc27f5829b
3 years, 7 months ago (2017-05-25 06:46:35 UTC) #14
tfarina
lgtm, thanks.
3 years, 7 months ago (2017-05-25 13:11:49 UTC) #15
Moe
3 years, 7 months ago (2017-05-25 14:51:22 UTC) #16

Powered by Google App Engine
This is Rietveld 408576698