Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Side by Side Diff: scripts/slave/recipe_modules/chromium/client_skia.py

Issue 1185693002: Move builders.py and steps.py to chromium_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Address review comments. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2014 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 import copy
6 import os
7 import sys
8
9 from . import chromium_linux
10 from . import chromium_mac
11 from . import chromium_win
12
13 # TODO(luqui): Separate the skia common scripts out so we can make this
14 # independent of build/.
15 sys.path.append(
16 os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(
17 os.path.abspath(__file__))))))
18 from common.skia import builder_name_schema
19
20 # The Skia config just clones some regular Chromium builders, except that they
21 # use an up-to-date Skia.
22
23 # This list specifies which Chromium builders to "copy".
24 _builders = [
25 # SPEC Module Test Spec File Builder Names
26 (chromium_linux, 'chromium.linux.json', ['Linux Builder', 'Linux Tests']),
27 (chromium_win, 'chromium.win.json', ['Win Builder', 'Win7 Tests (1)']),
28 (chromium_mac, 'chromium.mac.json', ['Mac Builder', 'Mac10.9 Tests']),
29 ]
30
31 SPEC = {
32 'settings': {
33 'build_gs_bucket': 'chromium-skia-gm',
34 },
35 'builders': {},
36 }
37
38 for spec_module, test_spec_file, builders_list in _builders:
39 for builder in builders_list:
40 for builder_name in (builder, builder_name_schema.TrybotName(builder)):
41 builder_cfg = copy.deepcopy(spec_module.SPEC['builders'][builder])
42 builder_cfg['gclient_config'] = 'chromium_skia'
43 builder_cfg['testing']['test_spec_file'] = test_spec_file
44 builder_cfg['patch_root'] = 'src/third_party/skia'
45 SPEC['builders'][builder_name] = builder_cfg
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromium/chromium_win.py ('k') | scripts/slave/recipe_modules/chromium/client_v8_fyi.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698