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

Side by Side Diff: tools/create_sdk.py

Issue 253393003: Remove leftover file in lib/crypto directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « sdk/lib/crypto/crypto_sources.gypi ('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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 join(INCLUDE, 'dart_native_api.h')) 183 join(INCLUDE, 'dart_native_api.h'))
184 184
185 # 185 #
186 # Create and populate sdk/lib. 186 # Create and populate sdk/lib.
187 # 187 #
188 188
189 LIB = join(SDK_tmp, 'lib') 189 LIB = join(SDK_tmp, 'lib')
190 os.makedirs(LIB) 190 os.makedirs(LIB)
191 191
192 # 192 #
193 # Create and populate lib/{core, crypto, isolate, ...}. 193 # Create and populate lib/{async, core, isolate, ...}.
194 # 194 #
195 195
196 os.makedirs(join(LIB, 'html')) 196 os.makedirs(join(LIB, 'html'))
197 197
198 for library in [join('_chrome', 'dart2js'), join('_chrome', 'dartium'), 198 for library in [join('_chrome', 'dart2js'), join('_chrome', 'dartium'),
199 join('_internal', 'compiler'), 199 join('_internal', 'compiler'),
200 join('_internal', 'lib'), 200 join('_internal', 'lib'),
201 'async', 'collection', 'convert', 'core', 201 'async', 'collection', 'convert', 'core',
202 'crypto', 'internal', 'io', 'isolate', 202 'internal', 'io', 'isolate',
203 join('html', 'dart2js'), join('html', 'dartium'), 203 join('html', 'dart2js'), join('html', 'dartium'),
204 join('html', 'html_common'), 204 join('html', 'html_common'),
205 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'), 205 join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'),
206 'js', 'math', 'mirrors', 'typed_data', 'profiler', 206 'js', 'math', 'mirrors', 'typed_data', 'profiler',
207 join('svg', 'dart2js'), join('svg', 'dartium'), 207 join('svg', 'dart2js'), join('svg', 'dartium'),
208 join('web_audio', 'dart2js'), join('web_audio', 'dartium'), 208 join('web_audio', 'dart2js'), join('web_audio', 'dartium'),
209 join('web_gl', 'dart2js'), join('web_gl', 'dartium'), 209 join('web_gl', 'dart2js'), join('web_gl', 'dartium'),
210 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]: 210 join('web_sql', 'dart2js'), join('web_sql', 'dartium')]:
211 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library), 211 copytree(join(HOME, 'sdk', 'lib', library), join(LIB, library),
212 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh', 212 ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f: 259 with open(os.path.join(SDK_tmp, 'revision'), 'w') as f:
260 f.write(revision + '\n') 260 f.write(revision + '\n')
261 f.close() 261 f.close()
262 262
263 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README')) 263 Copy(join(HOME, 'README.dart-sdk'), join(SDK_tmp, 'README'))
264 264
265 move(SDK_tmp, SDK) 265 move(SDK_tmp, SDK)
266 266
267 if __name__ == '__main__': 267 if __name__ == '__main__':
268 sys.exit(Main(sys.argv)) 268 sys.exit(Main(sys.argv))
OLDNEW
« no previous file with comments | « sdk/lib/crypto/crypto_sources.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698