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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/chromium_clang_upload.py
diff --git a/scripts/slave/recipes/chromium_clang_upload.py b/scripts/slave/recipes/chromium_clang_upload.py
deleted file mode 100644
index 2dfb6dd452defdfb7f3781ab20a62bbbfee980e1..0000000000000000000000000000000000000000
--- a/scripts/slave/recipes/chromium_clang_upload.py
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 2016 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from recipe_engine.types import freeze
-
-DEPS = [
- 'depot_tools/bot_update',
- 'chromium',
- 'file',
- 'gsutil',
- 'recipe_engine/path',
- 'recipe_engine/platform',
- 'recipe_engine/properties',
- 'recipe_engine/python',
- 'recipe_engine/step',
-]
-
-
-BUILDERS = freeze({
- 'tryserver.chromium.linux': {
- 'builders': {
- 'linux_chromium_clang_upload': {
- 'chromium_config_kwargs': {
- 'BUILD_CONFIG': 'Release',
- 'TARGET_PLATFORM': 'linux',
- 'TARGET_BITS': 64,
- },
-
- # We need this to build the Clang toolchain
- # with proper AddressSanitizer prebuilts for
- # Chrome on Android.
- 'gclient_apply_config': ['android'],
- },
- },
- },
- 'tryserver.chromium.mac': {
- 'builders': {
- 'mac_chromium_clang_upload': {
- 'chromium_config_kwargs': {
- 'BUILD_CONFIG': 'Release',
- 'TARGET_PLATFORM': 'mac',
- 'TARGET_BITS': 64,
- },
- },
- },
- },
- 'tryserver.chromium.win': {
- 'builders': {
- 'win_chromium_clang_upload': {
- 'chromium_config_kwargs': {
- 'BUILD_CONFIG': 'Release',
- 'TARGET_PLATFORM': 'win',
- 'TARGET_BITS': 32,
- },
- },
- },
- },
-})
-
-
-def RunSteps(api):
- _, bot_config = api.chromium.configure_bot(BUILDERS)
-
- api.bot_update.ensure_checkout(
- force=True, patch_root=bot_config.get('root_override'))
-
- api.python('download binutils',
- api.path['checkout'].join('third_party', 'binutils', 'download.py'))
-
- api.python(
- 'package clang',
- api.path['checkout'].join('tools', 'clang', 'scripts', 'package.py'),
- args=['--upload'])
-
-
-def GenTests(api):
- for test in api.chromium.gen_tests_for_builders(BUILDERS):
- yield test

Powered by Google App Engine
This is Rietveld 408576698