Index: tools/skp/recreate_skps.py |
diff --git a/tools/skp/recreate_skps.py b/tools/skp/recreate_skps.py |
index 7faccb7d741c7a838ae667364c245f49b2f4d8ef..f32741a055c2276c9bd0e9c73aad7e7ec02062bb 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: |