| Index: scripts/slave/recipe_modules/libyuv/builders.py
|
| diff --git a/scripts/slave/recipes/libyuv/libyuv.py b/scripts/slave/recipe_modules/libyuv/builders.py
|
| similarity index 87%
|
| copy from scripts/slave/recipes/libyuv/libyuv.py
|
| copy to scripts/slave/recipe_modules/libyuv/builders.py
|
| index 67d8cbbd5bb6029f64c2dfa4ee2762b0ca0a9689..385694163743750947dd5e92989e6bc574df4e01 100644
|
| --- a/scripts/slave/recipes/libyuv/libyuv.py
|
| +++ b/scripts/slave/recipe_modules/libyuv/builders.py
|
| @@ -1,25 +1,12 @@
|
| -# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# 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.
|
|
|
| -"""
|
| -Recipe for building and running tests for Libyuv stand-alone.
|
| -"""
|
| +# Contains the bulk of the libyuv builder configurations to improve readability
|
| +# of the recipe.
|
|
|
| from recipe_engine.types import freeze
|
|
|
| -DEPS = [
|
| - 'depot_tools/bot_update',
|
| - 'chromium',
|
| - 'depot_tools/gclient',
|
| - 'libyuv',
|
| - 'recipe_engine/path',
|
| - 'recipe_engine/platform',
|
| - 'recipe_engine/properties',
|
| - 'recipe_engine/step',
|
| - 'depot_tools/tryserver',
|
| -]
|
| -
|
| RECIPE_CONFIGS = freeze({
|
| 'libyuv': {
|
| 'chromium_config': 'libyuv',
|
| @@ -57,6 +44,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win32 Release (VS2010)': {
|
| @@ -66,6 +54,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Debug (VS2010)': {
|
| @@ -75,6 +64,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Release (VS2010)': {
|
| @@ -84,6 +74,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win32 Debug (VS2012)': {
|
| @@ -93,6 +84,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win32 Release (VS2012)': {
|
| @@ -102,6 +94,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Debug (VS2012)': {
|
| @@ -111,6 +104,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Release (VS2012)': {
|
| @@ -120,6 +114,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win32 Debug (VS2013)': {
|
| @@ -129,6 +124,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win32 Release (VS2013)': {
|
| @@ -138,6 +134,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Debug (VS2013)': {
|
| @@ -147,6 +144,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Release (VS2013)': {
|
| @@ -156,6 +154,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win32 Debug (Clang)': {
|
| @@ -164,6 +163,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win32 Release (Clang)': {
|
| @@ -172,6 +172,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Debug (Clang)': {
|
| @@ -180,6 +181,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Release (Clang)': {
|
| @@ -188,6 +190,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Debug (GN)': {
|
| @@ -197,6 +200,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Win64 Release (GN)': {
|
| @@ -206,6 +210,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'Mac64 Debug': {
|
| @@ -214,6 +219,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'Mac64 Release': {
|
| @@ -222,6 +228,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'Mac64 Debug (GN)': {
|
| @@ -231,6 +238,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'Mac64 Release (GN)': {
|
| @@ -240,6 +248,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'Mac Asan': {
|
| @@ -249,6 +258,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'iOS Debug': {
|
| @@ -259,6 +269,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_PLATFORM': 'ios',
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'iOS Release': {
|
| @@ -269,6 +280,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_PLATFORM': 'ios',
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'iOS ARM64 Debug': {
|
| @@ -279,6 +291,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_PLATFORM': 'ios',
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'iOS ARM64 Release': {
|
| @@ -289,6 +302,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_PLATFORM': 'ios',
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'Linux32 Debug': {
|
| @@ -297,6 +311,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux32 Release': {
|
| @@ -305,6 +320,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux64 Debug': {
|
| @@ -313,6 +329,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux64 Release': {
|
| @@ -321,6 +338,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux64 Debug (GN)': {
|
| @@ -330,6 +348,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux64 Release (GN)': {
|
| @@ -339,6 +358,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux GCC': {
|
| @@ -347,6 +367,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux Asan': {
|
| @@ -356,6 +377,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux Memcheck': {
|
| @@ -366,6 +388,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux MSan': {
|
| @@ -376,6 +399,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux Tsan v2': {
|
| @@ -385,6 +409,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux UBSan': {
|
| @@ -394,6 +419,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Linux UBSan vptr': {
|
| @@ -403,6 +429,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Android Debug': {
|
| @@ -413,6 +440,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Android Release': {
|
| @@ -423,6 +451,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Android ARM64 Debug': {
|
| @@ -433,6 +462,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Android Clang Debug': {
|
| @@ -443,6 +473,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Android32 x86 Debug': {
|
| @@ -487,6 +518,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'Android Release (GN)': {
|
| @@ -498,6 +530,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| },
|
| @@ -510,6 +543,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'win_rel': {
|
| @@ -518,6 +552,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'win_x64_rel': {
|
| @@ -526,6 +561,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'win_clang': {
|
| @@ -534,6 +570,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'win_clang_rel': {
|
| @@ -542,6 +579,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'win_x64_clang_rel': {
|
| @@ -550,6 +588,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'win_x64_gn': {
|
| @@ -559,6 +598,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'win_x64_gn_rel': {
|
| @@ -568,6 +608,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'win'},
|
| },
|
| 'mac': {
|
| @@ -576,6 +617,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'mac_rel': {
|
| @@ -584,6 +626,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'mac_gn': {
|
| @@ -593,6 +636,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'mac_gn_rel': {
|
| @@ -602,6 +646,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'mac_asan': {
|
| @@ -611,6 +656,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'ios': {
|
| @@ -621,6 +667,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_PLATFORM': 'ios',
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'ios_rel': {
|
| @@ -631,6 +678,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_PLATFORM': 'ios',
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'ios_arm64': {
|
| @@ -641,6 +689,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_PLATFORM': 'ios',
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'ios_arm64_rel': {
|
| @@ -651,6 +700,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_PLATFORM': 'ios',
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'mac'},
|
| },
|
| 'linux': {
|
| @@ -659,6 +709,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_rel': {
|
| @@ -667,6 +718,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_gn': {
|
| @@ -676,6 +728,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Debug',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_gn_rel': {
|
| @@ -685,6 +738,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_gcc': {
|
| @@ -693,6 +747,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_asan': {
|
| @@ -702,6 +757,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_memcheck': {
|
| @@ -712,6 +768,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_msan': {
|
| @@ -722,6 +779,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_tsan2': {
|
| @@ -731,6 +789,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_ubsan': {
|
| @@ -740,6 +799,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'linux_ubsan_vptr': {
|
| @@ -749,6 +809,7 @@ BUILDERS = freeze({
|
| 'BUILD_CONFIG': 'Release',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder_tester',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'android': {
|
| @@ -759,6 +820,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'android_rel': {
|
| @@ -769,6 +831,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'android_clang': {
|
| @@ -779,6 +842,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'android_arm64': {
|
| @@ -789,6 +853,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'android_x86': {
|
| @@ -799,6 +864,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'intel',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'android_x64': {
|
| @@ -809,6 +875,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'intel',
|
| 'TARGET_BITS': 64,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'android_mips': {
|
| @@ -819,6 +886,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'mipsel',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'android_gn': {
|
| @@ -830,6 +898,7 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| 'android_gn_rel': {
|
| @@ -841,86 +910,9 @@ BUILDERS = freeze({
|
| 'TARGET_ARCH': 'arm',
|
| 'TARGET_BITS': 32,
|
| },
|
| + 'bot_type': 'builder',
|
| 'testing': {'platform': 'linux'},
|
| },
|
| },
|
| },
|
| })
|
| -
|
| -def RunSteps(api):
|
| - mastername = api.properties.get('mastername')
|
| - buildername = api.properties.get('buildername')
|
| - master_dict = BUILDERS.get(mastername, {})
|
| - bot_config = master_dict.get('builders', {}).get(buildername)
|
| - assert bot_config, ('Unrecognized builder name "%r" for master "%r".' %
|
| - (buildername, mastername))
|
| - recipe_config_name = bot_config['recipe_config']
|
| - recipe_config = RECIPE_CONFIGS.get(recipe_config_name)
|
| - assert recipe_config, ('Cannot find recipe_config "%s" for builder "%r".' %
|
| - (recipe_config_name, buildername))
|
| -
|
| - api.chromium.set_config(recipe_config['chromium_config'],
|
| - **bot_config.get('chromium_config_kwargs', {}))
|
| - api.gclient.set_config(recipe_config['gclient_config'])
|
| - for c in bot_config.get('gclient_apply_config', []):
|
| - api.gclient.apply_config(c)
|
| - for c in bot_config.get('chromium_apply_config', []):
|
| - api.chromium.apply_config(c)
|
| -
|
| - if api.tryserver.is_tryserver:
|
| - api.chromium.apply_config('trybot_flavor')
|
| -
|
| - api.bot_update.ensure_checkout(force=True)
|
| - api.chromium.ensure_goma()
|
| - api.chromium.runhooks()
|
| -
|
| - if api.chromium.c.project_generator.tool == 'gn':
|
| - api.chromium.run_gn(use_goma=True)
|
| - api.chromium.compile(targets=['all'])
|
| - else:
|
| - api.chromium.compile()
|
| - if api.chromium.c.TARGET_PLATFORM in ('win', 'mac', 'linux'):
|
| - api.chromium.runtest('libyuv_unittest')
|
| -
|
| -
|
| -def _sanitize_nonalpha(text):
|
| - return ''.join(c if c.isalnum() else '_' for c in text.lower())
|
| -
|
| -
|
| -def GenTests(api):
|
| - def generate_builder(mastername, buildername, revision, suffix=None):
|
| - suffix = suffix or ''
|
| - bot_config = BUILDERS[mastername]['builders'][buildername]
|
| -
|
| - chromium_kwargs = bot_config.get('chromium_config_kwargs', {})
|
| - test = (
|
| - api.test('%s_%s%s' % (_sanitize_nonalpha(mastername),
|
| - _sanitize_nonalpha(buildername), suffix)) +
|
| - api.properties(mastername=mastername,
|
| - buildername=buildername,
|
| - slavename='slavename',
|
| - BUILD_CONFIG=chromium_kwargs['BUILD_CONFIG']) +
|
| - api.platform(bot_config['testing']['platform'],
|
| - chromium_kwargs.get('TARGET_BITS', 64))
|
| - )
|
| -
|
| - if revision:
|
| - test += api.properties(revision=revision)
|
| -
|
| - if mastername.startswith('tryserver'):
|
| - test += api.properties(patch_url='try_job_svn_patch')
|
| - return test
|
| -
|
| - for mastername, master_config in BUILDERS.iteritems():
|
| - for buildername in master_config['builders'].keys():
|
| - yield generate_builder(mastername, buildername, revision='12345')
|
| -
|
| - # Forced builds (not specifying any revision) and test failures.
|
| - mastername = 'client.libyuv'
|
| - yield generate_builder(mastername, 'Linux64 Debug', revision=None,
|
| - suffix='_forced')
|
| - yield generate_builder(mastername, 'Android Debug', revision=None,
|
| - suffix='_forced')
|
| -
|
| - yield generate_builder('tryserver.libyuv', 'linux', revision=None,
|
| - suffix='_forced')
|
|
|