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

Issue 10274018: ninja windows: more support for VS macros (Closed)

Created:
8 years, 7 months ago by scottmg
Modified:
8 years, 7 months ago
Reviewers:
Nico
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

ninja windows: more support for VS macros Add support for VS macros $(InputPath) and $(PlatformName), and improve the locations where they can appear (rule message). Expansion moved to happen earlier in code flow so that the special locals ($root, $source, etc.) will be included in the output when they appear as the result of a VS macro expansion. Test case reduced from failing NaCl rule in native_client/build/common.gypi. R=thakis@chromium.org BUG=125606 Committed: https://code.google.com/p/gyp/source/detail?r=1347

Patch Set 1 #

Patch Set 2 : comment #

Total comments: 6

Patch Set 3 : guard convertvsmacros on win #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -2 lines) Patch
M pylib/gyp/generator/ninja.py View 1 2 4 chunks +9 lines, -3 lines 1 comment Download
M pylib/gyp/msvs_emulation.py View 1 1 chunk +2 lines, -0 lines 0 comments Download
A test/win/gyptest-macros-containing-gyp.py View 1 chunk +21 lines, -0 lines 0 comments Download
A test/win/vs-macros/as.py View 1 chunk +18 lines, -0 lines 0 comments Download
A test/win/vs-macros/containing-gyp.gyp View 1 chunk +40 lines, -0 lines 0 comments Download
A test/win/vs-macros/input.S View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
scottmg
8 years, 7 months ago (2012-04-30 23:26:48 UTC) #1
Nico
http://chromiumcodereview.appspot.com/10274018/diff/2001/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (left): http://chromiumcodereview.appspot.com/10274018/diff/2001/pylib/gyp/generator/ninja.py#oldcode1091 pylib/gyp/generator/ninja.py:1091: for a in args] Why did this have to ...
8 years, 7 months ago (2012-04-30 23:33:27 UTC) #2
scottmg
http://chromiumcodereview.appspot.com/10274018/diff/2001/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (left): http://chromiumcodereview.appspot.com/10274018/diff/2001/pylib/gyp/generator/ninja.py#oldcode1091 pylib/gyp/generator/ninja.py:1091: for a in args] On 2012/04/30 23:33:27, Nico wrote: ...
8 years, 7 months ago (2012-04-30 23:42:27 UTC) #3
Nico
8 years, 7 months ago (2012-05-01 00:11:29 UTC) #4
lgtm

http://chromiumcodereview.appspot.com/10274018/diff/6001/pylib/gyp/generator/...
File pylib/gyp/generator/ninja.py (right):

http://chromiumcodereview.appspot.com/10274018/diff/6001/pylib/gyp/generator/...
pylib/gyp/generator/ninja.py:545: for argument in args:
Ah, so that it's converted here. Got it.

Powered by Google App Engine
This is Rietveld 408576698