OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from . import steps | 5 from . import steps |
6 | 6 |
7 | 7 |
8 SPEC = { | 8 SPEC = { |
9 'settings': { | 9 'settings': { |
10 'build_gs_bucket': 'chromium-android-archive', | 10 'build_gs_bucket': 'chromium-android-archive', |
11 }, | 11 }, |
12 'builders': { | 12 'builders': { |
13 'Android arm Builder (dbg)': { | 13 'Android arm Builder (dbg)': { |
14 'chromium_config': 'android', | 14 'chromium_config': 'android', |
15 'gclient_config': 'chromium', | 15 'gclient_config': 'chromium', |
16 'gclient_apply_config': ['android'], | 16 'gclient_apply_config': ['android'], |
17 'chromium_config_kwargs': { | 17 'chromium_config_kwargs': { |
18 'BUILD_CONFIG': 'Debug', | 18 'BUILD_CONFIG': 'Debug', |
19 'TARGET_BITS': 32, | 19 'TARGET_BITS': 32, |
20 'TARGET_PLATFORM': 'android', | 20 'TARGET_PLATFORM': 'android', |
21 }, | 21 }, |
22 'android_config': 'main_builder_mb', | 22 'android_config': 'main_builder_mb', |
23 'compile_targets': [ | |
24 'android_builder_tests', | |
25 'remoting_apk', | |
26 ], | |
27 'bot_type': 'builder', | 23 'bot_type': 'builder', |
28 'testing': { | 24 'testing': { |
29 'platform': 'linux', | 25 'platform': 'linux', |
30 }, | 26 }, |
31 }, | 27 }, |
32 | 28 |
33 'Android arm64 Builder (dbg)': { | 29 'Android arm64 Builder (dbg)': { |
34 'chromium_config': 'android', | 30 'chromium_config': 'android', |
35 'gclient_config': 'chromium', | 31 'gclient_config': 'chromium', |
36 'gclient_apply_config': ['android'], | 32 'gclient_apply_config': ['android'], |
37 'chromium_config_kwargs': { | 33 'chromium_config_kwargs': { |
38 'BUILD_CONFIG': 'Debug', | 34 'BUILD_CONFIG': 'Debug', |
39 'TARGET_BITS': 64, | 35 'TARGET_BITS': 64, |
40 'TARGET_PLATFORM': 'android', | 36 'TARGET_PLATFORM': 'android', |
41 }, | 37 }, |
42 'android_config': 'main_builder_mb', | 38 'android_config': 'main_builder_mb', |
43 'compile_targets': [ | |
44 'android_builder_tests' | |
45 ], | |
46 'bot_type': 'builder', | 39 'bot_type': 'builder', |
47 'testing': { | 40 'testing': { |
48 'platform': 'linux', | 41 'platform': 'linux', |
| 42 }, |
| 43 }, |
| 44 |
| 45 'Android MIPS Builder (dbg)': { |
| 46 'chromium_config': 'android', |
| 47 'gclient_config': 'chromium', |
| 48 'gclient_apply_config': ['android'], |
| 49 'chromium_config_kwargs': { |
| 50 'BUILD_CONFIG': 'Debug', |
| 51 'TARGET_BITS': 64, |
| 52 'TARGET_PLATFORM': 'android', |
| 53 }, |
| 54 'android_config': 'mipsel_builder_mb', |
| 55 'bot_type': 'builder', |
| 56 'testing': { |
| 57 'platform': 'linux', |
| 58 }, |
| 59 }, |
| 60 |
| 61 'Android x64 Builder (dbg)': { |
| 62 'chromium_config': 'android', |
| 63 'gclient_config': 'chromium', |
| 64 'gclient_apply_config': ['android'], |
| 65 'chromium_config_kwargs': { |
| 66 'BUILD_CONFIG': 'Debug', |
| 67 'TARGET_BITS': 64, |
| 68 'TARGET_PLATFORM': 'android', |
| 69 }, |
| 70 'android_config': 'x64_builder_mb', |
| 71 'bot_type': 'builder', |
| 72 'testing': { |
| 73 'platform': 'linux', |
| 74 }, |
| 75 }, |
| 76 |
| 77 'Android x86 Builder (dbg)': { |
| 78 'chromium_config': 'android', |
| 79 'gclient_config': 'chromium', |
| 80 'gclient_apply_config': ['android'], |
| 81 'chromium_config_kwargs': { |
| 82 'BUILD_CONFIG': 'Debug', |
| 83 'TARGET_BITS': 64, |
| 84 'TARGET_PLATFORM': 'android', |
| 85 }, |
| 86 'android_config': 'x86_builder_mb', |
| 87 'bot_type': 'builder', |
| 88 'testing': { |
| 89 'platform': 'linux', |
49 }, | 90 }, |
50 }, | 91 }, |
51 | 92 |
52 'Android GN Builder (dbg)': { | 93 'Android GN Builder (dbg)': { |
53 'chromium_config': 'android', | 94 'chromium_config': 'android', |
54 'gclient_config': 'chromium', | 95 'gclient_config': 'chromium', |
55 'gclient_apply_config': ['android'], | 96 'gclient_apply_config': ['android'], |
56 'chromium_config_kwargs': { | 97 'chromium_config_kwargs': { |
57 'BUILD_CONFIG': 'Debug', | 98 'BUILD_CONFIG': 'Debug', |
58 'TARGET_PLATFORM': 'android', | 99 'TARGET_PLATFORM': 'android', |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 'platform': 'linux', | 296 'platform': 'linux', |
256 }, | 297 }, |
257 'tests': [ | 298 'tests': [ |
258 ], | 299 ], |
259 'test_generators': [ | 300 'test_generators': [ |
260 steps.generate_gtest, | 301 steps.generate_gtest, |
261 steps.generate_script, | 302 steps.generate_script, |
262 steps.generate_isolated_script, | 303 steps.generate_isolated_script, |
263 ], | 304 ], |
264 }, | 305 }, |
265 | |
266 'Android WebView (amp)': { | |
267 'chromium_config': 'android', | |
268 'gclient_config': 'chromium', | |
269 'gclient_apply_config': ['android'], | |
270 'amp_config': 'main_pool', | |
271 'chromium_config_kwargs': { | |
272 'BUILD_CONFIG': 'Release', | |
273 'TARGET_BITS': 32, | |
274 'TARGET_PLATFORM': 'android', | |
275 }, | |
276 'parent_buildername': 'Android arm Builder (dbg)', | |
277 'bot_type': 'tester', | |
278 'android_config': 'main_builder_mb', | |
279 'enable_swarming': False, | |
280 'tests': [ | |
281 steps.AMPInstrumentationTest( | |
282 test_apk='AndroidWebViewTest', | |
283 apk_under_test='AndroidWebView', | |
284 android_isolate_path= | |
285 'android_webview/android_webview_test_apk.isolate', | |
286 compile_target='android_webview_test_apk', | |
287 device_name=['Nexus 7'], device_os=['4.4.2'], | |
288 fallback_to_local=False, | |
289 test_run_timeout=3600, | |
290 test_timeout_scale=5), | |
291 steps.AMPInstrumentationTest( | |
292 test_apk='AndroidWebViewTest', | |
293 apk_under_test='AndroidWebView', | |
294 android_isolate_path= | |
295 'android_webview/android_webview_test_apk.isolate', | |
296 compile_target='android_webview_test_apk', | |
297 device_name=['Galaxy S4'], device_os=['4.4.2'], | |
298 fallback_to_local=False, | |
299 test_run_timeout=3600, | |
300 test_timeout_scale=5), | |
301 steps.AMPInstrumentationTest( | |
302 test_apk='AndroidWebViewTest', | |
303 apk_under_test='AndroidWebView', | |
304 android_isolate_path= | |
305 'android_webview/android_webview_test_apk.isolate', | |
306 compile_target='android_webview_test_apk', | |
307 device_name=['Galaxy Note 3'], device_os=['4.4.2'], | |
308 fallback_to_local=False, | |
309 test_run_timeout=3600, | |
310 test_timeout_scale=5), | |
311 steps.AMPInstrumentationTest( | |
312 test_apk='AndroidWebViewTest', | |
313 apk_under_test='AndroidWebView', | |
314 android_isolate_path= | |
315 'android_webview/android_webview_test_apk.isolate', | |
316 compile_target='android_webview_test_apk', | |
317 device_name=['Moto G'], device_os=['4.4.2'], | |
318 fallback_to_local=False, | |
319 test_run_timeout=3600, | |
320 test_timeout_scale=5), | |
321 steps.AMPInstrumentationTest( | |
322 test_apk='AndroidWebViewTest', | |
323 apk_under_test='AndroidWebView', | |
324 android_isolate_path= | |
325 'android_webview/android_webview_test_apk.isolate', | |
326 compile_target='android_webview_test_apk', | |
327 device_name=['One M8'], device_os=['4.4.2'], | |
328 fallback_to_local=False, | |
329 test_run_timeout=3600, | |
330 test_timeout_scale=5), | |
331 ], | |
332 'test_generators': [ | |
333 steps.generate_gtest, | |
334 steps.generate_script, | |
335 steps.generate_isolated_script, | |
336 ], | |
337 'testing': { | |
338 'platform': 'linux', | |
339 }, | |
340 }, | |
341 }, | 306 }, |
342 } | 307 } |
OLD | NEW |