| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 153 |
| 154 'conditions': [ | 154 'conditions': [ |
| 155 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported | 155 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported |
| 156 # on all platforms except Android and iOS. Because FFmpeg can be built | 156 # on all platforms except Android and iOS. Because FFmpeg can be built |
| 157 # with/without H.264 support, |ffmpeg_branding| has to separately be set | 157 # with/without H.264 support, |ffmpeg_branding| has to separately be set |
| 158 # to a value that includes H.264, for example "Chrome". If FFmpeg is built | 158 # to a value that includes H.264, for example "Chrome". If FFmpeg is built |
| 159 # without H.264, compilation succeeds but |H264DecoderImpl| fails to | 159 # without H.264, compilation succeeds but |H264DecoderImpl| fails to |
| 160 # initialize. See also: |rtc_initialize_ffmpeg|. | 160 # initialize. See also: |rtc_initialize_ffmpeg|. |
| 161 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. | 161 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. |
| 162 # http://www.openh264.org, https://www.ffmpeg.org/ | 162 # http://www.openh264.org, https://www.ffmpeg.org/ |
| 163 ['proprietary_codecs==1 and OS!="android" and OS!="ios"', { | 163 ['OS!="android" and OS!="ios"', { |
| 164 'rtc_use_h264%': 1, | 164 'rtc_use_h264%': 1, |
| 165 }, { | 165 }, { |
| 166 'rtc_use_h264%': 0, | 166 'rtc_use_h264%': 0, |
| 167 }], | 167 }], |
| 168 | 168 |
| 169 # FFmpeg must be initialized for |H264DecoderImpl| to work. This can be | 169 # FFmpeg must be initialized for |H264DecoderImpl| to work. This can be |
| 170 # done by WebRTC during |H264DecoderImpl::InitDecode| or externally. | 170 # done by WebRTC during |H264DecoderImpl::InitDecode| or externally. |
| 171 # FFmpeg must only be initialized once. Projects that initialize FFmpeg | 171 # FFmpeg must only be initialized once. Projects that initialize FFmpeg |
| 172 # externally, such as Chromium, must turn this flag off so that WebRTC | 172 # externally, such as Chromium, must turn this flag off so that WebRTC |
| 173 # does not also initialize. | 173 # does not also initialize. |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 # For access to standard POSIXish features, use WEBRTC_POSIX instead | 503 # For access to standard POSIXish features, use WEBRTC_POSIX instead |
| 504 # of a more specific macro. | 504 # of a more specific macro. |
| 505 'defines': [ | 505 'defines': [ |
| 506 'WEBRTC_POSIX', | 506 'WEBRTC_POSIX', |
| 507 ], | 507 ], |
| 508 }], | 508 }], |
| 509 ], | 509 ], |
| 510 }, | 510 }, |
| 511 }, # target_defaults | 511 }, # target_defaults |
| 512 } | 512 } |
| OLD | NEW |