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

Side by Side Diff: tools/create_sdk.py

Issue 12851013: Adding web_gl library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: sync to tot Created 7 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 | « tests/html/webgl_1_test.dart ('k') | tools/dom/scripts/dartdomgenerator.py » ('j') | 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 for library in ['_internal', 'async', 'collection', '_collection_dev', 'core', 202 for library in ['_internal', 'async', 'collection', '_collection_dev', 'core',
203 'crypto', 'io', 'isolate', 203 'crypto', 'io', 'isolate',
204 join('chrome', 'dart2js'), join('chrome', 'dartium'), 204 join('chrome', 'dart2js'), join('chrome', 'dartium'),
205 join('html', 'dart2js'), join('html', 'dartium'), 205 join('html', 'dart2js'), join('html', 'dartium'),
206 join('html', 'html_common'), 206 join('html', 'html_common'),
207 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'), 207 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'),
208 'json', 'math', 'mirrors', 'typeddata', 208 'json', 'math', 'mirrors', 'typeddata',
209 join('svg', 'dart2js'), join('svg', 'dartium'), 209 join('svg', 'dart2js'), join('svg', 'dartium'),
210 'uri', 'utf', 210 'uri', 'utf',
211 join('web_audio', 'dart2js'), join('web_audio', 'dartium'), 211 join('web_audio', 'dart2js'), join('web_audio', 'dartium'),
212 join('web_gl', 'dart2js'), join('web_gl', 'dartium'),
212 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]: 213 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]:
213 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library), 214 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library),
214 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh')) 215 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh'))
215 216
216 217
217 # Create and copy packages. 218 # Create and copy packages.
218 PACKAGES = join(SDK_tmp, 'packages') 219 PACKAGES = join(SDK_tmp, 'packages')
219 os.makedirs(PACKAGES) 220 os.makedirs(PACKAGES)
220 221
221 # 222 #
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: 286 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
286 f.write(revision + '\n') 287 f.write(revision + '\n')
287 f.close() 288 f.close()
288 289
289 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README')) 290 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README'))
290 291
291 move(SDK_tmp, SDK) 292 move(SDK_tmp, SDK)
292 293
293 if __name__ == '__main__': 294 if __name__ == '__main__':
294 sys.exit(Main(sys.argv)) 295 sys.exit(Main(sys.argv))
OLDNEW
« no previous file with comments | « tests/html/webgl_1_test.dart ('k') | tools/dom/scripts/dartdomgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698