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

Side by Side Diff: infra/bots/recipes/swarm_compile.py

Issue 2292663002: add gn_android_flavor (Closed)
Patch Set: Created 4 years, 3 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
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 5
6 # Recipe module for Skia Swarming compile. 6 # Recipe module for Skia Swarming compile.
7 7
8 8
9 DEPS = [ 9 DEPS = [
10 'core', 10 'core',
11 'recipe_engine/json', 11 'recipe_engine/json',
12 'recipe_engine/path', 12 'recipe_engine/path',
13 'recipe_engine/platform', 13 'recipe_engine/platform',
14 'recipe_engine/properties', 14 'recipe_engine/properties',
15 'recipe_engine/python', 15 'recipe_engine/python',
16 'flavor', 16 'flavor',
17 'run', 17 'run',
18 'vars', 18 'vars',
19 ] 19 ]
20 20
21 21
22 TEST_BUILDERS = { 22 TEST_BUILDERS = {
23 'client.skia.compile': { 23 'client.skia.compile': {
24 'skiabot-linux-swarm-000': [ 24 'skiabot-linux-swarm-000': [
25 'Build-Mac-Clang-Arm7-Debug-Android', 25 'Build-Mac-Clang-Arm7-Debug-Android',
26 'Build-Mac-Clang-Arm7-Release-iOS', 26 'Build-Mac-Clang-Arm7-Release-iOS',
27 'Build-Mac-Clang-mipsel-Debug-GN_Android',
27 'Build-Mac-Clang-x86_64-Debug-CommandBuffer', 28 'Build-Mac-Clang-x86_64-Debug-CommandBuffer',
28 'Build-Mac-Clang-x86_64-Release-CMake', 29 'Build-Mac-Clang-x86_64-Release-CMake',
30 'Build-Ubuntu-Clang-arm64-Release-GN_Android',
29 'Build-Ubuntu-Clang-x86_64-Debug-GN', 31 'Build-Ubuntu-Clang-x86_64-Debug-GN',
30 'Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot', 32 'Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot',
31 'Build-Ubuntu-GCC-Arm7-Debug-Android_FrameworkDefs', 33 'Build-Ubuntu-GCC-Arm7-Debug-Android_FrameworkDefs',
32 'Build-Ubuntu-GCC-Arm7-Debug-Android_NoNeon', 34 'Build-Ubuntu-GCC-Arm7-Debug-Android_NoNeon',
33 'Build-Ubuntu-GCC-Arm7-Release-Android', 35 'Build-Ubuntu-GCC-Arm7-Release-Android',
34 'Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan', 36 'Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan',
35 'Build-Ubuntu-GCC-x86-Debug', 37 'Build-Ubuntu-GCC-x86-Debug',
38 'Build-Ubuntu-GCC-x86_64-Debug-GN',
36 'Build-Ubuntu-GCC-x86_64-Debug-MSAN', 39 'Build-Ubuntu-GCC-x86_64-Debug-MSAN',
37 'Build-Ubuntu-GCC-x86_64-Debug-GN',
38 'Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE', 40 'Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE',
39 'Build-Ubuntu-GCC-x86_64-Release-ANGLE', 41 'Build-Ubuntu-GCC-x86_64-Release-ANGLE',
40 'Build-Ubuntu-GCC-x86_64-Release-CMake', 42 'Build-Ubuntu-GCC-x86_64-Release-CMake',
41 'Build-Ubuntu-GCC-x86_64-Release-Fast', 43 'Build-Ubuntu-GCC-x86_64-Release-Fast',
42 'Build-Ubuntu-GCC-x86_64-Release-Mesa', 44 'Build-Ubuntu-GCC-x86_64-Release-Mesa',
43 'Build-Ubuntu-GCC-x86_64-Release-PDFium', 45 'Build-Ubuntu-GCC-x86_64-Release-PDFium',
44 'Build-Ubuntu-GCC-x86_64-Release-Shared', 46 'Build-Ubuntu-GCC-x86_64-Release-Shared',
45 'Build-Ubuntu-GCC-x86_64-Release-Valgrind', 47 'Build-Ubuntu-GCC-x86_64-Release-Valgrind',
46 'Build-Win-MSVC-x86-Debug', 48 'Build-Win-MSVC-x86-Debug',
47 'Build-Win-MSVC-x86-Debug-Exceptions', 49 'Build-Win-MSVC-x86-Debug-Exceptions',
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 if 'Win' in builder: 241 if 'Win' in builder:
240 test += api.platform('win', 64) 242 test += api.platform('win', 64)
241 elif 'Mac' in builder: 243 elif 'Mac' in builder:
242 test += api.platform('mac', 64) 244 test += api.platform('mac', 64)
243 else: 245 else:
244 test += api.platform('linux', 64) 246 test += api.platform('linux', 64)
245 if 'Android' in builder or ('GN' in builder and 'Win' not in builder): 247 if 'Android' in builder or ('GN' in builder and 'Win' not in builder):
246 ccache = '/usr/bin/ccache' 248 ccache = '/usr/bin/ccache'
247 test += api.step_data('has ccache?', 249 test += api.step_data('has ccache?',
248 stdout=api.json.output({'ccache':ccache})) 250 stdout=api.json.output({'ccache':ccache}))
249 if 'Android' in builder: 251 if 'Android' in builder and 'GN_Android' not in builder:
250 test += api.step_data( 252 test += api.step_data(
251 'which adb', 253 'which adb',
252 retcode=1) 254 retcode=1)
253 if 'Trybot' in builder: 255 if 'Trybot' in builder:
254 test += api.properties(issue=500, 256 test += api.properties(issue=500,
255 patchset=1, 257 patchset=1,
256 rietveld='https://codereview.chromium.org') 258 rietveld='https://codereview.chromium.org')
257 259
258 yield test 260 yield test
259 261
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 buildername=buildername + '-Trybot', 324 buildername=buildername + '-Trybot',
323 mastername=mastername, 325 mastername=mastername,
324 slavename=slavename, 326 slavename=slavename,
325 buildnumber=5, 327 buildnumber=5,
326 path_config='kitchen', 328 path_config='kitchen',
327 swarm_out_dir='[SWARM_OUT_DIR]', 329 swarm_out_dir='[SWARM_OUT_DIR]',
328 revision='abc123', 330 revision='abc123',
329 **gerrit_kwargs) + 331 **gerrit_kwargs) +
330 api.platform('win', 64) 332 api.platform('win', 64)
331 ) 333 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698