diff options
Diffstat (limited to 'webrtc/build/webrtc.gni')
-rw-r--r-- | webrtc/build/webrtc.gni | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/webrtc/build/webrtc.gni b/webrtc/build/webrtc.gni index 1d33e892d7..c55f4230bd 100644 --- a/webrtc/build/webrtc.gni +++ b/webrtc/build/webrtc.gni @@ -36,7 +36,6 @@ declare_args() { # Disable these to not build components which can be externally provided. rtc_build_expat = true - rtc_build_icu = true rtc_build_json = true rtc_build_libjpeg = true rtc_build_libvpx = true @@ -44,7 +43,6 @@ declare_args() { rtc_build_openmax_dl = true rtc_build_opus = true rtc_build_ssl = true - rtc_build_vp9 = true # Disable by default. rtc_have_dbus_glib = false @@ -92,6 +90,17 @@ declare_args() { # Enable this to use HW H.264 encoder/decoder on iOS PeerConnections. # Enabling this may break interop with Android clients that support H264. rtc_use_objc_h264 = false + + # 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=true 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. + # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. + # http://www.openh264.org, https://www.ffmpeg.org/ + use_third_party_h264 = false # TODO(hbos): To be used in follow-up CL(s). } # Make it possible to provide custom locations for some libraries (move these |