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

Issue 857163002: Absolute path fixes for gn. (Closed)

Created:
5 years, 11 months ago by Fredrik Öhrn
Modified:
5 years, 10 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina, Tomasz Moniuszko, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Absolute path fixes for gn. To avoid collisions object files and other build ouput is now prefixed with ABS_PATH and the full path of the input file. E.g. /some/path/foo.cc maps to //out/obj/ABS_PATH/some/path/foo.o In addition there are several fixes for absolute paths on Windows: The drive letter colon is skipped when parsing labels. Transform C:\ to /C:\ where needed. BUG=445454 NOPRESUBMIT=true Committed: https://crrev.com/8808c5544ceb04ec281d40041af5272bdb7fad63 Cr-Commit-Position: refs/heads/master@{#315531}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Windows fixes and additional tests #

Total comments: 2

Patch Set 3 : Improve error message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -10 lines) Patch
M tools/gn/filesystem_utils.cc View 1 2 chunks +29 lines, -0 lines 0 comments Download
M tools/gn/filesystem_utils_unittest.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M tools/gn/function_get_path_info_unittest.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M tools/gn/label.cc View 1 2 2 chunks +19 lines, -2 lines 0 comments Download
M tools/gn/label_pattern.cc View 1 2 2 chunks +18 lines, -1 line 0 comments Download
M tools/gn/label_unittest.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M tools/gn/source_dir.cc View 2 chunks +17 lines, -4 lines 0 comments Download
M tools/gn/substitution_writer_unittest.cc View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 19 (5 generated)
Fredrik Öhrn
PTAL
5 years, 11 months ago (2015-01-20 13:42:11 UTC) #2
brettw
https://codereview.chromium.org/857163002/diff/1/tools/gn/label.cc File tools/gn/label.cc (right): https://codereview.chromium.org/857163002/diff/1/tools/gn/label.cc#newcode98 tools/gn/label.cc:98: #if defined(OS_WIN) On Windows, this accepts either "/C:/foo" or ...
5 years, 11 months ago (2015-01-20 21:05:00 UTC) #3
Fredrik Öhrn
On 2015/01/20 21:05:00, brettw wrote: > https://codereview.chromium.org/857163002/diff/1/tools/gn/label.cc > File tools/gn/label.cc (right): > > https://codereview.chromium.org/857163002/diff/1/tools/gn/label.cc#newcode98 > ...
5 years, 11 months ago (2015-01-22 13:39:00 UTC) #4
Fredrik Öhrn
Ping?
5 years, 10 months ago (2015-02-06 12:36:57 UTC) #5
brettw
Oh, sorry I lost this. Will look soon.
5 years, 10 months ago (2015-02-06 16:36:32 UTC) #6
brettw
LGTM. In the future, if I don't respond in <2 workdays it probably fell off ...
5 years, 10 months ago (2015-02-06 23:08:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/857163002/40001
5 years, 10 months ago (2015-02-10 09:53:21 UTC) #10
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/41663)
5 years, 10 months ago (2015-02-10 09:58:31 UTC) #12
Fredrik Öhrn
On 2015/02/10 09:58:31, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 10 months ago (2015-02-10 10:00:20 UTC) #13
Mostyn Bramley-Moore
On 2015/02/10 10:00:20, Fredrik Öhrn wrote: > On 2015/02/10 09:58:31, I haz the power (commit-bot) ...
5 years, 10 months ago (2015-02-10 10:04:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/857163002/40001
5 years, 10 months ago (2015-02-10 10:10:26 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-10 10:18:46 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/8808c5544ceb04ec281d40041af5272bdb7fad63 Cr-Commit-Position: refs/heads/master@{#315531}
5 years, 10 months ago (2015-02-10 10:19:21 UTC) #18
Fredrik Öhrn
5 years, 10 months ago (2015-02-10 10:21:56 UTC) #19
Message was sent while issue was closed.
On 2015/02/10 10:04:51, Mostyn Bramley-Moore wrote:
> On 2015/02/10 10:00:20, Fredrik Öhrn wrote:
> > Seems I can't commit this myself.
> 
> Try adding "NOPRESUBMIT=true" to the bug description.

Thanks for the tip.

Powered by Google App Engine
This is Rietveld 408576698