Index: tools/build_command_buffer.py |
diff --git a/tools/build_command_buffer.py b/tools/build_command_buffer.py |
index 0349419030f56664f508f9619383ed1a967e1132..c1079867265030e4d71384ce5dc17a505e18a10d 100755 |
--- a/tools/build_command_buffer.py |
+++ b/tools/build_command_buffer.py |
@@ -135,12 +135,14 @@ def main(): |
sys.exit('Error (ret code: %s) calling "%s" in %s' % ( |
error.returncode, error.cmd, chrome_src_dir)) |
+ gn = 'gn' |
platform = 'linux64' |
if sys.platform == 'darwin': |
platform = 'mac' |
elif sys.platform == 'win32': |
platform = 'win' |
- gn = os.path.join(chrome_src_dir, 'buildtools', platform, 'gn') |
+ gn = 'gn.exe' |
+ gn = os.path.join(chrome_src_dir, 'buildtools', platform, gn) |
try: |
subprocess.check_call([gn, 'gen', chrome_target_dir_rel], |
cwd=chrome_src_dir) |