Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: tools/create_sdk.py

Issue 11414099: Enabled snapshot generation in SDK creation for Windows platform. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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')])
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698