blob: 4217354a508ec0eca1d5f8280af4f20bacebaf35 [file] [log] [blame]
borenet1ed2ae42016-07-26 11:52:17 -07001# 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
9DEPS = [
borenet1ed2ae42016-07-26 11:52:17 -070010 'recipe_engine/path',
11 'recipe_engine/platform',
12 'recipe_engine/properties',
Eric Boren6441a462017-01-13 13:37:53 -050013 'skia-recipes/compile',
borenet1ed2ae42016-07-26 11:52:17 -070014]
15
16
borenet1ed2ae42016-07-26 11:52:17 -070017def RunSteps(api):
Eric Boren2b861d32017-01-12 08:15:38 -050018 api.compile.run()
borenet1ed2ae42016-07-26 11:52:17 -070019
20
21def GenTests(api):
borenet1ed2ae42016-07-26 11:52:17 -070022 yield (
Eric Boren5de544b2017-01-12 08:46:20 -050023 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 Borenad29aee2017-01-17 14:35:06 -050028 repository='https://skia.googlesource.com/skia.git',
Eric Boren5de544b2017-01-12 08:46:20 -050029 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 )
borenet98b2e7a2016-10-13 06:23:45 -070035 )