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

Side by Side Diff: scripts/slave/recipe_modules/chromium/chromium_linux.py

Issue 1185693002: Move builders.py and steps.py to chromium_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Address review comments. Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium 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 from . import steps
6
7 SPEC = {
8 'settings': {
9 'build_gs_bucket': 'chromium-linux-archive',
10 },
11 'builders': {
12 'Linux ARM': {
13 'chromium_config': 'chromium',
14 'gclient_config': 'chromium',
15 'chromium_config_kwargs': {
16 'BUILD_CONFIG': 'Release',
17 'TARGET_ARCH': 'arm',
18 'TARGET_BITS': 32,
19 },
20 'bot_type': 'builder',
21 'compile_targets': [
22 'all',
23 ],
24 'use_isolate': True,
25 'testing': {
26 'platform': 'linux',
27 },
28 },
29 'Linux Builder': {
30 'chromium_config': 'chromium',
31 'gclient_config': 'chromium',
32 'chromium_config_kwargs': {
33 'BUILD_CONFIG': 'Release',
34 'TARGET_BITS': 64,
35 },
36 'bot_type': 'builder',
37 'compile_targets': [
38 'chromium_swarm_tests',
39 ],
40 'testing': {
41 'platform': 'linux',
42 },
43 'use_isolate': True,
44 'enable_swarming': True,
45 },
46 'Linux Tests': {
47 'chromium_config': 'chromium',
48 'gclient_config': 'chromium',
49 'chromium_config_kwargs': {
50 'BUILD_CONFIG': 'Release',
51 'TARGET_BITS': 64,
52 },
53 'bot_type': 'tester',
54 'test_generators': [
55 steps.generate_gtest,
56 steps.generate_script,
57 ],
58 'parent_buildername': 'Linux Builder',
59 'testing': {
60 'platform': 'linux',
61 },
62 'enable_swarming': True,
63 },
64 'Linux Builder (dbg)(32)': {
65 'chromium_config': 'chromium',
66 'gclient_config': 'chromium',
67 'chromium_config_kwargs': {
68 'BUILD_CONFIG': 'Debug',
69 'TARGET_BITS': 32,
70 },
71 'bot_type': 'builder',
72 'compile_targets': [
73 'google_apis_unittests',
74 'sync_integration_tests',
75 ],
76 'testing': {
77 'platform': 'linux',
78 },
79 'use_isolate': True,
80 'enable_swarming': True,
81 # Temporary hack because the binaries are too large to be isolated.
82 'GYP_DEFINES': {
83 'fastbuild': 2,
84 },
85 },
86 'Linux Tests (dbg)(1)(32)': {
87 'chromium_config': 'chromium',
88 'gclient_config': 'chromium',
89 'chromium_config_kwargs': {
90 'BUILD_CONFIG': 'Debug',
91 'TARGET_BITS': 32,
92 },
93 'bot_type': 'tester',
94 'test_generators': [
95 steps.generate_gtest,
96 steps.generate_script,
97 ],
98 'parent_buildername': 'Linux Builder (dbg)(32)',
99 'testing': {
100 'platform': 'linux',
101 },
102 'enable_swarming': True,
103 },
104
105 'Linux Builder (dbg)': {
106 'chromium_config': 'chromium',
107 'gclient_config': 'chromium',
108 'chromium_config_kwargs': {
109 'BUILD_CONFIG': 'Debug',
110 'TARGET_BITS': 64,
111 },
112 'bot_type': 'builder',
113 'testing': {
114 'platform': 'linux',
115 },
116 'enable_swarming': True,
117 'use_isolate': True,
118 },
119 'Linux Tests (dbg)(1)': {
120 'chromium_config': 'chromium',
121 'gclient_config': 'chromium',
122 'chromium_config_kwargs': {
123 'BUILD_CONFIG': 'Debug',
124 'TARGET_BITS': 64,
125 },
126 'bot_type': 'tester',
127 'test_generators': [
128 steps.generate_gtest,
129 steps.generate_script,
130 ],
131 'parent_buildername': 'Linux Builder (dbg)',
132 'testing': {
133 'platform': 'linux',
134 },
135 'enable_swarming': True,
136 },
137
138 'Android Arm64 Builder (dbg)': {
139 'chromium_config': 'android',
140 'gclient_config': 'chromium',
141 'gclient_apply_config': ['android'],
142 'chromium_config_kwargs': {
143 'BUILD_CONFIG': 'Debug',
144 'TARGET_BITS': 64,
145 'TARGET_PLATFORM': 'android',
146 },
147 'android_config': 'arm64_builder',
148 'testing': {
149 'platform': 'linux',
150 },
151 },
152 'Android Builder (dbg)': {
153 'chromium_config': 'android',
154 'gclient_config': 'chromium',
155 'gclient_apply_config': ['android'],
156 'chromium_config_kwargs': {
157 'BUILD_CONFIG': 'Debug',
158 'TARGET_BITS': 32,
159 'TARGET_PLATFORM': 'android',
160 },
161 'android_config': 'main_builder',
162 'bot_type': 'builder',
163 'testing': {
164 'platform': 'linux',
165 },
166 },
167 'Android Tests (dbg)': {
168 'chromium_config': 'android',
169 'gclient_config': 'chromium',
170 'gclient_apply_config': ['android'],
171 'chromium_config_kwargs': {
172 'BUILD_CONFIG': 'Debug',
173 'TARGET_BITS': 32,
174 'TARGET_PLATFORM': 'android',
175 },
176 'bot_type': 'tester',
177 'parent_buildername': 'Android Builder (dbg)',
178 'android_config': 'main_builder',
179 'root_devices': True,
180 'tests': [
181 steps.AndroidInstrumentationTest(
182 'AndroidWebViewTest', 'android_webview_test_apk',
183 isolate_file_path='android_webview/android_webview_test_apk.isolate' ,
184 adb_install_apk=(
185 'AndroidWebView.apk', 'org.chromium.android_webview.shell')),
186 steps.AndroidInstrumentationTest(
187 'ChromePublicTest', 'chrome_public_test_apk',
188 isolate_file_path='chrome/chrome_public_test_apk.isolate',
189 adb_install_apk=('ChromePublic.apk', 'org.chromium.chrome')),
190 steps.AndroidInstrumentationTest(
191 'ChromeShellTest', 'chrome_shell_test_apk',
192 isolate_file_path='chrome/chrome_shell_test_apk.isolate',
193 adb_install_apk=(
194 'ChromeShell.apk', 'org.chromium.chrome.shell')),
195 steps.AndroidInstrumentationTest(
196 'ContentShellTest', 'content_shell_test_apk',
197 isolate_file_path='content/content_shell_test_apk.isolate',
198 adb_install_apk=(
199 'ContentShell.apk', 'org.chromium.content_shell_apk')),
200 steps.AndroidInstrumentationTest(
201 'ChromeSyncShellTest', 'chrome_sync_shell_test_apk',
202 adb_install_apk=(
203 'ChromeSyncShell.apk', 'org.chromium.chrome.browser.sync')),
204 steps.GTestTest('android_webview_unittests'),
205 steps.GTestTest(
206 'base_unittests',
207 android_isolate_path='base/base_unittests.isolate'),
208 steps.GTestTest(
209 'breakpad_unittests',
210 override_compile_targets=['breakpad_unittests_deps'],
211 android_isolate_path='breakpad/breakpad_unittests.isolate'),
212 steps.GTestTest('cc_unittests'),
213 steps.GTestTest(
214 'components_unittests',
215 android_isolate_path='components/components_unittests.isolate'),
216 steps.GTestTest(
217 'content_browsertests',
218 android_isolate_path='content/content_browsertests.isolate'),
219 steps.GTestTest(
220 'content_unittests',
221 android_isolate_path='content/content_unittests.isolate'),
222 steps.GTestTest('device_unittests'),
223 steps.GTestTest('events_unittests'),
224 steps.GTestTest('gl_tests'),
225 steps.GTestTest('gl_unittests'),
226 steps.GTestTest('gpu_unittests'),
227 steps.GTestTest('ipc_tests'),
228 steps.GTestTest(
229 'media_unittests',
230 android_isolate_path='media/media_unittests.isolate'),
231 steps.GTestTest(
232 'net_unittests',
233 android_isolate_path='net/net_unittests.isolate'),
234 steps.GTestTest(
235 'sandbox_linux_unittests',
236 override_compile_targets=['sandbox_linux_unittests_deps']),
237 steps.GTestTest(
238 'sql_unittests',
239 android_isolate_path='sql/sql_unittests.isolate'),
240 steps.GTestTest(
241 'sync_unit_tests',
242 android_isolate_path='sync/sync_unit_tests.isolate'),
243 steps.GTestTest('ui_android_unittests'),
244 steps.GTestTest(
245 'ui_base_unittests',
246 android_isolate_path='ui/base/ui_base_tests.isolate'),
247 steps.GTestTest('ui_touch_selection_unittests'),
248 steps.GTestTest(
249 'unit_tests',
250 android_isolate_path='chrome/unit_tests.isolate'),
251 steps.AndroidJunitTest('base_junit_tests'),
252 steps.AndroidJunitTest('chrome_junit_tests'),
253 steps.AndroidJunitTest('content_junit_tests'),
254 steps.AndroidJunitTest('junit_unit_tests'),
255 ],
256 'test_generators': [
257 steps.generate_gtest,
258 steps.generate_script,
259 ],
260 'testing': {
261 'platform': 'linux',
262 },
263 },
264
265 'Android Builder': {
266 'chromium_config': 'android',
267 'gclient_config': 'chromium',
268 'gclient_apply_config': ['android'],
269 'chromium_config_kwargs': {
270 'BUILD_CONFIG': 'Release',
271 'TARGET_BITS': 32,
272 'TARGET_PLATFORM': 'android',
273 },
274 'android_config': 'main_builder',
275 'bot_type': 'builder',
276 'testing': {
277 'platform': 'linux',
278 },
279 },
280 'Android Tests': {
281 'chromium_config': 'android',
282 'gclient_config': 'chromium',
283 'gclient_apply_config': ['android'],
284 'chromium_config_kwargs': {
285 'BUILD_CONFIG': 'Release',
286 'TARGET_BITS': 32,
287 'TARGET_PLATFORM': 'android',
288 },
289 'bot_type': 'tester',
290 'parent_buildername': 'Android Builder',
291 'android_config': 'main_builder',
292 'root_devices': True,
293 'tests': [
294 steps.AndroidInstrumentationTest(
295 'AndroidWebViewTest', 'android_webview_test_apk',
296 isolate_file_path='android_webview/android_webview_test_apk.isolate' ,
297 adb_install_apk=(
298 'AndroidWebView.apk', 'org.chromium.android_webview.shell')),
299 steps.AndroidInstrumentationTest(
300 'ChromePublicTest', 'chrome_public_test_apk',
301 isolate_file_path='chrome/chrome_public_test_apk.isolate',
302 adb_install_apk=('ChromePublic.apk', 'org.chromium.chrome')),
303 steps.AndroidInstrumentationTest(
304 'ChromeShellTest', 'chrome_shell_test_apk',
305 isolate_file_path='chrome/chrome_shell_test_apk.isolate',
306 adb_install_apk=(
307 'ChromeShell.apk', 'org.chromium.chrome.shell')),
308 steps.AndroidInstrumentationTest(
309 'ContentShellTest', 'content_shell_test_apk',
310 isolate_file_path='content/content_shell_test_apk.isolate',
311 adb_install_apk=(
312 'ContentShell.apk', 'org.chromium.content_shell_apk')),
313 steps.AndroidInstrumentationTest(
314 'ChromeSyncShellTest', 'chrome_sync_shell_test_apk',
315 adb_install_apk=(
316 'ChromeSyncShell.apk', 'org.chromium.chrome.browser.sync')),
317 steps.GTestTest('android_webview_unittests'),
318 steps.GTestTest(
319 'base_unittests',
320 android_isolate_path='base/base_unittests.isolate'),
321 steps.GTestTest(
322 'breakpad_unittests',
323 override_compile_targets=['breakpad_unittests_deps'],
324 android_isolate_path='breakpad/breakpad_unittests.isolate'),
325 steps.GTestTest('cc_unittests'),
326 steps.GTestTest(
327 'components_unittests',
328 android_isolate_path='components/components_unittests.isolate'),
329 steps.GTestTest(
330 'content_browsertests',
331 android_isolate_path='content/content_browsertests.isolate'),
332 steps.GTestTest(
333 'content_unittests',
334 android_isolate_path='content/content_unittests.isolate'),
335 steps.GTestTest('device_unittests'),
336 steps.GTestTest('events_unittests'),
337 steps.GTestTest('gl_tests'),
338 steps.GTestTest('gl_unittests'),
339 steps.GTestTest('gpu_unittests'),
340 steps.GTestTest('ipc_tests'),
341 steps.GTestTest(
342 'media_unittests',
343 android_isolate_path='media/media_unittests.isolate'),
344 steps.GTestTest(
345 'net_unittests',
346 android_isolate_path='net/net_unittests.isolate'),
347 steps.GTestTest(
348 'sandbox_linux_unittests',
349 override_compile_targets=['sandbox_linux_unittests_deps']),
350 steps.GTestTest(
351 'sql_unittests',
352 android_isolate_path='sql/sql_unittests.isolate'),
353 steps.GTestTest(
354 'sync_unit_tests',
355 android_isolate_path='sync/sync_unit_tests.isolate'),
356 steps.GTestTest('ui_android_unittests'),
357 steps.GTestTest(
358 'ui_base_unittests',
359 android_isolate_path='ui/base/ui_base_tests.isolate'),
360 steps.GTestTest('ui_touch_selection_unittests'),
361 steps.GTestTest(
362 'unit_tests',
363 android_isolate_path='chrome/unit_tests.isolate'),
364 steps.AndroidJunitTest('base_junit_tests'),
365 steps.AndroidJunitTest('chrome_junit_tests'),
366 steps.AndroidJunitTest('content_junit_tests'),
367 steps.AndroidJunitTest('junit_unit_tests'),
368 ],
369 'test_generators': [
370 steps.generate_gtest,
371 steps.generate_script,
372 ],
373 'testing': {
374 'platform': 'linux',
375 },
376 },
377
378 'Android Clang Builder (dbg)': {
379 'chromium_config': 'android_clang',
380 'gclient_config': 'chromium',
381 'gclient_apply_config': ['android'],
382 'chromium_config_kwargs': {
383 'BUILD_CONFIG': 'Debug',
384 'TARGET_BITS': 32,
385 'TARGET_PLATFORM': 'android',
386 },
387 'android_config': 'clang_builder',
388 'bot_type': 'builder_tester',
389 'compile_targets': [
390 'all',
391 ],
392 'testing': {
393 'platform': 'linux',
394 },
395 },
396
397 'Android x86 Builder (dbg)': {
398 'chromium_config': 'android',
399 'gclient_config': 'chromium',
400 'gclient_apply_config': ['android'],
401 'chromium_config_kwargs': {
402 'BUILD_CONFIG': 'Debug',
403 'TARGET_BITS': 32,
404 'TARGET_PLATFORM': 'android',
405 },
406 'android_config': 'x86_builder',
407 'bot_type': 'builder',
408 'testing': {
409 'platform': 'linux',
410 },
411 },
412
413 'Cast Linux': {
414 'chromium_config': 'cast_linux',
415 'gclient_config': 'chromium',
416 'chromium_config_kwargs': {
417 'BUILD_CONFIG': 'Release',
418 'TARGET_BITS': 64,
419 },
420 'compile_targets': [
421 'cast_shell',
422 ],
423 'test_generators': [
424 steps.generate_gtest,
425 steps.generate_script,
426 ],
427 'testing': {
428 'platform': 'linux',
429 },
430 },
431 'Cast Android (dbg)': {
432 'chromium_config': 'android',
433 'gclient_config': 'chromium',
434 'gclient_apply_config': ['android'],
435 'compile_targets': [
436 'cast_shell_apk',
437 ],
438 'chromium_config_kwargs': {
439 'BUILD_CONFIG': 'Debug',
440 'TARGET_BITS': 32,
441 'TARGET_PLATFORM': 'android',
442 },
443 'android_config': 'cast_builder',
444 'testing': {
445 'platform': 'linux',
446 },
447 },
448 },
449 }
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromium/chromium_fyi.py ('k') | scripts/slave/recipe_modules/chromium/chromium_lkgr.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698