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

Side by Side Diff: tools/yaml2json.py

Issue 2698003003: Proposal: Add YAML file with VM patch file information. (Closed)
Patch Set: Add reference to issue 28836. Created 3 years, 10 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 | « tools/yaml2json.dart ('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
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file.
5
6 import os
7 import subprocess
8 import sys
9
10 import utils
11
12 def Main():
13 args = sys.argv[1:]
14 yaml2json_dart = os.path.relpath(
15 os.path.join(os.path.dirname(__file__), "yaml2json.dart"))
16 command = [utils.CheckedInSdkExecutable(), yaml2json_dart] + args
17
18 with utils.CoreDumpArchiver(args):
19 exit_code = subprocess.call(command)
20
21 utils.DiagnoseExitCode(exit_code, command)
22 return exit_code
23
24
25 if __name__ == '__main__':
26 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/yaml2json.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698