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

Unified Diff: mojo/public/tools/dartx.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_snapshotter.py ('k') | mojo/public/tools/download_dart_snapshotter.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/dartx.py
diff --git a/mojo/public/tools/dartx.py b/mojo/public/tools/dartx.py
deleted file mode 100755
index 0ca84e9a8aea7b09500cee56cfe784362ed5618b..0000000000000000000000000000000000000000
--- a/mojo/public/tools/dartx.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.
-
-"""Creates a dartx archive.
-"""
-
-import argparse
-import os
-import sys
-import zipfile
-
-def main():
- parser = argparse.ArgumentParser(description='dartx packager.')
- parser.add_argument('--snapshot',
- help='Snapshot file.',
- type=str)
- parser.add_argument('--output',
- help='Path to output archive.',
- type=str)
- arguments = parser.parse_args()
-
- snapshot = arguments.snapshot
- output = arguments.output
-
- with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as outfile:
- outfile.write(snapshot, 'snapshot_blob.bin')
-
- return 0
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « mojo/public/tools/dart_snapshotter.py ('k') | mojo/public/tools/download_dart_snapshotter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698