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

Side by Side Diff: tools/create_sdk.py

Issue 11280103: Splitting out the Audio library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding missing lib registrations Created 8 years 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/htmlaudioelement_test.dart ('k') | utils/apidoc/html_diff.dart » ('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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 os.makedirs(LIB) 194 os.makedirs(LIB)
195 195
196 # 196 #
197 # Create and populate lib/{core, crypto, isolate, json, uri, utf, ...}. 197 # Create and populate lib/{core, crypto, isolate, json, uri, utf, ...}.
198 # 198 #
199 199
200 os.makedirs(join(LIB, 'html')) 200 os.makedirs(join(LIB, 'html'))
201 for library in ['_internal', 'collection', 'core', 'crypto', 'io', 'isolate', 201 for library in ['_internal', 'collection', 'core', 'crypto', 'io', 'isolate',
202 join('html', 'dart2js'), join('html', 'dartium'), 'json', 202 join('html', 'dart2js'), join('html', 'dartium'), 'json',
203 'math', 'mirrors', 'scalarlist', join('svg', 'dart2js'), 203 'math', 'mirrors', 'scalarlist', join('svg', 'dart2js'),
204 join('svg', 'dartium'), 'uri', 'utf']: 204 join('svg', 'dartium'), 'uri', 'utf',
205 join('web_audio', 'dart2js'), join('web_audio', 'dartium')]:
205 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library), 206 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library),
206 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh')) 207 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh'))
207 208
208 209
209 # Create and copy pkg. 210 # Create and copy pkg.
210 PKG = join(SDK_tmp, 'pkg') 211 PKG = join(SDK_tmp, 'pkg')
211 os.makedirs(PKG) 212 os.makedirs(PKG)
212 213
213 # 214 #
214 # Create and populate pkg/{args, intl, logging, meta, unittest} 215 # Create and populate pkg/{args, intl, logging, meta, unittest}
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: 303 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
303 f.write(revision + '\n') 304 f.write(revision + '\n')
304 f.close() 305 f.close()
305 306
306 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README')) 307 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README'))
307 308
308 move(SDK_tmp, SDK) 309 move(SDK_tmp, SDK)
309 310
310 if __name__ == '__main__': 311 if __name__ == '__main__':
311 sys.exit(Main(sys.argv)) 312 sys.exit(Main(sys.argv))
OLDNEW
« no previous file with comments | « tests/html/htmlaudioelement_test.dart ('k') | utils/apidoc/html_diff.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698