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

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

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 | « mojo/public/tools/dart_pkg_static_analysis.py ('k') | mojo/public/tools/dartx.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/dart_snapshotter.py
diff --git a/mojo/public/tools/dart_snapshotter.py b/mojo/public/tools/dart_snapshotter.py
deleted file mode 100755
index 5726d1fa71aabe27e9629459e8c478758e0b148f..0000000000000000000000000000000000000000
--- a/mojo/public/tools/dart_snapshotter.py
+++ /dev/null
@@ -1,33 +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)
- parser.add_argument('--depfile', type=str)
- parser.add_argument('--build-output', 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,
- '--depfile=%s' % args.depfile,
- '--build-output=%s' % args.build_output,
- ])
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « mojo/public/tools/dart_pkg_static_analysis.py ('k') | mojo/public/tools/dartx.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698