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

Issue 1098603002: Add the ability to pass long lists of inputs to 'gn refs'. (Closed)

Created:
5 years, 8 months ago by Dirk Pranke
Modified:
5 years, 8 months ago
Reviewers:
brettw
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

Add the ability to pass long lists of inputs to 'gn refs'. This patch adds the ability to pass a "response file"-style argument to gn refs, so that we can pass a long list of inputs in without needing to worry about command line lengths. This will help ensure that we can implement 'analyze' properly for even very large patches without needing to call 'gn refs' multiple times. R=brettw@chromium.org BUG=454413 Committed: https://crrev.com/032c11b0975c897002c35e8b43fce895947c3833 Cr-Commit-Position: refs/heads/master@{#325734}

Patch Set 1 #

Total comments: 5

Patch Set 2 : split response file on newlines #

Total comments: 6

Patch Set 3 : update w/ more review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -2 lines) Patch
M tools/gn/command_refs.cc View 1 2 4 chunks +32 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Dirk Pranke
https://codereview.chromium.org/1098603002/diff/1/tools/gn/command_refs.cc File tools/gn/command_refs.cc (right): https://codereview.chromium.org/1098603002/diff/1/tools/gn/command_refs.cc#newcode413 tools/gn/command_refs.cc:413: base::SplitStringAlongWhitespace(contents, &inputs); I'm not sure if this is the ...
5 years, 8 months ago (2015-04-17 01:27:42 UTC) #1
brettw
https://codereview.chromium.org/1098603002/diff/1/tools/gn/command_refs.cc File tools/gn/command_refs.cc (right): https://codereview.chromium.org/1098603002/diff/1/tools/gn/command_refs.cc#newcode271 tools/gn/command_refs.cc:271: "gn refs <out_dir> (<label_pattern>|<label>|<file>|<response_file>)* " Can you make this ...
5 years, 8 months ago (2015-04-17 02:44:27 UTC) #2
Dirk Pranke
https://codereview.chromium.org/1098603002/diff/1/tools/gn/command_refs.cc File tools/gn/command_refs.cc (right): https://codereview.chromium.org/1098603002/diff/1/tools/gn/command_refs.cc#newcode271 tools/gn/command_refs.cc:271: "gn refs <out_dir> (<label_pattern>|<label>|<file>|<response_file>)* " On 2015/04/17 02:44:27, brettw ...
5 years, 8 months ago (2015-04-17 02:58:12 UTC) #3
Dirk Pranke
please take another look?
5 years, 8 months ago (2015-04-17 21:15:45 UTC) #4
brettw
lgtm https://codereview.chromium.org/1098603002/diff/20001/tools/gn/command_refs.cc File tools/gn/command_refs.cc (right): https://codereview.chromium.org/1098603002/diff/20001/tools/gn/command_refs.cc#newcode400 tools/gn/command_refs.cc:400: for (auto it = args.begin() + 1; it ...
5 years, 8 months ago (2015-04-17 21:23:25 UTC) #5
Dirk Pranke
https://codereview.chromium.org/1098603002/diff/20001/tools/gn/command_refs.cc File tools/gn/command_refs.cc (right): https://codereview.chromium.org/1098603002/diff/20001/tools/gn/command_refs.cc#newcode400 tools/gn/command_refs.cc:400: for (auto it = args.begin() + 1; it != ...
5 years, 8 months ago (2015-04-17 21:35:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1098603002/40001
5 years, 8 months ago (2015-04-17 21:36:37 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-17 23:21:59 UTC) #10
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 23:22:51 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/032c11b0975c897002c35e8b43fce895947c3833
Cr-Commit-Position: refs/heads/master@{#325734}

Powered by Google App Engine
This is Rietveld 408576698