Recreate SKPs in a single directory for trusted partners.
Context: https://bugs.chromium.org/p/skia/issues/detail?id=3751#c15 BUG=skia:3751 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1662693002 # Trybots do not run this code NOTRY=true TBR=borenet Review URL: https://codereview.chromium.org/1662693002
This commit is contained in:
parent
0700651128
commit
8870e94fe3
@ -377,11 +377,10 @@ class SkPicturePlayback(object):
|
||||
partner_gs = GoogleStorageDataStore(PARTNERS_GS_BUCKET)
|
||||
partner_gs.upload_dir_contents(
|
||||
os.path.join(LOCAL_PLAYBACK_ROOT_DIR, SKPICTURES_DIR_NAME),
|
||||
dest_dir=posixpath.join(SKPICTURES_DIR_NAME, dest_dir_name),
|
||||
dest_dir=SKPICTURES_DIR_NAME,
|
||||
upload_if=gs_utils.GSUtils.UploadIf.IF_MODIFIED)
|
||||
print '\n\n=======New SKPs have been uploaded to %s =======\n\n' % (
|
||||
posixpath.join(partner_gs.target_name(), SKPICTURES_DIR_NAME,
|
||||
dest_dir_name))
|
||||
posixpath.join(partner_gs.target_name(), SKPICTURES_DIR_NAME))
|
||||
else:
|
||||
print '\n\n=======Not Uploading to %s=======\n\n' % self.gs.target_type()
|
||||
print 'Generated resources are available in %s\n\n' % (
|
||||
|
Loading…
Reference in New Issue
Block a user