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

Unified Diff: sky/tools/download_sky_server

Issue 746373002: Convert sky_server over to a go-based http server. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: address review comments Created 6 years 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 | « no previous file | sky/tools/sky_server » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/download_sky_server
diff --git a/sky/tools/download_sky_server b/sky/tools/download_sky_server
new file mode 100755
index 0000000000000000000000000000000000000000..b29f6a3067c0968b8d7e9961a5bcbbaa49659149
--- /dev/null
+++ b/sky/tools/download_sky_server
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# Copyright (c) 2014 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 subprocess
+
+from webkitpy.common.system import filesystem
+from webkitpy.common.webkit_finder import WebKitFinder
+
+finder = WebKitFinder(filesystem.FileSystem())
+
+subprocess.call([
+ 'download_from_google_storage',
+ '--no_resume',
+ '--no_auth',
+ '--bucket', 'mojo',
+ '--sha1_file', finder.path_from_chromium_base('sky', 'tools', 'skygo', 'sky_server.sha1'),
+ '--output', finder.path_from_chromium_base('out', 'downloads', 'sky_server')
+])
« no previous file with comments | « no previous file | sky/tools/sky_server » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698