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 13322007: Remove scalarlist creation step from sdk. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 | « 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 18 matching lines...) Expand all
29 # ......core/ 29 # ......core/
30 # ......crypto/ 30 # ......crypto/
31 # ......html/ 31 # ......html/
32 # ......io/ 32 # ......io/
33 # ......isolate/ 33 # ......isolate/
34 # ......json/ 34 # ......json/
35 # ......math/ 35 # ......math/
36 # ......mirrors/ 36 # ......mirrors/
37 # ......uri/ 37 # ......uri/
38 # ......utf/ 38 # ......utf/
39 # ......scalarlist/
40 # ......typeddata/ 39 # ......typeddata/
41 # ....packages/ 40 # ....packages/
42 # ......args/ 41 # ......args/
43 # ......intl/ 42 # ......intl/
44 # ......logging/ 43 # ......logging/
45 # ......meta/ 44 # ......meta/
46 # ......serialization 45 # ......serialization
47 # ......unittest/ 46 # ......unittest/
48 # ......(more will come here) 47 # ......(more will come here)
49 # ....util/ 48 # ....util/
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 # Create and populate lib/{core, crypto, isolate, json, uri, utf, ...}. 198 # Create and populate lib/{core, crypto, isolate, json, uri, utf, ...}.
200 # 199 #
201 200
202 os.makedirs(join(LIB, 'html')) 201 os.makedirs(join(LIB, 'html'))
203 for library in ['_internal', 'async', 'collection', '_collection_dev', 'core', 202 for library in ['_internal', 'async', 'collection', '_collection_dev', 'core',
204 'crypto', 'io', 'isolate', 203 'crypto', 'io', 'isolate',
205 join('chrome', 'dart2js'), join('chrome', 'dartium'), 204 join('chrome', 'dart2js'), join('chrome', 'dartium'),
206 join('html', 'dart2js'), join('html', 'dartium'), 205 join('html', 'dart2js'), join('html', 'dartium'),
207 join('html', 'html_common'), 206 join('html', 'html_common'),
208 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'), 207 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'),
209 'json', 'math', 'mirrors', 'scalarlist', 'typeddata', 208 'json', 'math', 'mirrors', 'typeddata',
210 join('svg', 'dart2js'), join('svg', 'dartium'), 209 join('svg', 'dart2js'), join('svg', 'dartium'),
211 'uri', 'utf', 210 'uri', 'utf',
212 join('web_audio', 'dart2js'), join('web_audio', 'dartium'), 211 join('web_audio', 'dart2js'), join('web_audio', 'dartium'),
213 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]: 212 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]:
214 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library), 213 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library),
215 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh')) 214 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh'))
216 215
217 216
218 # Create and copy packages. 217 # Create and copy packages.
219 PACKAGES = join(SDK_tmp, 'packages') 218 PACKAGES = join(SDK_tmp, 'packages')
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: 285 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
287 f.write(revision + '\n') 286 f.write(revision + '\n')
288 f.close() 287 f.close()
289 288
290 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README')) 289 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README'))
291 290
292 move(SDK_tmp, SDK) 291 move(SDK_tmp, SDK)
293 292
294 if __name__ == '__main__': 293 if __name__ == '__main__':
295 sys.exit(Main(sys.argv)) 294 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