Left: | ||
Right: |
LEFT | RIGHT |
---|---|
(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:]) | |
LEFT | RIGHT |