aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skp
diff options
context:
space:
mode:
authorGravatar rmistry <rmistry@google.com>2015-04-29 10:15:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-29 10:15:07 -0700
commit23c5f5137106221f9a00ac1e12740ee33e09767f (patch)
tree2675cc006f42b19bfe0bc73d88bb4e32165fa28b /tools/skp
parent3596482cc7b36c9f45f59c304dfb28a841229525 (diff)
Handpick 16 Skia page sets to create SP enabled SKPs from
Diffstat (limited to 'tools/skp')
-rw-r--r--tools/skp/recreate_skps.py25
1 files changed, 21 insertions, 4 deletions
diff --git a/tools/skp/recreate_skps.py b/tools/skp/recreate_skps.py
index 7faccb7d74..f32741a055 100644
--- a/tools/skp/recreate_skps.py
+++ b/tools/skp/recreate_skps.py
@@ -66,13 +66,30 @@ def main(chrome_src_path, browser_executable):
shell_utils.run(webpages_playback_cmd)
# Temporary change to enable Slimming Paint runs. See skia:3763.
- chromium_page_sets_path = os.path.join(
- chrome_src_path, 'tools', 'perf', 'page_sets')
+ skia_page_sets_path = os.path.join(
+ os.path.dirname(os.path.realpath(__file__)), 'page_sets')
+ sp_skia_page_sets = [
+ os.path.join(skia_page_sets_path, 'skia_carsvg_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_chalkboard_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_css3gradients_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_espn_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_gmailthread_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_googlehome_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_googlespreadsheet_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_jsfiddlebigcar_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_mapsvg_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_nytimes_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_samoasvg_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_tigersvg_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_ugamsolutions_desktop.py'),
+ os.path.join(skia_page_sets_path, 'skia_digg_nexus10.py'),
+ os.path.join(skia_page_sets_path, 'skia_gmail_nexus10.py'),
+ os.path.join(skia_page_sets_path, 'skia_pravda_nexus10.py'),
+ ]
webpages_playback_cmd.extend([
'--skp_prefix', 'sp_',
'--browser_extra_args', '--enable-slimming-paint',
- '--page_sets', '%s' % (
- os.path.join(chromium_page_sets_path, 'top_25_smooth.py'))
+ '--page_sets', '%s' % ','.join(sp_skia_page_sets),
])
shell_utils.run(webpages_playback_cmd)
finally: