Chromium Code Reviews| Index: build/gyp_chromium |
| =================================================================== |
| --- build/gyp_chromium (revision 245662) |
| +++ build/gyp_chromium (working copy) |
| @@ -304,7 +304,8 @@ |
| # TODO(bradnelson): take this out once this issue is fixed: |
| # http://code.google.com/p/gyp/issues/detail?id=177 |
| if sys.platform == 'cygwin': |
| - python_dir = os.path.join(chrome_src, 'third_party', 'python_26') |
| + depot_tools_path = find_depot_tools.add_depot_tools_to_path() |
| + python_dir = os.path.join(depot_tools_path, 'python276_bin') |
|
M-A Ruel
2014/01/18 00:10:58
The main issue is that it is not forward compatibl
Peter Kasting
2014/01/18 00:13:23
The problem here is that there's also a "python_bi
M-A Ruel
2014/01/18 00:16:40
python_exe = sorted(glob.glob(os.path.join(depot_t
Peter Kasting
2014/01/18 00:20:27
That's certainly a little better, but it still ass
|
| env = os.environ.copy() |
| env['PATH'] = python_dir + os.pathsep + env.get('PATH', '') |
| p = subprocess.Popen( |