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

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

Issue 2245423002: WebRTC: Don't specify All compile target (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_fyi_linux64_gcc.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 @CONFIG_CTX() 47 @CONFIG_CTX()
48 def webrtc_openh264(c): 48 def webrtc_openh264(c):
49 if c.TARGET_PLATFORM == 'ios': 49 if c.TARGET_PLATFORM == 'ios':
50 raise BadConf('ffmpeg decode not supported for iOS') # pragma: no cover 50 raise BadConf('ffmpeg decode not supported for iOS') # pragma: no cover
51 if c.TARGET_PLATFORM == 'android': 51 if c.TARGET_PLATFORM == 'android':
52 raise BadConf('h264 decode not supported for Android') # pragma: no cover 52 raise BadConf('h264 decode not supported for Android') # pragma: no cover
53 c.gyp_env.GYP_DEFINES['ffmpeg_branding'] = 'Chrome' 53 c.gyp_env.GYP_DEFINES['ffmpeg_branding'] = 'Chrome'
54 c.gyp_env.GYP_DEFINES['rtc_use_h264'] = 1 54 c.gyp_env.GYP_DEFINES['rtc_use_h264'] = 1
55 55
56 def _compiler_defaults(c): 56 def _compiler_defaults(c):
57 c.compile_py.default_targets = ['All'] 57 c.compile_py.default_targets = []
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_fyi_linux64_gcc.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698