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

Side by Side Diff: webrtc/build/common.gypi

Issue 1675113002: Revert of Default build flag |rtc_use_h264| to |proprietary_codecs| if not on Android/iOS. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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 | webrtc/build/webrtc.gni » ('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 (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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 # enable schannel on windows. 131 # enable schannel on windows.
132 'use_legacy_ssl_defaults%': 0, 132 'use_legacy_ssl_defaults%': 0,
133 133
134 # Determines whether NEON code will be built. 134 # Determines whether NEON code will be built.
135 'build_with_neon%': 0, 135 'build_with_neon%': 0,
136 136
137 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. 137 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections.
138 # Enabling this may break interop with Android clients that support H264. 138 # Enabling this may break interop with Android clients that support H264.
139 'use_objc_h264%': 0, 139 'use_objc_h264%': 0,
140 140
141 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on
142 # all platforms except iOS. Because FFmpeg can be built with/without H.264
143 # support, |ffmpeg_branding| has to separately be set to a value that
144 # includes H.264, for example "Chrome". If FFmpeg is built without H.264,
145 # compilation succeeds but |H264DecoderImpl| fails to initialize.
146 # See also: |rtc_initialize_ffmpeg|.
147 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING.
148 # http://www.openh264.org, https://www.ffmpeg.org/
149 'rtc_use_h264%': 0,
150
141 'conditions': [ 151 'conditions': [
142 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported
143 # on all platforms except Android and iOS. Because FFmpeg can be built
144 # with/without H.264 support, |ffmpeg_branding| has to separately be set
145 # to a value that includes H.264, for example "Chrome". If FFmpeg is built
146 # without H.264, compilation succeeds but |H264DecoderImpl| fails to
147 # initialize. See also: |rtc_initialize_ffmpeg|.
148 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING.
149 # http://www.openh264.org, https://www.ffmpeg.org/
150 ['proprietary_codecs==1 and OS!="android" and OS!="ios"', {
151 'rtc_use_h264%': 1,
152 }, {
153 'rtc_use_h264%': 0,
154 }],
155
156 # FFmpeg must be initialized for |H264DecoderImpl| to work. This can be 152 # FFmpeg must be initialized for |H264DecoderImpl| to work. This can be
157 # done by WebRTC during |H264DecoderImpl::InitDecode| or externally. 153 # done by WebRTC during |H264DecoderImpl::InitDecode| or externally.
158 # FFmpeg must only be initialized once. Projects that initialize FFmpeg 154 # FFmpeg must only be initialized once. Projects that initialize FFmpeg
159 # externally, such as Chromium, must turn this flag off so that WebRTC 155 # externally, such as Chromium, must turn this flag off so that WebRTC
160 # does not also initialize. 156 # does not also initialize.
161 ['build_with_chromium==0', { 157 ['build_with_chromium==0', {
162 'rtc_initialize_ffmpeg%': 1, 158 'rtc_initialize_ffmpeg%': 1,
163 }, { 159 }, {
164 'rtc_initialize_ffmpeg%': 0, 160 'rtc_initialize_ffmpeg%': 0,
165 }], 161 }],
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 # of a more specific macro. 479 # of a more specific macro.
484 'defines': [ 480 'defines': [
485 'WEBRTC_POSIX', 481 'WEBRTC_POSIX',
486 ], 482 ],
487 }], 483 }],
488 ], 484 ],
489 }, 485 },
490 }, # target_defaults 486 }, # target_defaults
491 } 487 }
492 488
OLDNEW
« no previous file with comments | « no previous file | webrtc/build/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698