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

Side by Side Diff: sky/tools/deploy_sdk.py

Issue 1022613002: Remove custom elements examples, they are no longer maintained (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « sky/framework/elements/sky-ink-splash.sky ('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 # Copyright 2015 The Chromium Authors. All rights reserved. 2 # Copyright 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import argparse 6 import argparse
7 from datetime import datetime 7 from datetime import datetime
8 import logging 8 import logging
9 import os 9 import os
10 import shutil 10 import shutil
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 copy(os.path.join(build_dir, 'gen/sky'), 166 copy(os.path.join(build_dir, 'gen/sky'),
167 sdk_path('packages/sky/lib'), gen_filter) 167 sdk_path('packages/sky/lib'), gen_filter)
168 168
169 # Sky SDK additions: 169 # Sky SDK additions:
170 copy_or_link(src_path('sky/engine/bindings/builtin.dart'), 170 copy_or_link(src_path('sky/engine/bindings/builtin.dart'),
171 sdk_path('packages/sky/sdk_additions/dart_sky_builtins.dart')) 171 sdk_path('packages/sky/sdk_additions/dart_sky_builtins.dart'))
172 bindings_path = os.path.join(build_dir, 'gen/sky/bindings') 172 bindings_path = os.path.join(build_dir, 'gen/sky/bindings')
173 copy_or_link(os.path.join(bindings_path, 'dart_sky.dart'), 173 copy_or_link(os.path.join(bindings_path, 'dart_sky.dart'),
174 sdk_path('packages/sky/sdk_additions/dart_sky.dart')) 174 sdk_path('packages/sky/sdk_additions/dart_sky.dart'))
175 175
176 # Not used in the dev environment.
177 copy_or_link(src_path('sky/sdk/tools/sky'),
178 sdk_path('packages/sky/bin/sky'))
abarth-chromium 2015/03/18 20:36:49 Did you mean to remove this?
179
180 # Mojo package, lots of overlap with gen, must be copied: 176 # Mojo package, lots of overlap with gen, must be copied:
181 copy(src_path('mojo/public'), sdk_path('packages/mojo/lib/public'), 177 copy(src_path('mojo/public'), sdk_path('packages/mojo/lib/public'),
182 dart_filter) 178 dart_filter)
183 copy(os.path.join(build_dir, 'gen/mojo'), sdk_path('packages/mojo/lib'), 179 copy(os.path.join(build_dir, 'gen/mojo'), sdk_path('packages/mojo/lib'),
184 gen_filter) 180 gen_filter)
185 181
186 # Mojo SDK additions: 182 # Mojo SDK additions:
187 copy_or_link(src_path('mojo/public/dart/bindings.dart'), 183 copy_or_link(src_path('mojo/public/dart/bindings.dart'),
188 sdk_path('packages/mojo/sdk_additions/dart_mojo_bindings.dart')) 184 sdk_path('packages/mojo/sdk_additions/dart_mojo_bindings.dart'))
189 copy_or_link(src_path('mojo/public/dart/dart_mojo_core.dart'), 185 copy_or_link(src_path('mojo/public/dart/dart_mojo_core.dart'),
(...skipping 30 matching lines...) Expand all
220 'git', 'commit', 216 'git', 'commit',
221 '-m', '%s from %s' % (rel_build_dir, git_revision()) 217 '-m', '%s from %s' % (rel_build_dir, git_revision())
222 ], cwd=sdk_root) 218 ], cwd=sdk_root)
223 219
224 time_delta = datetime.now() - start_time 220 time_delta = datetime.now() - start_time
225 print 'SDK built at %s in %ss' % (sdk_root, time_delta.total_seconds()) 221 print 'SDK built at %s in %ss' % (sdk_root, time_delta.total_seconds())
226 222
227 223
228 if __name__ == '__main__': 224 if __name__ == '__main__':
229 main() 225 main()
OLDNEW
« no previous file with comments | « sky/framework/elements/sky-ink-splash.sky ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698