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

Issue 1373903002: GN: Schedule config loads for sub-configs. (Closed)

Created:
5 years, 2 months ago by brettw
Modified:
5 years, 2 months ago
Reviewers:
Bons
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Schedule config loads for sub-configs. Previously the Builder did not schedule file loads for configs of configs. This meant that if a BUILD file contained only configs referenced by other configs (rather than configs referenced by targets, or targets referenced by other targets), it would never be loaded. The result will be a failed run with an undefined object. BUG=536844 Committed: https://crrev.com/1b1e7e8c8f3105b6c9811ff28947961eb96153c3 Cr-Commit-Position: refs/heads/master@{#351089}

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -2 lines) Patch
M tools/gn/builder.cc View 1 chunk +11 lines, -0 lines 2 comments Download
M tools/gn/builder_unittest.cc View 3 chunks +33 lines, -2 lines 3 comments Download

Messages

Total messages: 15 (4 generated)
brettw
5 years, 2 months ago (2015-09-28 16:36:08 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1373903002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1373903002/1
5 years, 2 months ago (2015-09-28 16:37:26 UTC) #4
Bons
lgtm https://codereview.chromium.org/1373903002/diff/1/tools/gn/builder.cc File tools/gn/builder.cc (right): https://codereview.chromium.org/1373903002/diff/1/tools/gn/builder.cc#newcode245 tools/gn/builder.cc:245: // item types like targets, the "should generate" ...
5 years, 2 months ago (2015-09-28 16:39:45 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-28 16:52:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1373903002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1373903002/1
5 years, 2 months ago (2015-09-28 17:00:42 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 2 months ago (2015-09-28 17:06:25 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/1b1e7e8c8f3105b6c9811ff28947961eb96153c3 Cr-Commit-Position: refs/heads/master@{#351089}
5 years, 2 months ago (2015-09-28 17:07:02 UTC) #11
Bons
https://codereview.chromium.org/1373903002/diff/1/tools/gn/builder.cc File tools/gn/builder.cc (right): https://codereview.chromium.org/1373903002/diff/1/tools/gn/builder.cc#newcode245 tools/gn/builder.cc:245: // item types like targets, the "should generate" flag ...
5 years, 2 months ago (2015-09-28 17:11:43 UTC) #12
brettw
Sorry, will fix
5 years, 2 months ago (2015-09-28 19:47:46 UTC) #13
brettw
https://codereview.chromium.org/1373903002/diff/1/tools/gn/builder_unittest.cc File tools/gn/builder_unittest.cc (right): https://codereview.chromium.org/1373903002/diff/1/tools/gn/builder_unittest.cc#newcode46 tools/gn/builder_unittest.cc:46: } On 2015/09/28 16:39:45, Bons wrote: > newline after ...
5 years, 2 months ago (2015-09-28 19:49:20 UTC) #14
Bons
5 years, 2 months ago (2015-09-28 20:03:53 UTC) #15
Message was sent while issue was closed.
On 2015/09/28 19:49:20, brettw wrote:
> https://codereview.chromium.org/1373903002/diff/1/tools/gn/builder_unittest.cc
> File tools/gn/builder_unittest.cc (right):
> 
>
https://codereview.chromium.org/1373903002/diff/1/tools/gn/builder_unittest.c...
> tools/gn/builder_unittest.cc:46: }
> On 2015/09/28 16:39:45, Bons wrote:
> > newline after this?
> 
> I wanted to group these together since the comment above really applies to
both.
Got it. Sounds good.

Powered by Google App Engine
This is Rietveld 408576698