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

Side by Side Diff: tools/create_sdk.py

Issue 538513002: Move js library back into compiler directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/language/language_dart2js.status ('k') | tools/testing/dart/compiler_configuration.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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 # 197 #
198 # Create and populate lib/{async, core, isolate, ...}. 198 # Create and populate lib/{async, core, isolate, ...}.
199 # 199 #
200 200
201 os.makedirs(join(LIB, 'html')) 201 os.makedirs(join(LIB, 'html'))
202 202
203 for library in [join('_blink', 'dartium'), 203 for library in [join('_blink', 'dartium'),
204 join('_chrome', 'dart2js'), join('_chrome', 'dartium'), 204 join('_chrome', 'dart2js'), join('_chrome', 'dartium'),
205 join('_internal', 'compiler'), 205 join('_internal', 'compiler'),
206 join('_internal', 'lib'),
207 'async', 'collection', 'convert', 'core', 206 'async', 'collection', 'convert', 'core',
208 'internal', 'io', 'isolate', 207 'internal', 'io', 'isolate',
209 join('html', 'dart2js'), join('html', 'dartium'), 208 join('html', 'dart2js'), join('html', 'dartium'),
210 join('html', 'html_common'), 209 join('html', 'html_common'),
211 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'), 210 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'),
212 'js', 'math', 'mirrors', 'typed_data', 'profiler', 211 'js', 'math', 'mirrors', 'typed_data', 'profiler',
213 join('svg', 'dart2js'), join('svg', 'dartium'), 212 join('svg', 'dart2js'), join('svg', 'dartium'),
214 join('web_audio', 'dart2js'), join('web_audio', 'dartium'), 213 join('web_audio', 'dart2js'), join('web_audio', 'dartium'),
215 join('web_gl', 'dart2js'), join('web_gl', 'dartium'), 214 join('web_gl', 'dart2js'), join('web_gl', 'dartium'),
216 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]: 215 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]:
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: 257 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
259 f.write(revision + '\n') 258 f.write(revision + '\n')
260 f.close() 259 f.close()
261 260
262 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README')) 261 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README'))
263 262
264 move(SDK_tmp, SDK) 263 move(SDK_tmp, SDK)
265 264
266 if __name__ == '__main__': 265 if __name__ == '__main__':
267 sys.exit(Main()) 266 sys.exit(Main())
OLDNEW
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tools/testing/dart/compiler_configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698