Index: tools/create_sdk.py |
diff --git a/tools/create_sdk.py b/tools/create_sdk.py |
index 38b3e6cec31bd373830f22e9da96ec4744107e93..5793e3e03796a3e403b82e41a3c9a88ea180b2a5 100755 |
--- a/tools/create_sdk.py |
+++ b/tools/create_sdk.py |
@@ -112,14 +112,12 @@ def CopyDartScripts(home, build_dir, sdk_root, version): |
CopyShellScript(os.path.join(home, 'sdk', 'bin', executable), |
os.path.join(sdk_root, 'bin')) |
- if utils.GuessOS() != 'win32': |
- # TODO(ahe): Enable for Windows as well. |
- subprocess.call([os.path.join(build_dir, 'gen_snapshot'), |
- '--script_snapshot=%s' % |
- os.path.join(sdk_root, 'lib', '_internal', 'compiler', |
- 'implementation', 'dart2js.dart.snapshot'), |
- os.path.join(sdk_root, 'lib', '_internal', 'compiler', |
- 'implementation', 'dart2js.dart')]) |
+ subprocess.call([os.path.join(build_dir, 'gen_snapshot'), |
+ '--script_snapshot=%s' % |
+ os.path.join(sdk_root, 'lib', '_internal', 'compiler', |
+ 'implementation', 'dart2js.dart.snapshot'), |
+ os.path.join(sdk_root, 'lib', '_internal', 'compiler', |
+ 'implementation', 'dart2js.dart')]) |