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

Issue 18991011: On Windows, don't try to create relative paths across different drives (Closed)

Created:
7 years, 5 months ago by borenet
Modified:
7 years, 5 months ago
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

On Windows, don't try to create relative paths across different drives This is problematic when the generator output is set to a different drive from the gyp files and sources.

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : Debug #

Patch Set 12 : makedirs #

Patch Set 13 : debug, chdir #

Patch Set 14 : quote #

Patch Set 15 : os.walk for debugging #

Patch Set 16 : fix must_exist path #

Patch Set 17 : os.walk for msvs debugging #

Patch Set 18 : use built_file_must_exist #

Patch Set 19 : remove .exe #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -4 lines) Patch
M pylib/gyp/common.py View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
A test/win/generator-output-different-drive/gyptest-generator-output-different-drive.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +44 lines, -0 lines 0 comments Download
A + test/win/generator-output-different-drive/prog.c View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + test/win/generator-output-different-drive/prog.gyp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
borenet
7 years, 5 months ago (2013-07-10 20:50:37 UTC) #1
borenet
Patch set 2: use lower()
7 years, 5 months ago (2013-07-11 12:34:06 UTC) #2
borenet
Friendly ping
7 years, 5 months ago (2013-07-12 20:12:53 UTC) #3
Sam Clegg
lgtm
7 years, 5 months ago (2013-07-12 22:03:32 UTC) #4
borenet
On 2013/07/12 22:03:32, Sam Clegg wrote: > lgtm Mind committing this for me? The commit ...
7 years, 5 months ago (2013-07-15 14:37:13 UTC) #5
Nico
Is it possible to write a test for this? Every gyp change should have a ...
7 years, 5 months ago (2013-07-15 17:06:58 UTC) #6
Sam Clegg
On 2013/07/15 17:06:58, Nico wrote: > Is it possible to write a test for this? ...
7 years, 5 months ago (2013-07-15 17:30:34 UTC) #7
borenet
Not sure if my test is in the right place, it's a little ugly, and ...
7 years, 5 months ago (2013-07-16 15:16:39 UTC) #8
borenet
ping
7 years, 5 months ago (2013-07-19 14:26:43 UTC) #9
scottmg
On 2013/07/16 15:16:39, borenet wrote: > Not sure if my test is in the right ...
7 years, 5 months ago (2013-07-19 15:01:55 UTC) #10
borenet
On 2013/07/19 15:01:55, scottmg wrote: > On 2013/07/16 15:16:39, borenet wrote: > > Not sure ...
7 years, 5 months ago (2013-07-19 15:27:06 UTC) #11
borenet
On Fri, Jul 19, 2013 at 11:36 AM, Scott Graham <scottmg@chromium.org> wrote: >I'm not sure, ...
7 years, 5 months ago (2013-07-19 16:15:41 UTC) #12
Nico
The test looks good to me. Not sure If checking os.name is the best way ...
7 years, 5 months ago (2013-07-19 16:25:21 UTC) #13
scottmg
https://codereview.chromium.org/18991011/diff/12001/pylib/gyp/common.py File pylib/gyp/common.py (right): https://codereview.chromium.org/18991011/diff/12001/pylib/gyp/common.py#newcode136 pylib/gyp/common.py:136: if os.name == 'nt': i'm not sure whether this ...
7 years, 5 months ago (2013-07-19 16:51:17 UTC) #14
borenet
Patch set 4: use sys.platform instead of os.name. I guess I'll keep iterating and running ...
7 years, 5 months ago (2013-07-19 17:58:42 UTC) #15
borenet
The trybot is succeeding as of patch set 16: http://build.chromium.org/p/tryserver.nacl/builders/gyp-win32/builds/1115 PTAL
7 years, 5 months ago (2013-07-22 16:49:31 UTC) #16
scottmg
lgtm, but try a gyp-win64 too as win32 doesn't do a VS build.
7 years, 5 months ago (2013-07-22 16:56:36 UTC) #17
borenet
On 2013/07/22 16:56:36, scottmg wrote: > lgtm, but try a gyp-win64 too as win32 doesn't ...
7 years, 5 months ago (2013-07-22 18:47:59 UTC) #18
borenet
Could someone submit this for me? I suspect the linux trybot failure is because I'm ...
7 years, 5 months ago (2013-07-22 19:48:15 UTC) #19
scottmg
On 2013/07/22 19:48:15, borenet wrote: > Could someone submit this for me? I suspect the ...
7 years, 5 months ago (2013-07-22 20:21:07 UTC) #20
scottmg
Bleh, I dunno. I recreated the files since they were small. Landed at r1683.
7 years, 5 months ago (2013-07-22 20:30:57 UTC) #21
borenet
7 years, 5 months ago (2013-07-22 20:33:08 UTC) #22
On 2013/07/22 20:30:57, scottmg wrote:
> Bleh, I dunno. I recreated the files since they were small. Landed at r1683.

Thanks!

Powered by Google App Engine
This is Rietveld 408576698