borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | |
| 6 | # Recipe module for Skia Swarming compile. |
| 7 | |
| 8 | |
| 9 | DEPS = [ |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 10 | 'recipe_engine/path', |
| 11 | 'recipe_engine/platform', |
| 12 | 'recipe_engine/properties', |
Eric Boren | 6441a46 | 2017-01-13 13:37:53 -0500 | [diff] [blame] | 13 | 'skia-recipes/compile', |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 14 | ] |
| 15 | |
| 16 | |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 17 | def RunSteps(api): |
Eric Boren | 2b861d3 | 2017-01-12 08:15:38 -0500 | [diff] [blame] | 18 | api.compile.run() |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 19 | |
| 20 | |
| 21 | def GenTests(api): |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 22 | yield ( |
Eric Boren | 5de544b | 2017-01-12 08:46:20 -0500 | [diff] [blame] | 23 | api.test('Build-Mac-Clang-Arm7-Release') + |
| 24 | api.properties(buildername='Build-Mac-Clang-Arm7-Release-iOS', |
| 25 | mastername='fake-master', |
| 26 | slavename='fake-slave', |
| 27 | buildnumber=5, |
Eric Boren | ad29aee | 2017-01-17 14:35:06 -0500 | [diff] [blame^] | 28 | repository='https://skia.googlesource.com/skia.git', |
Eric Boren | 5de544b | 2017-01-12 08:46:20 -0500 | [diff] [blame] | 29 | revision='abc123', |
| 30 | path_config='kitchen', |
| 31 | swarm_out_dir='[SWARM_OUT_DIR]') + |
| 32 | api.path.exists( |
| 33 | api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
| 34 | ) |
borenet | 98b2e7a | 2016-10-13 06:23:45 -0700 | [diff] [blame] | 35 | ) |