• 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-test': 'angle_goma_android_arm64_release_bot',
21      'android-pixel4-perf': 'angle_goma_android_perf_bot',
22      'linux-asan-test': 'angle_asan_bot',
23      'linux-dbg-compile': 'angle_goma_debug_bot',
24      'linux-intel-hd630-perf': 'angle_goma_perf_bot',
25      'linux-nvidia-p400-perf': 'angle_goma_perf_bot',
26      'linux-test': 'angle_goma_release_bot',
27      'linux-tsan-test': 'angle_tsan_bot',
28      'linux-ubsan-test': 'angle_ubsan_bot',
29      'mac-dbg-compile': 'angle_goma_debug_bot',
30      'mac-test': 'angle_goma_release_bot',
31      'win-asan-test': 'angle_asan_bot',
32      'win-dbg-compile': 'angle_goma_debug_bot',
33      'win-msvc-compile': 'angle_non_clang_release_bot',
34      'win-msvc-dbg-compile': 'angle_non_clang_debug_bot',
35      'win-msvc-x86-compile': 'angle_non_clang_x86_release_bot',
36      'win-msvc-x86-dbg-compile': 'angle_non_clang_x86_debug_bot',
37      'win-test': 'angle_goma_release_bot',
38      'win-x86-dbg-compile': 'angle_goma_x86_debug_bot',
39      'win-x86-test': 'angle_goma_x86_release_bot',
40      'win10-intel-hd630-perf': 'angle_goma_perf_bot',
41      'win10-nvidia-p400-perf': 'angle_goma_perf_bot',
42      'winuwp-compile': 'angle_winuwp_non_clang_release_bot',
43      'winuwp-dbg-compile': 'angle_winuwp_non_clang_debug_bot',
44    },
45  },
46
47  # This is the list of configs that you can pass to mb; each config
48  # represents a particular combination of gn args that
49  # we must support. A given config *may* be platform-specific but
50  # is not necessarily so (i.e., we might have mac, win, and linux
51  # bots all using the 'release_bot' config).
52  'configs': {
53    'angle_asan_bot': ['angle', 'opencl', 'traces', 'goma', 'asan', 'release'],
54    'angle_goma_android_arm64_debug_bot': ['angle', 'opencl', 'traces', 'goma', 'android', 'arm64', 'debug'],
55    'angle_goma_android_arm64_release_bot': ['angle', 'opencl', 'traces', 'goma', 'android', 'arm64', 'release'],
56    'angle_goma_android_arm_debug_bot': ['angle', 'opencl', 'traces', 'goma', 'android', 'arm', 'debug'],
57    'angle_goma_android_arm_release_bot': ['angle', 'opencl', 'traces', 'goma', 'android', 'arm', 'release'],
58    'angle_goma_android_perf_bot': ['angle', 'traces', 'goma', 'android', 'arm64', 'perf'],
59    'angle_goma_debug_bot': ['angle', 'opencl', 'traces', 'goma', 'debug'],
60    'angle_goma_perf_bot': ['angle', 'traces', 'goma', 'perf'],
61    'angle_goma_release_bot': ['angle', 'opencl', 'traces', 'goma', 'release'],
62    'angle_goma_x86_debug_bot': ['angle', 'opencl', 'traces', 'goma', 'x86', 'debug'],
63    'angle_goma_x86_release_bot': ['angle', 'opencl', 'traces', 'goma', 'x86', 'release'],
64    'angle_non_clang_debug_bot': ['angle', 'opencl', 'non_clang', 'debug'],
65    'angle_non_clang_release_bot': ['angle', 'opencl', 'non_clang', 'release'],
66    'angle_non_clang_x86_debug_bot': ['angle', 'opencl', 'non_clang', 'x86', 'debug'],
67    'angle_non_clang_x86_release_bot': ['angle', 'opencl', 'non_clang', 'x86', 'release'],
68    'angle_tsan_bot': ['angle', 'opencl', 'traces', 'goma', 'tsan', 'release'],
69    'angle_ubsan_bot': ['angle', 'opencl', 'traces', 'goma', 'ubsan', 'release'],
70    'angle_winuwp_non_clang_debug_bot': ['angle', 'winuwp', 'non_clang', 'debug'],
71    'angle_winuwp_non_clang_release_bot': ['angle', 'winuwp', 'non_clang', 'release'],
72  },
73
74  # This is a dict mapping a given 'mixin' name to a dict of settings that
75  # mb should use. See //tools/mb/docs/user_guide.md for more information.
76  'mixins': {
77    'android': {
78      'gn_args': 'target_os="android"',
79    },
80    'angle': {
81      'gn_args': 'build_angle_gles1_conform_tests=true is_component_build=true',
82    },
83    'asan': {
84      'gn_args': 'is_asan=true',
85    },
86    'opencl': {
87      'gn_args': 'angle_enable_cl=true',
88    },
89    'arm': {
90      'gn_args': 'target_cpu="arm"',
91    },
92    'arm64': {
93      'gn_args': 'target_cpu="arm64"',
94    },
95    'debug': {
96      'gn_args': 'is_debug=true',
97    },
98    'goma': {
99      'gn_args': 'use_goma=true',
100    },
101    'non_clang': {
102      'gn_args': 'is_clang=false build_angle_deqp_tests=false',
103    },
104    'perf': {
105      'gn_args': 'is_debug=false dcheck_always_on=false symbol_level=1',
106    },
107    'release': {
108      'gn_args': 'is_debug=false dcheck_always_on=true symbol_level=1',
109    },
110    'traces': {
111      'gn_args': 'build_angle_trace_perf_tests=true',
112    },
113    'tsan': {
114      'gn_args': 'is_tsan=true',
115    },
116    'ubsan': {
117      'gn_args': 'is_ubsan=true',
118    },
119    'winuwp': {
120      'gn_args': 'target_os="winuwp"',
121    },
122    'x86': {
123      'gn_args': 'target_cpu="x86"',
124    },
125  },
126}
127