• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2021 The ANGLE Project 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# This is a .pyl, or "Python Literal", file. You can treat it just like a
6# .json file, with the following exceptions:
7# * all keys must be quoted (use single quotes, please);
8# * comments are allowed, using '#' syntax; and
9# * trailing commas are allowed.
10
11{
12  # This is a map of builder group names -> builder names -> config names
13  # (where each config name is a key in the 'configs' dict, below). MB uses
14  # this dict to look up which config to use for a given bot.
15  'builder_groups': {
16    'angle': {
17      'android-arm-compile': 'angle_goma_android_arm_release_bot',
18      'android-arm-dbg-compile': 'angle_goma_android_arm_debug_bot',
19      'android-arm64-dbg-compile': 'angle_goma_android_arm64_debug_bot',
20      'android-arm64-exp-test': 'angle_goma_android_arm64_release_bot',
21      'android-arm64-test': 'angle_goma_android_arm64_release_bot',
22      'android-pixel4-perf': 'angle_goma_android_perf_bot',
23      'android-pixel6-perf': 'angle_goma_android_perf_bot',
24      'linux-asan-test': 'angle_asan_lsan_ubsan_bot',
25      'linux-dbg-compile': 'angle_goma_debug_bot',
26      'linux-exp-asan-test': 'angle_asan_lsan_ubsan_bot',
27      'linux-exp-test': 'angle_goma_release_bot',
28      'linux-exp-tsan-test': 'angle_tsan_bot',
29      'linux-intel-uhd630-perf': 'angle_goma_perf_bot',
30      'linux-nvidia-gtx1660-perf': 'angle_goma_perf_bot',
31      'linux-test': 'angle_goma_release_bot',
32      'linux-tsan-test': 'angle_tsan_bot',
33      'linux-ubsan-test': 'angle_ubsan_bot',
34      'mac-dbg-compile': 'angle_goma_debug_bot',
35      'mac-exp-test': 'angle_goma_release_bot',
36      'mac-test': 'angle_goma_release_bot',
37      'win-asan-test': 'angle_asan_bot',
38      'win-dbg-compile': 'angle_goma_debug_bot',
39      'win-exp-test': 'angle_goma_release_bot',
40      'win-msvc-compile': 'angle_non_clang_release_bot',
41      'win-msvc-dbg-compile': 'angle_non_clang_debug_bot',
42      'win-msvc-x86-compile': 'angle_non_clang_x86_release_bot',
43      'win-msvc-x86-dbg-compile': 'angle_non_clang_x86_debug_bot',
44      'win-test': 'angle_goma_release_bot',
45      'win-x86-dbg-compile': 'angle_goma_x86_debug_bot',
46      'win-x86-test': 'angle_goma_x86_release_bot',
47      'win10-intel-uhd630-perf': 'angle_goma_perf_bot',
48      'win10-nvidia-gtx1660-perf': 'angle_goma_perf_bot',
49      'winuwp-compile': 'angle_winuwp_non_clang_release_bot',
50      'winuwp-dbg-compile': 'angle_winuwp_non_clang_debug_bot',
51    },
52  },
53
54  # This is the list of configs that you can pass to mb; each config
55  # represents a particular combination of gn args that
56  # we must support. A given config *may* be platform-specific but
57  # is not necessarily so (i.e., we might have mac, win, and linux
58  # bots all using the 'release_bot' config).
59  'configs': {
60    'angle_asan_bot': ['angle', 'opencl', 'goma', 'asan', 'release', 'desktop'],
61    'angle_asan_lsan_ubsan_bot': ['angle', 'opencl', 'goma', 'asan', 'lsan', 'ubsan', 'release', 'desktop'],
62    'angle_goma_android_arm64_debug_bot': ['angle', 'opencl', 'goma', 'android', 'arm64', 'debug'],
63    'angle_goma_android_arm64_release_bot': ['angle', 'opencl', 'goma', 'android', 'arm64', 'release'],
64    'angle_goma_android_arm_debug_bot': ['angle', 'opencl', 'goma', 'android', 'arm', 'debug'],
65    'angle_goma_android_arm_release_bot': ['angle', 'opencl', 'goma', 'android', 'arm', 'release'],
66    'angle_goma_android_perf_bot': ['angle', 'goma', 'android', 'arm64', 'perf'],
67    'angle_goma_debug_bot': ['angle', 'opencl', 'goma', 'debug', 'desktop'],
68    'angle_goma_perf_bot': ['angle', 'goma', 'perf'],
69    'angle_goma_release_bot': ['angle', 'capture', 'opencl', 'goma', 'release', 'desktop'],
70    'angle_goma_x86_debug_bot': ['angle', 'opencl', 'goma', 'x86', 'debug', 'desktop'],
71    'angle_goma_x86_release_bot': ['angle', 'opencl', 'goma', 'x86', 'release', 'desktop'],
72    'angle_non_clang_debug_bot': ['angle', 'opencl', 'non_clang', 'debug', 'desktop'],
73    'angle_non_clang_release_bot': ['angle', 'opencl', 'non_clang', 'release', 'desktop'],
74    'angle_non_clang_x86_debug_bot': ['angle', 'opencl', 'non_clang', 'x86', 'debug'],
75    'angle_non_clang_x86_release_bot': ['angle', 'opencl', 'non_clang', 'x86', 'release'],
76    'angle_tsan_bot': ['angle', 'opencl', 'goma', 'tsan', 'release', 'desktop'],
77    'angle_ubsan_bot': ['angle', 'opencl', 'goma', 'ubsan', 'release', 'desktop'],
78    'angle_winuwp_non_clang_debug_bot': ['angle', 'winuwp', 'non_clang', 'debug'],
79    'angle_winuwp_non_clang_release_bot': ['angle', 'winuwp', 'non_clang', 'release'],
80  },
81
82  # This is a dict mapping a given 'mixin' name to a dict of settings that
83  # mb should use. See //tools/mb/docs/user_guide.md for more information.
84  'mixins': {
85    'android': {
86      'gn_args': 'target_os="android"',
87    },
88    'angle': {
89      'gn_args': 'is_component_build=true',
90    },
91    'arm': {
92      'gn_args': 'target_cpu="arm"',
93    },
94    'arm64': {
95      'gn_args': 'target_cpu="arm64"',
96    },
97    'asan': {
98      'gn_args': 'is_asan=true',
99    },
100    'capture': {
101      'gn_args': 'angle_with_capture_by_default=true',
102    },
103    'debug': {
104      'gn_args': 'is_debug=true',
105    },
106    'desktop': {
107      'gn_args': 'angle_enable_gl_desktop_frontend=true',
108    },
109    'goma': {
110      'gn_args': 'use_goma=true',
111    },
112    'lsan': {
113      'gn_args': 'is_lsan=true',
114    },
115    'non_clang': {
116      'gn_args': 'is_clang=false',
117    },
118    'opencl': {
119      'gn_args': 'angle_enable_cl=true',
120    },
121    'perf': {
122      'gn_args': 'is_debug=false dcheck_always_on=false symbol_level=1',
123    },
124    'release': {
125      'gn_args': 'is_debug=false dcheck_always_on=true symbol_level=1',
126    },
127    'tsan': {
128      'gn_args': 'is_tsan=true',
129    },
130    'ubsan': {
131      'gn_args': 'is_ubsan=true',
132    },
133    'winuwp': {
134      'gn_args': 'target_os="winuwp"',
135    },
136    'x86': {
137      'gn_args': 'target_cpu="x86"',
138    },
139  },
140}
141