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

Side by Side Diff: infra/bots/download_skps.py

Issue 2167763002: Add "skp" asset (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Backpedal: Don't get rid of old SKPs yet Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « infra/bots/common.py ('k') | tools/skp/recreate_skps.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 #
3 # Copyright 2016 Google Inc.
4 #
5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file.
7
8
9 import common
10 import os
11 import sys
12
13
14 def main():
15 if len(sys.argv) != 1:
16 print >> sys.stderr, 'Usage: download_skps.py'
17 sys.exit(1)
18 skia_dir = os.path.abspath(os.path.join(
19 os.path.dirname(os.path.realpath(__file__)),
20 os.pardir, os.pardir))
21 dst_dir = os.path.join(skia_dir, os.pardir, 'skps')
22 tmp_dir = os.path.join(skia_dir, os.pardir, 'tmp')
23 common.download_dir(skia_dir, tmp_dir, common.VERSION_FILE_SKP,
24 common.GS_SUBDIR_TMPL_SKP, dst_dir)
25
26
27 if __name__ == '__main__':
28 main()
OLDNEW
« no previous file with comments | « infra/bots/common.py ('k') | tools/skp/recreate_skps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698