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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/yaml2json.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/yaml2json.py
diff --git a/tools/yaml2json.py b/tools/yaml2json.py
new file mode 100755
index 0000000000000000000000000000000000000000..19cb28822edb046489a9f2fb6079e78a1a6f2349
--- /dev/null
+++ b/tools/yaml2json.py
@@ -0,0 +1,26 @@
+#!/usr/bin/env python
+# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+import os
+import subprocess
+import sys
+
+import utils
+
+def Main():
+ args = sys.argv[1:]
+ yaml2json_dart = os.path.relpath(
+ os.path.join(os.path.dirname(__file__), "yaml2json.dart"))
+ command = [utils.CheckedInSdkExecutable(), yaml2json_dart] + args
+
+ with utils.CoreDumpArchiver(args):
+ exit_code = subprocess.call(command)
+
+ utils.DiagnoseExitCode(exit_code, command)
+ return exit_code
+
+
+if __name__ == '__main__':
+ sys.exit(Main())
« 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