xref: /aosp_15_r20/external/webrtc/infra/specs/mixins_webrtc.pyl (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1# Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS.  All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9{
10  'android-devices': {
11    'swarming': {
12      'dimensions': {
13        'android_devices': '1',
14      },
15    },
16  },
17  'baremetal-pool': {
18    'swarming': {
19      'dimensions': {
20        'pool': 'WebRTC-baremetal',
21      },
22    },
23  },
24  'baremetal-try-pool': {
25    'swarming': {
26      'dimensions': {
27        'pool': 'WebRTC-baremetal-try',
28      },
29    },
30  },
31  'cores-12': {
32    'swarming': {
33      'dimensions': {
34        'cores': '12',
35      }
36    }
37  },
38  'hammerhead': {
39    'swarming': {
40      'dimensions': {
41        'device_type': 'hammerhead',
42        'os': 'Android'
43      }
44    }
45  },
46  'ios-device-15.7': {
47    'swarming': {
48      'dimensions': {
49        'os': 'iOS-15.7',
50        'pool': 'chrome.tests',
51      },
52    },
53  },
54  'ios-device-perf': {
55    'swarming': {
56      'idempotent': False,
57      'dimensions': {
58        'os': 'iOS-12.4.1',
59        'pool': 'WebRTC',
60        'id': 'build15-a7',
61      },
62    },
63  },
64  'ios-simulator-12.4': {
65    '$mixin_append': {
66      'args': [
67        '--platform',
68        'iPhone X',
69        '--version',
70        '12.4',
71      ],
72      'swarming': {
73        'named_caches': [
74          {
75            'name': 'runtime_ios_12_4',
76            'path': 'Runtime-ios-12.4',
77          },
78        ],
79      },
80    }
81  },
82  'ios-simulator-13.6': {
83    '$mixin_append': {
84      'args': [
85        '--platform',
86        'iPhone X',
87        '--version',
88        '13.6',
89      ],
90      'swarming': {
91        'named_caches': [
92          {
93            'name': 'runtime_ios_13_6',
94            'path': 'Runtime-ios-13.6',
95          },
96        ],
97      },
98    }
99  },
100  'ios-simulator-14.5': {
101    '$mixin_append': {
102      'args': [
103        '--platform',
104        'iPhone X',
105        '--version',
106        '14.5',
107      ],
108      'swarming': {
109        'named_caches': [
110          {
111            'name': 'runtime_ios_14_5',
112            'path': 'Runtime-ios-14.5',
113          },
114        ],
115      },
116    }
117  },
118  'mac-m1-cpu': {
119    'swarming': {
120      'dimensions': {
121        'cpu': 'arm64-64-Apple_M1',
122      }
123    }
124  },
125  'mac11': {
126    'swarming': {
127      'dimensions': {
128        'os': 'Mac-11'
129      }
130    }
131  },
132  'marshmallow_generic': {
133    'swarming': {
134      'dimensions': {
135        'device_os': 'M'
136      }
137    }
138  },
139  'perf-fuchsia-perf-tests': {
140    'merge': {
141      'script': '//tools_webrtc/perf/process_perf_results.py',
142      'args': ['--test-suite', 'fuchsia_perf_tests'],
143    },
144    '$mixin_append': {
145      'args': ['--nologs'],
146    },
147  },
148  'perf-low-bandwidth-audio-perf-test': {
149    'merge': {
150      'script': '//tools_webrtc/perf/process_perf_results.py',
151      'args': ['--test-suite', 'low_bandwidth_audio_perf_test'],
152    },
153  },
154  'perf-output': {
155    '$mixin_append': {
156      'args': [
157        '--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb',
158      ],
159    },
160  },
161  'perf-pool': {
162    'swarming': {
163      # Perf tests are marked as not idempotent, which means they're re-run even
164      # if they did not change this build. This will give the dashboard some
165      # more variance data to work with.
166      'idempotent': False,
167      'dimensions': {
168        'pool': 'WebRTC-perf',
169        'gce': '0',
170      },
171    },
172  },
173  'perf-pool-vm': {
174    'swarming': {
175      'idempotent': False,
176      'dimensions': {
177        'pool': 'WebRTC-perf',
178        'gce': '1',
179      },
180    },
181  },
182  'perf-webrtc-perf-tests': {
183    'merge': {
184      'script': '//tools_webrtc/perf/process_perf_results.py',
185      'args': ['--test-suite', 'webrtc_perf_tests'],
186    },
187    '$mixin_append': {
188      'args': ['--nologs']
189    }
190  },
191  'quick-perf-tests': {
192    '$mixin_append': {
193      'args': [
194        '--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/',
195        '--nologs',
196      ],
197    }
198  },
199  'redfin': {
200    'swarming': {
201      'dimensions': {
202        'device_type': 'redfin',
203        'os': 'Android'
204      }
205    }
206  },
207  'resultdb-gtest-json-format': {
208    '$mixin_append': {
209      'args': [
210        '--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json',
211      ],
212    },
213    'resultdb': {
214      'result_format': 'gtest_json',
215      'result_file': '${ISOLATED_OUTDIR}/gtest_output.json',
216    },
217  },
218  'resultdb-json-format': {
219    'resultdb': {
220      'result_format': 'json'
221    }
222  },
223  'shamu': {
224    'swarming': {
225      'dimensions': {
226        'device_type': 'shamu',
227        'os': 'Android',
228      },
229    },
230  },
231  'shards-2': {
232    'swarming': {
233      'shards': 2,
234    },
235  },
236  'shards-4': {
237    'swarming': {
238      'shards': 4,
239    },
240  },
241  'shards-6': {
242    'swarming': {
243      'shards': 6,
244    },
245  },
246  'timeout-2h': {
247    'swarming': {
248      'hard_timeout': 7200,
249      'io_timeout': 7200,
250    },
251  },
252  'timeout-3h': {
253    'swarming': {
254      'hard_timeout': 10800,
255      'io_timeout': 10800,
256    },
257  },
258  'webrtc-xctest': {
259    '$mixin_append': {
260      'args': [
261        '--xctest',
262      ],
263    },
264  },
265  'xcode_12d4e': {
266    '$mixin_append': {
267      'args': ['--xcode-build-version', '12d4e'],
268      'swarming': {
269        'named_caches': [{
270          'name': 'xcode_ios_12d4e',
271          'path': 'Xcode.app'
272        }]
273      }
274    }
275  },
276  'xcode_13_main': {
277    '$mixin_append': {
278      'args': ['--xcode-build-version', '13c100']
279    },
280    'swarming': {
281      'named_caches': [{
282        'name': 'xcode_ios_13c100',
283        'path': 'Xcode.app'
284      }]
285    }
286  },
287}
288