Index: tools/buildbot_spec.py |
diff --git a/tools/buildbot_spec.py b/tools/buildbot_spec.py |
index cc38281261ae7b4b1ce499ee920668601ea9eaf2..d818518eadaa9683e51d8260ac2ed379de7e7809 100755 |
--- a/tools/buildbot_spec.py |
+++ b/tools/buildbot_spec.py |
@@ -147,6 +147,11 @@ def gyp_defines(builder_dict): |
if builder_dict.get('extra_config') == 'Android_FrameworkDefs': |
gyp_defs['skia_use_android_framework_defines'] = '1' |
+ # Skia dump stats for perf tests and gpu |
+ if (builder_dict.get('cpu_or_gpu') == 'GPU' and |
+ builder_dict.get('role') == 'Perf'): |
+ gyp_defs['skia_dump_stats'] = '1' |
+ |
return gyp_defs |