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

Side by Side Diff: tools/create_sdk.py

Issue 1121293003: Provide a dart2js implementation of dart:debugger (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review fixes Created 5 years, 7 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 # 6 #
7 # A script which will be invoked from gyp to create an SDK. 7 # A script which will be invoked from gyp to create an SDK.
8 # 8 #
9 # Usage: create_sdk.py sdk_directory 9 # Usage: create_sdk.py sdk_directory
10 # 10 #
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 # 199 #
200 # Create and populate lib/{async, core, isolate, ...}. 200 # Create and populate lib/{async, core, isolate, ...}.
201 # 201 #
202 202
203 os.makedirs(join(LIB, 'html')) 203 os.makedirs(join(LIB, 'html'))
204 204
205 for library in [join('_blink', 'dartium'), 205 for library in [join('_blink', 'dartium'),
206 join('_chrome', 'dart2js'), join('_chrome', 'dartium'), 206 join('_chrome', 'dart2js'), join('_chrome', 'dartium'),
207 join('_internal', 'compiler'), 207 join('_internal', 'compiler'),
208 'async', 'collection', 'convert', 'core', 208 'async', 'collection', 'convert', 'core',
209 'internal', 'io', 'isolate', 209 'internal', 'io', 'isolate', 'debugger',
210 join('html', 'dart2js'), join('html', 'dartium'), 210 join('html', 'dart2js'), join('html', 'dartium'),
211 join('html', 'html_common'), 211 join('html', 'html_common'),
212 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'), 212 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'),
213 'js', 'math', 'mirrors', 'typed_data', 'profiler', 213 'js', 'math', 'mirrors', 'typed_data', 'profiler',
214 join('svg', 'dart2js'), join('svg', 'dartium'), 214 join('svg', 'dart2js'), join('svg', 'dartium'),
215 join('web_audio', 'dart2js'), join('web_audio', 'dartium'), 215 join('web_audio', 'dart2js'), join('web_audio', 'dartium'),
216 join('web_gl', 'dart2js'), join('web_gl', 'dartium'), 216 join('web_gl', 'dart2js'), join('web_gl', 'dartium'),
217 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]: 217 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]:
218 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library), 218 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library),
219 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh', 219 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 f.write(revision + '\n') 260 f.write(revision + '\n')
261 f.close() 261 f.close()
262 262
263 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README')) 263 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README'))
264 Copy(join(HOME, 'sdk', 'api_readme.md'), join(SDK_tmp, 'lib', 'api_readme.md') ) 264 Copy(join(HOME, 'sdk', 'api_readme.md'), join(SDK_tmp, 'lib', 'api_readme.md') )
265 265
266 move(SDK_tmp, SDK) 266 move(SDK_tmp, SDK)
267 267
268 if __name__ == '__main__': 268 if __name__ == '__main__':
269 sys.exit(Main()) 269 sys.exit(Main())
OLDNEW
« sdk/lib/debugger/debugger.dart ('K') | « sdk/lib/debugger/debugger.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698