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

Issue 194883010: Fix missing variable MSVS expansion of copies arguments with Ninja. (Closed)

Created:
6 years, 9 months ago by etienneb
Modified:
6 years, 9 months ago
Reviewers:
Nico, scottmg
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Fix missing variable MSVS expansion of copies arguments with Ninja. The Visual Studio emulation does not expand the special variables like 'VSInstallDir' into the 'copies' actions. Here is a small broken example: { 'targets': [ { 'target_name': 'Copy_Target', 'type': 'none', 'copies': [ { 'destination': '<(PRODUCT_DIR)', 'files': [ '$(VSInstallDir)\\bin\\cl.exe', ], }, ], }, ], } Patch from etienneb@chromium.org. R=scottmg@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1870

Patch Set 1 #

Patch Set 2 : fix unittest #

Total comments: 6

Patch Set 3 : fix scott comments #

Total comments: 1

Patch Set 4 : remove print #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -9 lines) Patch
M pylib/gyp/generator/ninja.py View 1 2 5 chunks +18 lines, -9 lines 0 comments Download
M test/ninja/normalize-paths-win/gyptest-normalize-paths.py View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M test/ninja/normalize-paths-win/normalize-paths.gyp View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
etienneb
PTAL. I didn't try to see if mac/linux are broken. I launched a git cl ...
6 years, 9 months ago (2014-03-12 04:05:20 UTC) #1
scottmg
On 2014/03/12 04:05:20, etienneb wrote: > PTAL. > > I didn't try to see if ...
6 years, 9 months ago (2014-03-12 05:41:03 UTC) #2
etienneb
On 2014/03/12 05:41:03, scottmg wrote: > On 2014/03/12 04:05:20, etienneb wrote: > > PTAL. > ...
6 years, 9 months ago (2014-03-12 11:43:24 UTC) #3
etienneb
On 2014/03/12 11:43:24, etienneb wrote: > On 2014/03/12 05:41:03, scottmg wrote: > > On 2014/03/12 ...
6 years, 9 months ago (2014-03-12 14:08:50 UTC) #4
scottmg
On 2014/03/12 14:08:50, etienneb wrote: > On 2014/03/12 11:43:24, etienneb wrote: > > On 2014/03/12 ...
6 years, 9 months ago (2014-03-12 18:13:27 UTC) #5
scottmg
https://codereview.chromium.org/194883010/diff/20001/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): https://codereview.chromium.org/194883010/diff/20001/pylib/gyp/generator/ninja.py#newcode853 pylib/gyp/generator/ninja.py:853: env = self.GetSortedXcodeEnv() collapse this one too? https://codereview.chromium.org/194883010/diff/20001/pylib/gyp/generator/ninja.py#newcode1204 pylib/gyp/generator/ninja.py:1204: ...
6 years, 9 months ago (2014-03-12 18:19:17 UTC) #6
etienneb
scott, could you launch try bots please. https://codereview.chromium.org/194883010/diff/20001/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): https://codereview.chromium.org/194883010/diff/20001/pylib/gyp/generator/ninja.py#newcode853 pylib/gyp/generator/ninja.py:853: env = ...
6 years, 9 months ago (2014-03-12 20:07:52 UTC) #7
scottmg
otherwise LGTM once trybots are green. https://codereview.chromium.org/194883010/diff/40001/test/ninja/normalize-paths-win/gyptest-normalize-paths.py File test/ninja/normalize-paths-win/gyptest-normalize-paths.py (right): https://codereview.chromium.org/194883010/diff/40001/test/ninja/normalize-paths-win/gyptest-normalize-paths.py#newcode35 test/ninja/normalize-paths-win/gyptest-normalize-paths.py:35: print copytarget remove ...
6 years, 9 months ago (2014-03-12 20:20:10 UTC) #8
etienneb
On 2014/03/12 20:20:10, scottmg wrote: > otherwise LGTM once trybots are green. > > https://codereview.chromium.org/194883010/diff/40001/test/ninja/normalize-paths-win/gyptest-normalize-paths.py ...
6 years, 9 months ago (2014-03-12 20:25:10 UTC) #9
scottmg
6 years, 9 months ago (2014-03-12 21:58:52 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 manually as r1870 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698