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

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

Issue 1601813005: rtc_use_h264 flag for building OpenH264/FFmpeg (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: use_h264=true on all supported platforms (!ios), will default to false before landing Created 4 years, 11 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 | « build_overrides/webrtc.gni ('k') | 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 # enable schannel on windows. 128 # enable schannel on windows.
129 'use_legacy_ssl_defaults%': 0, 129 'use_legacy_ssl_defaults%': 0,
130 130
131 # Determines whether NEON code will be built. 131 # Determines whether NEON code will be built.
132 'build_with_neon%': 0, 132 'build_with_neon%': 0,
133 133
134 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. 134 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections.
135 # Enabling this may break interop with Android clients that support H264. 135 # Enabling this may break interop with Android clients that support H264.
136 'use_objc_h264%': 0, 136 'use_objc_h264%': 0,
137 137
138 # Enable this to build H.264 encoder/decoder using third party libraries. 138 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on
139 # Encoding uses OpenH264 and decoding uses FFmpeg. Because of this, OpenH264 139 # all platforms except iOS. Because FFmpeg can be built with/without H.264
140 # and FFmpeg have to be correctly enabled separately. 140 # support, |ffmpeg_branding| has to separately be set to a value that
141 # - use_openh264=1 is required for OpenH264 targets to be defined. 141 # includes H.264, for example "Chrome". If FFmpeg is built without H.264,
142 # - ffmpeg_branding=Chrome is one way to support H.264 decoding in FFmpeg. 142 # compilation succeeds but |H264DecoderImpl| fails to initialize.
hbos 2016/01/19 11:01:27 (Not asserting that ffmpeg_branding has to specifi
143 # FFmpeg can be built with/without H.264 support, see 'ffmpeg_branding'.
144 # Without it, it compiles but H264DecoderImpl fails to initialize.
145 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. 143 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING.
146 # http://www.openh264.org, https://www.ffmpeg.org/ 144 # http://www.openh264.org, https://www.ffmpeg.org/
147 'use_third_party_h264%': 0, # TODO(hbos): To be used in follow-up CL(s). 145 # 'use_h264%': 0, # TODO(hbos): enc/dec in follow up CL(s).
148 146
149 'conditions': [ 147 'conditions': [
148 ['OS!="ios"', {
149 'use_h264%': 1,
150 }, {
151 'use_h264%': 0,
152 }],
hbos 2016/01/19 11:01:27 Know where to do "override defaults" similar to bu
kjellander_webrtc 2016/01/20 19:28:45 I believe I've told you before, it's https://chrom
hbos 2016/01/21 10:00:01 Thanks. Yeah I believe you did, but I couldn't fin
153
150 ['build_with_chromium==1', { 154 ['build_with_chromium==1', {
151 # Exclude pulse audio on Chromium since its prerequisites don't require 155 # Exclude pulse audio on Chromium since its prerequisites don't require
152 # pulse audio. 156 # pulse audio.
153 'include_pulse_audio%': 0, 157 'include_pulse_audio%': 0,
154 158
155 # Exclude internal ADM since Chromium uses its own IO handling. 159 # Exclude internal ADM since Chromium uses its own IO handling.
156 'include_internal_audio_device%': 0, 160 'include_internal_audio_device%': 0,
157 161
158 # Remove tests for Chromium to avoid slowing down GYP generation. 162 # Remove tests for Chromium to avoid slowing down GYP generation.
159 'include_tests%': 0, 163 'include_tests%': 0,
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 # of a more specific macro. 466 # of a more specific macro.
463 'defines': [ 467 'defines': [
464 'WEBRTC_POSIX', 468 'WEBRTC_POSIX',
465 ], 469 ],
466 }], 470 }],
467 ], 471 ],
468 }, 472 },
469 }, # target_defaults 473 }, # target_defaults
470 } 474 }
471 475
OLDNEW
« no previous file with comments | « build_overrides/webrtc.gni ('k') | webrtc/build/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698