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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build_overrides/webrtc.gni ('k') | webrtc/build/webrtc.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/build/common.gypi
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi
index 2c24963f4f3a9898e0a2953741121172ab2523b0..fea38db63574853394172a4df13a22f07a85a583 100644
--- a/webrtc/build/common.gypi
+++ b/webrtc/build/common.gypi
@@ -135,18 +135,22 @@
# Enabling this may break interop with Android clients that support H264.
'use_objc_h264%': 0,
- # Enable this to build H.264 encoder/decoder using third party libraries.
- # Encoding uses OpenH264 and decoding uses FFmpeg. Because of this, OpenH264
- # and FFmpeg have to be correctly enabled separately.
- # - use_openh264=1 is required for OpenH264 targets to be defined.
- # - ffmpeg_branding=Chrome is one way to support H.264 decoding in FFmpeg.
- # FFmpeg can be built with/without H.264 support, see 'ffmpeg_branding'.
- # Without it, it compiles but H264DecoderImpl fails to initialize.
+ # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on
+ # all platforms except iOS. Because FFmpeg can be built with/without H.264
+ # support, |ffmpeg_branding| has to separately be set to a value that
+ # includes H.264, for example "Chrome". If FFmpeg is built without H.264,
+ # compilation succeeds but |H264DecoderImpl| fails to initialize.
hbos 2016/01/19 11:01:27 (Not asserting that ffmpeg_branding has to specifi
# CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING.
# http://www.openh264.org, https://www.ffmpeg.org/
- 'use_third_party_h264%': 0, # TODO(hbos): To be used in follow-up CL(s).
+# 'use_h264%': 0, # TODO(hbos): enc/dec in follow up CL(s).
'conditions': [
+ ['OS!="ios"', {
+ 'use_h264%': 1,
+ }, {
+ 'use_h264%': 0,
+ }],
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
+
['build_with_chromium==1', {
# Exclude pulse audio on Chromium since its prerequisites don't require
# pulse audio.
« 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