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

Side by Side Diff: msvs_gyp_wrapper.py

Issue 10234088: Use GYP to generate MSVS project files (Closed)
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:
View unified diff | Download patch
« no previous file with comments | « libadblockplus.gyp ('k') | msvs_makesnapshot.bat » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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:])
OLDNEW
« no previous file with comments | « libadblockplus.gyp ('k') | msvs_makesnapshot.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld