OLD | NEW |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 # This file contains common settings for building WebRTC components. | 9 # This file contains common settings for building WebRTC components. |
10 | 10 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 # enable schannel on windows. | 130 # enable schannel on windows. |
131 'use_legacy_ssl_defaults%': 0, | 131 'use_legacy_ssl_defaults%': 0, |
132 | 132 |
133 # Determines whether NEON code will be built. | 133 # Determines whether NEON code will be built. |
134 'build_with_neon%': 0, | 134 'build_with_neon%': 0, |
135 | 135 |
136 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. | 136 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. |
137 # Enabling this may break interop with Android clients that support H264. | 137 # Enabling this may break interop with Android clients that support H264. |
138 'use_objc_h264%': 0, | 138 'use_objc_h264%': 0, |
139 | 139 |
140 # Enable this to build H.264 encoder/decoder using third party libraries. | 140 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on |
141 # Encoding uses OpenH264 and decoding uses FFmpeg. Because of this, OpenH264 | 141 # all platforms except iOS. Because FFmpeg can be built with/without H.264 |
142 # and FFmpeg have to be correctly enabled separately. | 142 # support, |ffmpeg_branding| has to separately be set to a value that |
143 # - use_openh264=1 is required for OpenH264 targets to be defined. | 143 # includes H.264, for example "Chrome". If FFmpeg is built without H.264, |
144 # - ffmpeg_branding=Chrome is one way to support H.264 decoding in FFmpeg. | 144 # compilation succeeds but |H264DecoderImpl| fails to initialize. |
145 # FFmpeg can be built with/without H.264 support, see 'ffmpeg_branding'. | |
146 # Without it, it compiles but H264DecoderImpl fails to initialize. | |
147 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. | 145 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. |
148 # http://www.openh264.org, https://www.ffmpeg.org/ | 146 # http://www.openh264.org, https://www.ffmpeg.org/ |
149 'use_third_party_h264%': 0, # TODO(hbos): To be used in follow-up CL(s). | 147 'rtc_use_h264%': 0, # TODO(hbos): enc/dec in follow up CL(s). |
150 | 148 |
151 'conditions': [ | 149 'conditions': [ |
152 ['build_with_chromium==1', { | 150 ['build_with_chromium==1', { |
153 # Exclude pulse audio on Chromium since its prerequisites don't require | 151 # Exclude pulse audio on Chromium since its prerequisites don't require |
154 # pulse audio. | 152 # pulse audio. |
155 'include_pulse_audio%': 0, | 153 'include_pulse_audio%': 0, |
156 | 154 |
157 # Exclude internal ADM since Chromium uses its own IO handling. | 155 # Exclude internal ADM since Chromium uses its own IO handling. |
158 'include_internal_audio_device%': 0, | 156 'include_internal_audio_device%': 0, |
159 | 157 |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 # of a more specific macro. | 462 # of a more specific macro. |
465 'defines': [ | 463 'defines': [ |
466 'WEBRTC_POSIX', | 464 'WEBRTC_POSIX', |
467 ], | 465 ], |
468 }], | 466 }], |
469 ], | 467 ], |
470 }, | 468 }, |
471 }, # target_defaults | 469 }, # target_defaults |
472 } | 470 } |
473 | 471 |
OLD | NEW |