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

Side by Side Diff: tools/skp/webpages_playback.py

Issue 2393043003: webpages_playback: use new skia-skps bucket (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Archives or replays webpages and creates SKPs in a Google Storage location. 6 """Archives or replays webpages and creates SKPs in a Google Storage location.
7 7
8 To archive webpages and store SKP files (archives should be rarely updated): 8 To archive webpages and store SKP files (archives should be rarely updated):
9 9
10 cd skia 10 cd skia
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 option_parser.add_option( 557 option_parser.add_option(
558 '', '--upload_to_partner_bucket', action='store_true', 558 '', '--upload_to_partner_bucket', action='store_true',
559 help=('Uploads SKPs to the chrome-partner-telemetry Google Storage ' 559 help=('Uploads SKPs to the chrome-partner-telemetry Google Storage '
560 'bucket if true.'), 560 'bucket if true.'),
561 default=False) 561 default=False)
562 option_parser.add_option( 562 option_parser.add_option(
563 '', '--data_store', 563 '', '--data_store',
564 help=('The location of the file storage to use to download and upload ' 564 help=('The location of the file storage to use to download and upload '
565 'files. Can be \'gs://<bucket>\' for Google Storage, or ' 565 'files. Can be \'gs://<bucket>\' for Google Storage, or '
566 'a directory for local filesystem storage'), 566 'a directory for local filesystem storage'),
567 default='gs://chromium-skia-gm') 567 default='gs://skia-skps')
568 option_parser.add_option( 568 option_parser.add_option(
569 '', '--alternate_upload_dir', 569 '', '--alternate_upload_dir',
570 help= ('Uploads to a different directory in Google Storage or local ' 570 help= ('Uploads to a different directory in Google Storage or local '
571 'storage if this flag is specified'), 571 'storage if this flag is specified'),
572 default=None) 572 default=None)
573 option_parser.add_option( 573 option_parser.add_option(
574 '', '--output_dir', 574 '', '--output_dir',
575 help=('Temporary directory where SKPs and webpage archives will be ' 575 help=('Temporary directory where SKPs and webpage archives will be '
576 'outputted to.'), 576 'outputted to.'),
577 default=tempfile.gettempdir()) 577 default=tempfile.gettempdir())
(...skipping 15 matching lines...) Expand all
593 '--skia_tools is specified then the debugger is not run.', 593 '--skia_tools is specified then the debugger is not run.',
594 default=False) 594 default=False)
595 option_parser.add_option( 595 option_parser.add_option(
596 '', '--skp_prefix', 596 '', '--skp_prefix',
597 help='Prefix to add to the names of generated SKPs.', 597 help='Prefix to add to the names of generated SKPs.',
598 default=None) 598 default=None)
599 options, unused_args = option_parser.parse_args() 599 options, unused_args = option_parser.parse_args()
600 600
601 playback = SkPicturePlayback(options) 601 playback = SkPicturePlayback(options)
602 sys.exit(playback.Run()) 602 sys.exit(playback.Run())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698