2018-07-25 20:39:37 +00:00
|
|
|
import("all.gn")
|
|
|
|
is_component_build = false
|
2018-08-16 18:46:35 +00:00
|
|
|
is_official_build = true
|
2018-07-30 20:01:35 +00:00
|
|
|
|
2018-08-31 17:47:45 +00:00
|
|
|
# This may be guarded behind is_chrome_branded alongside
|
|
|
|
# proprietary_codecs https://webrtc-review.googlesource.com/c/src/+/36321,
|
|
|
|
# explicitly override here to build OpenH264 encoder/FFmpeg decoder.
|
|
|
|
# The initialization of the decoder depends on whether ffmpeg has
|
|
|
|
# been built with H.264 support.
|
|
|
|
rtc_use_h264 = proprietary_codecs
|
2018-08-14 21:49:35 +00:00
|
|
|
|
|
|
|
# By default, Electron builds ffmpeg with proprietary codecs enabled. In order
|
|
|
|
# to facilitate users who don't want to ship proprietary codecs in ffmpeg, or
|
|
|
|
# who have an LGPL requirement to ship ffmpeg as a dynamically linked library,
|
|
|
|
# we build ffmpeg as a shared library.
|
|
|
|
is_component_ffmpeg = true
|