2018-07-25 13:39:37 -07:00
|
|
|
import("all.gn")
|
|
|
|
is_component_build = false
|
2018-08-16 11:46:35 -07:00
|
|
|
is_official_build = true
|
2018-07-30 13:01:35 -07:00
|
|
|
|
2018-08-31 23:17:45 +05:30
|
|
|
# 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 14:49:35 -07: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
|