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