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

Issue 1934003002: Enhance GN's "desc" command to support configs. (Closed)

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

Description

Enhance GN's "desc" command to support configs. Reworks the flow to duplicate things a bit less in the "overview output" and "one thing" output mode. Supports wildcards in the output like most other introspection commands. Consolidates help and switch value for "all-toolchains" Removed colons from desc headings. These were inconsistent and I've been moving away from these in the help and other places where we use indenting for hierarchy anyway. Header printing is also more consistent. Previously if you asked for one variable, sometimes you would get a header and sometimes you wouldn't, depending on the type. Now it will consistently elide headers. Committed: https://crrev.com/eda2744e306d07f7bee6a25b3961a3bcabb9de17 Cr-Commit-Position: refs/heads/master@{#392700}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Comment fix, added reference.md #

Total comments: 7

Patch Set 4 : review #

Total comments: 1

Patch Set 5 : typos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+497 lines, -314 lines) Patch
M tools/gn/command_desc.cc View 1 2 3 4 23 chunks +383 lines, -220 lines 0 comments Download
M tools/gn/command_ls.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M tools/gn/command_refs.cc View 3 chunks +3 lines, -11 lines 0 comments Download
M tools/gn/config_values.h View 2 chunks +8 lines, -6 lines 0 comments Download
M tools/gn/docs/reference.md View 1 2 6 chunks +84 lines, -71 lines 0 comments Download
M tools/gn/switches.h View 1 chunk +14 lines, -0 lines 0 comments Download
M tools/gn/switches.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (16 generated)
brettw
4 years, 7 months ago (2016-04-29 22:41:08 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934003002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934003002/20001
4 years, 7 months ago (2016-04-29 22:41:42 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-29 23:30:26 UTC) #9
Dirk Pranke
I've started looking at this some, but need to look at it more. update reference.md ...
4 years, 7 months ago (2016-04-30 00:27:54 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934003002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934003002/40001
4 years, 7 months ago (2016-05-02 16:31:34 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-02 17:11:15 UTC) #14
brettw
Ping in case this fell off your list.
4 years, 7 months ago (2016-05-03 19:12:13 UTC) #15
brettw
4 years, 7 months ago (2016-05-10 16:41:18 UTC) #17
brettw
-> scottmg
4 years, 7 months ago (2016-05-10 16:41:27 UTC) #18
scottmg
lgtm https://codereview.chromium.org/1934003002/diff/40001/tools/gn/command_desc.cc File tools/gn/command_desc.cc (right): https://codereview.chromium.org/1934003002/diff/40001/tools/gn/command_desc.cc#newcode401 tools/gn/command_desc.cc:401: template<> struct DescValueWriter<SourceDir> { \n before https://codereview.chromium.org/1934003002/diff/40001/tools/gn/command_desc.cc#newcode406 tools/gn/command_desc.cc:406: ...
4 years, 7 months ago (2016-05-10 17:40:55 UTC) #19
brettw
review
4 years, 7 months ago (2016-05-10 18:24:52 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934003002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934003002/60001
4 years, 7 months ago (2016-05-10 18:25:17 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/210011) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-10 18:34:14 UTC) #25
scottmg
https://codereview.chromium.org/1934003002/diff/60001/tools/gn/command_desc.cc File tools/gn/command_desc.cc (right): https://codereview.chromium.org/1934003002/diff/60001/tools/gn/command_desc.cc#newcode605 tools/gn/command_desc.cc:605: if (what/empty() || what == variables::kArgs) { I suspect ...
4 years, 7 months ago (2016-05-10 18:59:39 UTC) #26
brettw
typos
4 years, 7 months ago (2016-05-10 19:09:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934003002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934003002/80001
4 years, 7 months ago (2016-05-10 19:10:27 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-10 20:32:10 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 20:33:07 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/eda2744e306d07f7bee6a25b3961a3bcabb9de17
Cr-Commit-Position: refs/heads/master@{#392700}

Powered by Google App Engine
This is Rietveld 408576698