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

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: Move init call for scalarlist lib 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
« no previous file with comments | « tests/standalone/io/web_socket_test.dart ('k') | 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 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 if filename == 'io.dart': 220 if filename == 'io.dart':
220 continue 221 continue
221 dest_file.write('#source("runtime/' + filename + '");\n') 222 dest_file.write('#source("runtime/' + filename + '");\n')
222 dest_file.close() 223 dest_file.close()
223 224
224 # 225 #
225 # Create and populate lib/{core, crypto, isolate, json, uri, utf, ...}. 226 # Create and populate lib/{core, crypto, isolate, json, uri, utf, ...}.
226 # 227 #
227 228
228 for library in ['_internal', 'html', 'core', 'coreimpl', 229 for library in ['_internal', 'html', 'core', 'coreimpl',
229 'crypto', 'isolate', 'json', 'math', 'mirrors', 'uri', 'utf']: 230 'crypto', 'isolate', 'json', 'math', 'mirrors',
231 'scalarlist', 'uri', 'utf']:
230 copytree(join(HOME, 'lib', library), join(LIB, library), 232 copytree(join(HOME, 'lib', library), join(LIB, library),
231 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh')) 233 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh'))
232 234
233 235
234 # Create and copy pkg. 236 # Create and copy pkg.
235 PKG = join(SDK_tmp, 'pkg') 237 PKG = join(SDK_tmp, 'pkg')
236 os.makedirs(PKG) 238 os.makedirs(PKG)
237 239
238 # 240 #
239 # Create and populate pkg/{args, intl, logging, meta, unittest} 241 # Create and populate pkg/{args, intl, logging, meta, unittest}
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 if revision is not None: 323 if revision is not None:
322 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: 324 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
323 f.write(revision + '\n') 325 f.write(revision + '\n')
324 f.close() 326 f.close()
325 327
326 move(SDK_tmp, SDK) 328 move(SDK_tmp, SDK)
327 utils.Touch(os.path.join(SDK, 'create.stamp')) 329 utils.Touch(os.path.join(SDK, 'create.stamp'))
328 330
329 if __name__ == '__main__': 331 if __name__ == '__main__':
330 sys.exit(Main(sys.argv)) 332 sys.exit(Main(sys.argv))
OLDNEW
« no previous file with comments | « 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