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

Side by Side Diff: sky/sdk/lib/sky_tool

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/sdk/lib/framework/theme/view_configuration.dart ('k') | sky/sdk/packages/mojo/CHANGELOG.md » ('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 # 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 import json 7 import json
8 import logging 8 import logging
9 import os 9 import os
10 import re 10 import re
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 args = parser.parse_args() 278 args = parser.parse_args()
279 pids = Pids.read_from(PID_FILE_PATH, PID_FILE_KEYS) 279 pids = Pids.read_from(PID_FILE_PATH, PID_FILE_KEYS)
280 exit_code = args.func(args, pids) 280 exit_code = args.func(args, pids)
281 # We could do this with an at-exit handler instead? 281 # We could do this with an at-exit handler instead?
282 pids.write_to(PID_FILE_PATH) 282 pids.write_to(PID_FILE_PATH)
283 sys.exit(exit_code) 283 sys.exit(exit_code)
284 284
285 285
286 if __name__ == '__main__': 286 if __name__ == '__main__':
287 SkyShellRunner().main() 287 SkyShellRunner().main()
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/theme/view_configuration.dart ('k') | sky/sdk/packages/mojo/CHANGELOG.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698