| 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 'depot_tools/infra_paths', |
| 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 'skia', |
| 16 ] | 17 ] |
| 17 | 18 |
| 18 | 19 |
| 19 TEST_BUILDERS = { | 20 TEST_BUILDERS = { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 for slavename, builders_by_slave in slaves.iteritems(): | 62 for slavename, builders_by_slave in slaves.iteritems(): |
| 62 for builder in builders_by_slave: | 63 for builder in builders_by_slave: |
| 63 test = ( | 64 test = ( |
| 64 api.test(builder) + | 65 api.test(builder) + |
| 65 api.properties(buildername=builder, | 66 api.properties(buildername=builder, |
| 66 mastername=mastername, | 67 mastername=mastername, |
| 67 slavename=slavename, | 68 slavename=slavename, |
| 68 buildnumber=5, | 69 buildnumber=5, |
| 69 revision='abc123', | 70 revision='abc123', |
| 70 swarm_out_dir='[SWARM_OUT_DIR]') + | 71 swarm_out_dir='[SWARM_OUT_DIR]') + |
| 71 api.path.exists( | 72 api.infra_paths.exists( |
| 72 api.path['slave_build'].join('skia'), | 73 api.infra_paths['slave_build'].join('skia'), |
| 73 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 74 api.infra_paths['slave_build'].join('tmp', 'uninteresting_hashes.t
xt') |
| 74 ) | 75 ) |
| 75 ) | 76 ) |
| 76 if ('Android' in builder and | 77 if ('Android' in builder and |
| 77 ('Test' in builder or 'Perf' in builder) and | 78 ('Test' in builder or 'Perf' in builder) and |
| 78 not 'Appurify' in builder): | 79 not 'Appurify' in builder): |
| 79 test += AndroidTestData(builder) | 80 test += AndroidTestData(builder) |
| 80 if 'Trybot' in builder: | 81 if 'Trybot' in builder: |
| 81 test += api.properties(issue=500, | 82 test += api.properties(issue=500, |
| 82 patchset=1, | 83 patchset=1, |
| 83 rietveld='https://codereview.chromium.org') | 84 rietveld='https://codereview.chromium.org') |
| 84 if 'Win' in builder: | 85 if 'Win' in builder: |
| 85 test += api.platform('win', 64) | 86 test += api.platform('win', 64) |
| 86 | 87 |
| 87 yield test | 88 yield test |
| OLD | NEW |