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

Issue 1424313009: Improve gn path command. (Closed)

Created:
5 years, 1 month ago by brettw
Modified:
5 years, 1 month ago
Reviewers:
scottmg
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

Improve gn path command. Finds only non-data dependencies by default. A new flag is added to include these. Normally users are only interested in linked dependencies. Adds a --public flag to print only public dependencies. Sorts any output first by public-ness, then by length of the path. This generally matches what users are looking for. Committed: https://crrev.com/c20901b3694df1dfcd5197f6baead231c48de07f Cr-Commit-Position: refs/heads/master@{#358051}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

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

Messages

Total messages: 12 (5 generated)
brettw
5 years, 1 month ago (2015-11-04 04:07:04 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/1424313009/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424313009/20001
5 years, 1 month ago (2015-11-04 04:07:43 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-04 04:21:06 UTC) #6
scottmg
lgtm https://codereview.chromium.org/1424313009/diff/20001/tools/gn/command_path.cc File tools/gn/command_path.cc (right): https://codereview.chromium.org/1424313009/diff/20001/tools/gn/command_path.cc#newcode95 tools/gn/command_path.cc:95: bool IsAllPublic(const DepStack& stack) { IsAllPublic sounds odd. ...
5 years, 1 month ago (2015-11-04 22:01:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424313009/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424313009/40001
5 years, 1 month ago (2015-11-05 13:55:02 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-05 14:27:45 UTC) #11
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 14:28:23 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c20901b3694df1dfcd5197f6baead231c48de07f
Cr-Commit-Position: refs/heads/master@{#358051}

Powered by Google App Engine
This is Rietveld 408576698