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

Side by Side Diff: tools/create_sdk.py

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use abstract classes instead of interfaces. Created 8 years, 3 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 16 matching lines...) Expand all
27 # ......coreimpl/ 27 # ......coreimpl/
28 # ......crypto/ 28 # ......crypto/
29 # ......html/ 29 # ......html/
30 # ......io/ 30 # ......io/
31 # ......isolate/ 31 # ......isolate/
32 # ......json/ 32 # ......json/
33 # ......math/ 33 # ......math/
34 # ......mirrors/ 34 # ......mirrors/
35 # ......uri/ 35 # ......uri/
36 # ......utf/ 36 # ......utf/
37 # ......scalarlist/
37 # ....pkg/ 38 # ....pkg/
38 # ......args/ 39 # ......args/
39 # ......compiler/ 40 # ......compiler/
40 # ......dartdoc/ 41 # ......dartdoc/
41 #.......htmlescape/ 42 #.......htmlescape/
42 # ......intl/ 43 # ......intl/
43 # ......logging/ 44 # ......logging/
44 # ......meta/ 45 # ......meta/
45 # ......unittest/ 46 # ......unittest/
46 # ......(more will come here) 47 # ......(more will come here)
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 if filename == 'io.dart': 218 if filename == 'io.dart':
218 continue 219 continue
219 dest_file.write('#source("runtime/' + filename + '");\n') 220 dest_file.write('#source("runtime/' + filename + '");\n')
220 dest_file.close() 221 dest_file.close()
221 222
222 # 223 #
223 # Create and populate lib/{core, crypto, isolate, json, uri, utf, ...}. 224 # Create and populate lib/{core, crypto, isolate, json, uri, utf, ...}.
224 # 225 #
225 226
226 for library in ['_internal', 'html', 'core', 'coreimpl', 227 for library in ['_internal', 'html', 'core', 'coreimpl',
227 'crypto', 'isolate', 'json', 'math', 'mirrors', 'uri', 'utf']: 228 'crypto', 'isolate', 'json', 'math', 'mirrors',
229 'scalarlist', 'uri', 'utf']:
228 copytree(join(HOME, 'lib', library), join(LIB, library), 230 copytree(join(HOME, 'lib', library), join(LIB, library),
229 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh')) 231 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh'))
230 232
231 233
232 # Create and copy pkg. 234 # Create and copy pkg.
233 PKG = join(SDK_tmp, 'pkg') 235 PKG = join(SDK_tmp, 'pkg')
234 os.makedirs(PKG) 236 os.makedirs(PKG)
235 237
236 # 238 #
237 # Create and populate pkg/{args, intl, logging, meta, unittest} 239 # Create and populate pkg/{args, intl, logging, meta, unittest}
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 if revision is not None: 308 if revision is not None:
307 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: 309 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
308 f.write(revision + '\n') 310 f.write(revision + '\n')
309 f.close() 311 f.close()
310 312
311 move(SDK_tmp, SDK) 313 move(SDK_tmp, SDK)
312 utils.Touch(os.path.join(SDK, 'create.stamp')) 314 utils.Touch(os.path.join(SDK, 'create.stamp'))
313 315
314 if __name__ == '__main__': 316 if __name__ == '__main__':
315 sys.exit(Main(sys.argv)) 317 sys.exit(Main(sys.argv))
OLDNEW
« runtime/vm/object.cc ('K') | « tests/standalone/io/web_socket_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698