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

Side by Side Diff: tools/create_sdk.py

Issue 225073003: Add 'profiler' to create_sdk.py script (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 os.makedirs(join(LIB, 'html')) 196 os.makedirs(join(LIB, 'html'))
197 197
198 for library in [join('_chrome', 'dart2js'), join('_chrome', 'dartium'), 198 for library in [join('_chrome', 'dart2js'), join('_chrome', 'dartium'),
199 join('_internal', 'compiler'), 199 join('_internal', 'compiler'),
200 join('_internal', 'lib'), 200 join('_internal', 'lib'),
201 'async', 'collection', 'convert', 'core', 201 'async', 'collection', 'convert', 'core',
202 'crypto', 'internal', 'io', 'isolate', 202 'crypto', 'internal', 'io', 'isolate',
203 join('html', 'dart2js'), join('html', 'dartium'), 203 join('html', 'dart2js'), join('html', 'dartium'),
204 join('html', 'html_common'), 204 join('html', 'html_common'),
205 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'), 205 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'),
206 'js', 'math', 'mirrors', 'typed_data', 206 'js', 'math', 'mirrors', 'typed_data', 'profiler',
207 join('svg', 'dart2js'), join('svg', 'dartium'), 207 join('svg', 'dart2js'), join('svg', 'dartium'),
208 join('web_audio', 'dart2js'), join('web_audio', 'dartium'), 208 join('web_audio', 'dart2js'), join('web_audio', 'dartium'),
209 join('web_gl', 'dart2js'), join('web_gl', 'dartium'), 209 join('web_gl', 'dart2js'), join('web_gl', 'dartium'),
210 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]: 210 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]:
211 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library), 211 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library),
212 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh', 212 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh',
213 '.gitignore')) 213 '.gitignore'))
214 214
215 # Copy lib/_internal/libraries.dart. 215 # Copy lib/_internal/libraries.dart.
216 copyfile(join(HOME, 'sdk', 'lib', '_internal', 'libraries.dart'), 216 copyfile(join(HOME, 'sdk', 'lib', '_internal', 'libraries.dart'),
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: 259 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
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 264
265 move(SDK_tmp, SDK) 265 move(SDK_tmp, SDK)
266 266
267 if __name__ == '__main__': 267 if __name__ == '__main__':
268 sys.exit(Main(sys.argv)) 268 sys.exit(Main(sys.argv))
OLDNEW
« 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