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

Unified Diff: third_party/mojo/src/mojo/public/tools/dart_snapshotter.py

Issue 1348903003: third_party/mojo: Remove python/go/dart bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « third_party/mojo/src/mojo/public/tools/dart_pkg.py ('k') | third_party/mojo/src/mojo/public/tools/dartx.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/public/tools/dart_snapshotter.py
diff --git a/third_party/mojo/src/mojo/public/tools/dart_snapshotter.py b/third_party/mojo/src/mojo/public/tools/dart_snapshotter.py
deleted file mode 100755
index 5727fd01890df53377d49593cc1b9fd6a71e8118..0000000000000000000000000000000000000000
--- a/third_party/mojo/src/mojo/public/tools/dart_snapshotter.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import argparse
-import subprocess
-import sys
-import os
-
-def main():
- parser = argparse.ArgumentParser(description='Snapshots Mojo applications')
- parser.add_argument('executable', type=str)
- parser.add_argument('main', type=str)
- parser.add_argument('--package-root', type=str)
- parser.add_argument('--snapshot', type=str)
-
- args = parser.parse_args()
- if not os.path.isfile(args.executable):
- print "file not found: " + args.executable
- return subprocess.check_call([
- args.executable,
- args.main,
- '--package-root=%s' % args.package_root,
- '--snapshot=%s' % args.snapshot,
- ])
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « third_party/mojo/src/mojo/public/tools/dart_pkg.py ('k') | third_party/mojo/src/mojo/public/tools/dartx.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698