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

Unified Diff: infra/bots/download_images.py

Issue 1743113003: Add test_skia.py, isolates for test_skia, images, skps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 4 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 | « infra/bots/compile_skia.py ('k') | infra/bots/download_skps.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/download_images.py
diff --git a/infra/bots/download_images.py b/infra/bots/download_images.py
new file mode 100644
index 0000000000000000000000000000000000000000..4342a9f1a6a55b74a59e68966cc9b3be1632701d
--- /dev/null
+++ b/infra/bots/download_images.py
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+#
+# Copyright 2016 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+import common
+import os
+import sys
+
+
+def main():
+ if len(sys.argv) != 1:
+ print >> sys.stderr, 'Usage: download_images.py'
+ sys.exit(1)
+ skia_dir = os.path.abspath(os.path.join(
+ os.path.dirname(os.path.realpath(__file__)),
+ os.pardir, os.pardir))
+ dst_dir = os.path.join(skia_dir, os.pardir, 'images')
+ tmp_dir = os.path.join(skia_dir, os.pardir, 'tmp')
+ common.download_dir(skia_dir, tmp_dir, common.VERSION_FILE_SK_IMAGE,
+ common.GS_SUBDIR_TMPL_SK_IMAGE, dst_dir)
+
+
+if __name__ == '__main__':
+ main()
« no previous file with comments | « infra/bots/compile_skia.py ('k') | infra/bots/download_skps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698