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

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

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 import copy
6 import os
7 import sys
8
5 from . import chromium_linux 9 from . import chromium_linux
6 from . import chromium_mac 10 from . import chromium_mac
7 from . import chromium_win 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__))))))
8 from common.skia import builder_name_schema 18 from common.skia import builder_name_schema
9 import copy
10 19
11 # The Skia config just clones some regular Chromium builders, except that they 20 # The Skia config just clones some regular Chromium builders, except that they
12 # use an up-to-date Skia. 21 # use an up-to-date Skia.
13 22
14 # This list specifies which Chromium builders to "copy". 23 # This list specifies which Chromium builders to "copy".
15 _builders = [ 24 _builders = [
16 # SPEC Module Test Spec File Builder Names 25 # SPEC Module Test Spec File Builder Names
17 (chromium_linux, 'chromium.linux.json', ['Linux Builder', 'Linux Tests']), 26 (chromium_linux, 'chromium.linux.json', ['Linux Builder', 'Linux Tests']),
18 (chromium_win, 'chromium.win.json', ['Win Builder', 'Win7 Tests (1)']), 27 (chromium_win, 'chromium.win.json', ['Win Builder', 'Win7 Tests (1)']),
19 (chromium_mac, 'chromium.mac.json', ['Mac Builder', 'Mac10.9 Tests']), 28 (chromium_mac, 'chromium.mac.json', ['Mac Builder', 'Mac10.9 Tests']),
20 ] 29 ]
21 30
22 SPEC = { 31 SPEC = {
23 'settings': { 32 'settings': {
24 'build_gs_bucket': 'chromium-skia-gm', 33 'build_gs_bucket': 'chromium-skia-gm',
25 }, 34 },
26 'builders': {}, 35 'builders': {},
27 } 36 }
28 37
29 for spec_module, test_spec_file, builders_list in _builders: 38 for spec_module, test_spec_file, builders_list in _builders:
30 for builder in builders_list: 39 for builder in builders_list:
31 for builder_name in (builder, builder_name_schema.TrybotName(builder)): 40 for builder_name in (builder, builder_name_schema.TrybotName(builder)):
32 builder_cfg = copy.deepcopy(spec_module.SPEC['builders'][builder]) 41 builder_cfg = copy.deepcopy(spec_module.SPEC['builders'][builder])
33 builder_cfg['gclient_config'] = 'chromium_skia' 42 builder_cfg['gclient_config'] = 'chromium_skia'
34 builder_cfg['testing']['test_spec_file'] = test_spec_file 43 builder_cfg['testing']['test_spec_file'] = test_spec_file
35 builder_cfg['patch_root'] = 'src/third_party/skia' 44 builder_cfg['patch_root'] = 'src/third_party/skia'
36 SPEC['builders'][builder_name] = builder_cfg 45 SPEC['builders'][builder_name] = builder_cfg
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromium/api.py ('k') | scripts/slave/recipe_modules/chromium/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698