Index: tools/create_sdk.py |
=================================================================== |
--- tools/create_sdk.py (revision 17682) |
+++ tools/create_sdk.py (working copy) |
@@ -110,8 +110,8 @@ |
CopyShellScript(os.path.join(home, 'sdk', 'bin', executable), |
os.path.join(sdk_root, 'bin')) |
- subprocess.call([os.path.join(build_dir, 'gen_snapshot'), |
- '--script_snapshot=%s' % |
+ subprocess.call([os.path.join(build_dir, 'dart'), |
+ '--generate-script-snapshot=%s' % |
os.path.join(sdk_root, 'lib', '_internal', 'compiler', |
'implementation', 'dart2js.dart.snapshot'), |
os.path.join(sdk_root, 'lib', '_internal', 'compiler', |