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

Side by Side Diff: scripts/slave/recipes/chromium_clang_upload.py

Issue 1858343002: Give the clang upload bots shorter names. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: . Created 4 years, 8 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 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 from recipe_engine.types import freeze
6
7 DEPS = [
8 'depot_tools/bot_update',
9 'chromium',
10 'file',
11 'gsutil',
12 'recipe_engine/path',
13 'recipe_engine/platform',
14 'recipe_engine/properties',
15 'recipe_engine/python',
16 'recipe_engine/step',
17 ]
18
19
20 BUILDERS = freeze({
21 'tryserver.chromium.linux': {
22 'builders': {
23 'linux_chromium_clang_upload': {
24 'chromium_config_kwargs': {
25 'BUILD_CONFIG': 'Release',
26 'TARGET_PLATFORM': 'linux',
27 'TARGET_BITS': 64,
28 },
29
30 # We need this to build the Clang toolchain
31 # with proper AddressSanitizer prebuilts for
32 # Chrome on Android.
33 'gclient_apply_config': ['android'],
34 },
35 },
36 },
37 'tryserver.chromium.mac': {
38 'builders': {
39 'mac_chromium_clang_upload': {
40 'chromium_config_kwargs': {
41 'BUILD_CONFIG': 'Release',
42 'TARGET_PLATFORM': 'mac',
43 'TARGET_BITS': 64,
44 },
45 },
46 },
47 },
48 'tryserver.chromium.win': {
49 'builders': {
50 'win_chromium_clang_upload': {
51 'chromium_config_kwargs': {
52 'BUILD_CONFIG': 'Release',
53 'TARGET_PLATFORM': 'win',
54 'TARGET_BITS': 32,
55 },
56 },
57 },
58 },
59 })
60
61
62 def RunSteps(api):
63 _, bot_config = api.chromium.configure_bot(BUILDERS)
64
65 api.bot_update.ensure_checkout(
66 force=True, patch_root=bot_config.get('root_override'))
67
68 api.python('download binutils',
69 api.path['checkout'].join('third_party', 'binutils', 'download.py'))
70
71 api.python(
72 'package clang',
73 api.path['checkout'].join('tools', 'clang', 'scripts', 'package.py'),
74 args=['--upload'])
75
76
77 def GenTests(api):
78 for test in api.chromium.gen_tests_for_builders(BUILDERS):
79 yield test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698