Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: msvs_gyp_wrapper.py

Issue 10234088: Use GYP to generate MSVS project files (Closed)
Left Patch Set: Created April 23, 2013, 4:24 p.m.
Right Patch Set: Moved project files to build/ Created April 24, 2013, 1:57 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « libadblockplus.gyp ('k') | msvs_makesnapshot.bat » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 #!/usr/bin/env python
2 # coding: utf-8
3
4 import os, sys
5 base_dir = os.path.abspath(os.path.dirname(__file__))
6
7 sys.path.append(os.path.join(base_dir, 'third_party', 'gyp', 'pylib'))
8 import gyp
9 import gyp.generator.msvs
10
11 orig_fix_path = gyp.generator.msvs._FixPath
12
13 def _FixPath(path):
14 if path == 'CORE' or path == 'EXPERIMENTAL' or path == 'off':
15 # Don't touch js2c parameters
16 return path
Eric 2013/04/24 14:21:56 This may well cause a different kind of failure ov
Wladimir Palant 2013/04/24 14:51:05 This is pretty safe actually - I doubt that we wil
17 return orig_fix_path(path)
18 gyp.generator.msvs._FixPath = _FixPath
19
20 if __name__ == '__main__':
21 gyp.main(sys.argv[1:])
LEFTRIGHT

Powered by Google App Engine
This is Rietveld