BlueGit

ict rusty-teams

Files

rusty-teams / vendor / webrtc-sys / libwebrtc / patches / add_deps.patch

add_deps.patch

add_deps.patch 975 B Download Raw
1diff --git a/BUILD.gn b/BUILD.gn
2index b484f5b938..378349c45e 100644
3--- a/BUILD.gn
4+++ b/BUILD.gn
5@@ -25,6 +25,7 @@ import("//build/config/linux/pkg_config.gni")
6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//testing/test.gni")
8 import("webrtc.gni")
9+import("//third_party/libaom/options.gni")
10
11 if (rtc_rust) {
12 import("//build/rust/rust_unit_tests_group.gni")
13@@ -332,6 +333,10 @@ config("common_config") {
14 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ]
15 }
16
17+ if (enable_libaom) {
18+ defines += [ "RTC_USE_LIBAOM_AV1_ENCODER" ]
19+ }
20+
21 if (rtc_libvpx_build_vp9) {
22 defines += [ "RTC_ENABLE_VP9" ]
23 }
24@@ -564,6 +569,10 @@ if (!build_with_chromium) {
25 "pc:libjingle_peerconnection",
26 "pc:rtc_pc",
27 "video",
28+ "//third_party/zlib",
29+ "rtc_base:log_sinks",
30+ "media:rtc_simulcast_encoder_adapter",
31+ "api/crypto:frame_crypto_transformer",
32 ]
33
34 if (rtc_include_builtin_audio_codecs) {