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

Issue 1742303002: Accept absolute Windows paths without leading slash in GN commands (Closed)

Created:
4 years, 9 months ago by Tomasz Moniuszko
Modified:
4 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

Accept absolute Windows paths without leading slash in GN commands Leading slash is removed before path is passed to GN when command is run on MSYS shell. See http://www.mingw.org/wiki/Posix_path_conversion. BUG=590686 Committed: https://crrev.com/006cf0f95a92cbd6780b9d85fad3e415fd97bec9 Cr-Commit-Position: refs/heads/master@{#385686}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add a test according to the review comment #

Patch Set 3 : Format files with 'git cl format' to make presubmit script happy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -88 lines) Patch
M tools/gn/label.cc View 1 chunk +6 lines, -9 lines 0 comments Download
M tools/gn/label_pattern.cc View 1 chunk +5 lines, -9 lines 0 comments Download
M tools/gn/label_pattern_unittest.cc View 1 2 1 chunk +36 lines, -26 lines 0 comments Download
M tools/gn/label_unittest.cc View 1 2 2 chunks +43 lines, -44 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
Tomasz Moniuszko
4 years, 9 months ago (2016-02-29 09:57:46 UTC) #2
Tomasz Moniuszko
@brettw: Hi, will you accept such patch? It's a kind of workaround but I guess ...
4 years, 9 months ago (2016-03-02 11:26:05 UTC) #3
Tomasz Moniuszko
On 2016/03/02 11:26:05, Tomasz Moniuszko wrote: > @brettw: Hi, will you accept such patch? It's ...
4 years, 8 months ago (2016-03-30 14:44:54 UTC) #4
brettw
Whoops, sorry I lost this. I'm out for the rest of the week but will ...
4 years, 8 months ago (2016-03-31 17:51:13 UTC) #5
brettw
LGTM with test addition. https://codereview.chromium.org/1742303002/diff/1/tools/gn/label_unittest.cc File tools/gn/label_unittest.cc (right): https://codereview.chromium.org/1742303002/diff/1/tools/gn/label_unittest.cc#newcode43 tools/gn/label_unittest.cc:43: { "//chrome/", "C:/chrome:bar", true, "/C:/chrome/", ...
4 years, 8 months ago (2016-04-05 00:01:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742303002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742303002/20001
4 years, 8 months ago (2016-04-05 12:17:25 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/164633)
4 years, 8 months ago (2016-04-05 12:25:40 UTC) #11
Tomasz Moniuszko
On 2016/04/05 12:25:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 8 months ago (2016-04-05 13:06:21 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742303002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742303002/40001
4 years, 8 months ago (2016-04-05 13:07:31 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-05 13:39:35 UTC) #16
brettw
I kind of preferred the table format of the previous code. Even though it breaks ...
4 years, 8 months ago (2016-04-05 17:14:37 UTC) #17
Tomasz Moniuszko
On 2016/04/05 17:14:37, brettw wrote: > I kind of preferred the table format of the ...
4 years, 8 months ago (2016-04-06 08:30:16 UTC) #18
brettw
Hmm, I guess I can live with the reformatted one. LGTM for the full formatting.
4 years, 8 months ago (2016-04-06 16:26:39 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742303002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742303002/40001
4 years, 8 months ago (2016-04-07 06:50:51 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-07 07:29:58 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 07:30:58 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/006cf0f95a92cbd6780b9d85fad3e415fd97bec9
Cr-Commit-Position: refs/heads/master@{#385686}

Powered by Google App Engine
This is Rietveld 408576698