| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 # Recipe module for Skia Swarming perf. | 6 # Recipe module for Skia Swarming perf. |
| 7 | 7 |
| 8 | 8 |
| 9 DEPS = [ | 9 DEPS = [ |
| 10 'core', |
| 10 'recipe_engine/json', | 11 'recipe_engine/json', |
| 11 'recipe_engine/path', | 12 'recipe_engine/path', |
| 12 'recipe_engine/platform', | 13 'recipe_engine/platform', |
| 13 'recipe_engine/properties', | 14 'recipe_engine/properties', |
| 14 'recipe_engine/raw_io', | 15 'recipe_engine/raw_io', |
| 15 'skia', | 16 'run', |
| 16 ] | 17 ] |
| 17 | 18 |
| 18 | 19 |
| 19 TEST_BUILDERS = { | 20 TEST_BUILDERS = { |
| 20 'client.skia': { | 21 'client.skia': { |
| 21 'skiabot-linux-swarm-000': [ | 22 'skiabot-linux-swarm-000': [ |
| 22 'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Release', | 23 'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Release', |
| 23 'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug', | 24 'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug', |
| 24 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', | 25 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', |
| 25 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 26 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
| 26 'Perf-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', | 27 'Perf-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', |
| 27 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-VisualBench', | 28 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-VisualBench', |
| 28 ], | 29 ], |
| 29 }, | 30 }, |
| 30 } | 31 } |
| 31 | 32 |
| 32 | 33 |
| 33 def RunSteps(api): | 34 def RunSteps(api): |
| 34 api.skia.setup() | 35 api.core.setup() |
| 35 api.skia.perf_steps() | 36 api.core.perf_steps() |
| 36 api.skia.cleanup_steps() | 37 api.core.cleanup_steps() |
| 37 api.skia.check_failure() | 38 api.run.check_failure() |
| 38 | 39 |
| 39 | 40 |
| 40 def GenTests(api): | 41 def GenTests(api): |
| 41 def AndroidTestData(builder): | 42 def AndroidTestData(builder): |
| 42 test_data = ( | 43 test_data = ( |
| 43 api.step_data( | 44 api.step_data( |
| 44 'get EXTERNAL_STORAGE dir', | 45 'get EXTERNAL_STORAGE dir', |
| 45 stdout=api.raw_io.output('/storage/emulated/legacy')) + | 46 stdout=api.raw_io.output('/storage/emulated/legacy')) + |
| 46 api.step_data( | 47 api.step_data( |
| 47 'adb root', | 48 'adb root', |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 api.path.exists( | 112 api.path.exists( |
| 112 api.path['slave_build'].join('skia'), | 113 api.path['slave_build'].join('skia'), |
| 113 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', | 114 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', |
| 114 'skimage', 'VERSION'), | 115 'skimage', 'VERSION'), |
| 115 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', | 116 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', |
| 116 'skp', 'VERSION'), | 117 'skp', 'VERSION'), |
| 117 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 118 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
| 118 ) + | 119 ) + |
| 119 api.platform('win', 64) | 120 api.platform('win', 64) |
| 120 ) | 121 ) |
| OLD | NEW |