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

Issue 1188553003: MSVS: Normalize paths against gyp directory. (Closed)

Created:
5 years, 6 months ago by Jamie Madill
Modified:
5 years, 6 months ago
CC:
gyp-developer_googlegroups.com
Base URL:
http://chromium.googlesource.com/external/gyp@master
Target Ref:
refs/heads/master
Project:
gyp
Visibility:
Public.

Description

MSVS: Normalize paths against gyp directory. This trims down some redundant paths such as ../../src/code/File.cpp if the gyp file is also in src/code. Patch from jmadill@chromium.org. BUG=None R=sbaig1@bloomberg.net, scottmg@chromium.org Committed: https://chromium.googlesource.com/external/gyp/+/b4781fc38236b0fb1238969c918a75a200cfffdb

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address scottmg #

Patch Set 3 : With git add of new file #

Total comments: 2

Patch Set 4 : Fix last style change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -22 lines) Patch
M pylib/gyp/generator/msvs.py View 1 2 3 2 chunks +12 lines, -7 lines 0 comments Download
M test/msvs/filters/gyptest-filters-2010.py View 1 2 chunks +14 lines, -0 lines 0 comments Download
A + test/msvs/filters/subdir/subdir.gyp View 1 2 1 chunk +16 lines, -15 lines 0 comments Download

Messages

Total messages: 22 (4 generated)
Jamie Madill
PTAL Scott, or send it to the appropriate MSVS guru for review. This change cleans ...
5 years, 6 months ago (2015-06-15 17:19:56 UTC) #2
scottmg
Can we add a test for this? +shez might know/care more about the msvs generator. ...
5 years, 6 months ago (2015-06-15 18:46:52 UTC) #4
Jamie Madill
On 2015/06/15 18:46:52, scottmg wrote: > Can we add a test for this? > > ...
5 years, 6 months ago (2015-06-15 22:11:43 UTC) #5
Shezan Baig (Bloomberg)
lgtm If I understand correctly, this cleans up the project file when a gyp file ...
5 years, 6 months ago (2015-06-15 22:19:02 UTC) #6
Jamie Madill
Shezan, that's a sensible question which sadly has a convoluted answer. ANGLE's tests use gypi ...
5 years, 6 months ago (2015-06-15 22:28:53 UTC) #7
Shezan Baig (Bloomberg)
On 2015/06/15 22:28:53, Jamie Madill wrote: > Shezan, that's a sensible question which sadly has ...
5 years, 6 months ago (2015-06-15 22:31:12 UTC) #8
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 6 months ago (2015-06-15 22:36:03 UTC) #11
scottmg
lgtm, I can land https://codereview.chromium.org/1188553003/diff/40001/pylib/gyp/generator/msvs.py File pylib/gyp/generator/msvs.py (right): https://codereview.chromium.org/1188553003/diff/40001/pylib/gyp/generator/msvs.py#newcode159 pylib/gyp/generator/msvs.py:159: def _FixPath(path, curdir = None): ...
5 years, 6 months ago (2015-06-15 23:04:00 UTC) #12
Jamie Madill
PTAL https://codereview.chromium.org/1188553003/diff/40001/pylib/gyp/generator/msvs.py File pylib/gyp/generator/msvs.py (right): https://codereview.chromium.org/1188553003/diff/40001/pylib/gyp/generator/msvs.py#newcode159 pylib/gyp/generator/msvs.py:159: def _FixPath(path, curdir = None): On 2015/06/15 23:04:00, ...
5 years, 6 months ago (2015-06-15 23:08:37 UTC) #13
scottmg
Committed patchset #4 (id:60001) manually as b4781fc38236b0fb1238969c918a75a200cfffdb.
5 years, 6 months ago (2015-06-15 23:08:49 UTC) #14
Michael Achenbach
This might have broken the v8 XP bots (works on our Win7 bots): http://build.chromium.org/p/client.v8/builders/V8%20Win32%20-%201/builds/2849/steps/gclient%20runhooks/logs/stdio Can ...
5 years, 6 months ago (2015-06-17 11:25:45 UTC) #15
Shezan Baig (Bloomberg)
On 2015/06/17 11:25:45, Michael Achenbach wrote: > This might have broken the v8 XP bots ...
5 years, 6 months ago (2015-06-17 13:19:51 UTC) #16
Shezan Baig (Bloomberg)
On 2015/06/17 11:25:45, Michael Achenbach wrote: > This might have broken the v8 XP bots ...
5 years, 6 months ago (2015-06-17 13:21:56 UTC) #17
Shezan Baig (Bloomberg)
On 2015/06/17 13:19:51, Shezan Baig (Bloomberg) wrote: > On 2015/06/17 11:25:45, Michael Achenbach wrote: > ...
5 years, 6 months ago (2015-06-17 13:36:56 UTC) #18
Jamie Madill
Sure, I'll give it a go.
5 years, 6 months ago (2015-06-17 15:24:23 UTC) #19
Michael Achenbach
On 2015/06/17 15:24:23, Jamie Madill wrote: > Sure, I'll give it a go. Thanks! Please ...
5 years, 6 months ago (2015-06-17 16:48:17 UTC) #20
Jamie Madill
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1193573002/ by jmadill@chromium.org. ...
5 years, 6 months ago (2015-06-17 17:15:31 UTC) #21
Michael Achenbach
5 years, 6 months ago (2015-06-17 18:14:15 UTC) #22
Message was sent while issue was closed.
Thanks. A revert also does the trick.

Powered by Google App Engine
This is Rietveld 408576698