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

Side by Side Diff: scripts/slave/recipe_modules/webrtc/chromium_config.py

Issue 2460493002: WebRTC: Add new Linux (more configs) bots. (Closed)
Patch Set: Rebased Created 4 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 recipe_engine.config import BadConf 5 from recipe_engine.config import BadConf
6 from recipe_engine.config_types import Path 6 from recipe_engine.config_types import Path
7 7
8 import DEPS 8 import DEPS
9 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX 9 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
10 10
11 11
12 SUPPORTED_TARGET_ARCHS = ('intel', 'arm') 12 SUPPORTED_TARGET_ARCHS = ('intel', 'arm')
13 13
14 14 @CONFIG_CTX(includes=['chromium'])
15 @CONFIG_CTX(includes=['chromium', 'dcheck', 'webrtc_openh264']) 15 def webrtc_minimal(c):
16 def webrtc_standalone(c):
17 _compiler_defaults(c) 16 _compiler_defaults(c)
18 17
18 @CONFIG_CTX(includes=['webrtc_minimal', 'dcheck', 'webrtc_openh264'])
19 def webrtc_standalone(c):
19 c.runtests.memory_tests_runner = c.CHECKOUT_PATH.join( 20 c.runtests.memory_tests_runner = c.CHECKOUT_PATH.join(
20 'tools', 'valgrind-webrtc', 'webrtc_tests', 21 'tools', 'valgrind-webrtc', 'webrtc_tests',
21 platform_ext={'win': '.bat', 'mac': '.sh', 'linux': '.sh'}) 22 platform_ext={'win': '.bat', 'mac': '.sh', 'linux': '.sh'})
22 23
23 # TOOD(kjellander): Cleanup after migrating client.webrtc.fyi bots to MB. 24 # TOOD(kjellander): Cleanup after migrating client.webrtc.fyi bots to MB.
24 @CONFIG_CTX(includes=['ninja', 'gcc', 'goma']) 25 @CONFIG_CTX(includes=['ninja', 'gcc', 'goma'])
25 def webrtc_gcc(c): 26 def webrtc_gcc(c):
26 _compiler_defaults(c) 27 _compiler_defaults(c)
27 28
28 # TOOD(kjellander): Cleanup after migrating client.webrtc.fyi bots to MB. 29 # TOOD(kjellander): Cleanup after migrating client.webrtc.fyi bots to MB.
(...skipping 17 matching lines...) Expand all
46 raise BadConf('h264 decode not supported for Android') # pragma: no cover 47 raise BadConf('h264 decode not supported for Android') # pragma: no cover
47 c.gyp_env.GYP_DEFINES['ffmpeg_branding'] = 'Chrome' 48 c.gyp_env.GYP_DEFINES['ffmpeg_branding'] = 'Chrome'
48 c.gyp_env.GYP_DEFINES['rtc_use_h264'] = 1 49 c.gyp_env.GYP_DEFINES['rtc_use_h264'] = 1
49 c.gn_args = [ 50 c.gn_args = [
50 'ffmpeg_branding="Chrome"', 51 'ffmpeg_branding="Chrome"',
51 'rtc_use_h264=true', 52 'rtc_use_h264=true',
52 ] 53 ]
53 54
54 def _compiler_defaults(c): 55 def _compiler_defaults(c):
55 c.compile_py.default_targets = [] 56 c.compile_py.default_targets = []
OLDNEW
« no previous file with comments | « masters/master.tryserver.webrtc/slaves.cfg ('k') | scripts/slave/recipes/webrtc/more_configs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698