fork/rust-sdks

git clone https://git.julia.blue/fork/rust-sdks

Théo Monnomfeat: add svc codecs (#263)288e2c6

livekit/livekit-ffi@0.13.0
940 B36 linesraw
1diff --git a/BUILD.gn b/BUILD.gn
2index d5289b85d7..76823f6cff 100644
3--- a/BUILD.gn
4+++ b/BUILD.gn
5@@ -24,6 +24,9 @@
6 import("//build/config/linux/pkg_config.gni")
7 import("//build/config/sanitizers/sanitizers.gni")
8 import("webrtc.gni")
9+import("//third_party/libaom/options.gni")
10+
11+
12 if (rtc_enable_protobuf) {
13   import("//third_party/protobuf/proto_library.gni")
14 }
15@@ -292,6 +295,10 @@ config("common_config") {
16     defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ]
17   }
18 
19+  if (enable_libaom) {
20+    defines += [ "RTC_USE_LIBAOM_AV1_ENCODER" ]
21+  }
22+
23   if (rtc_libvpx_build_vp9) {
24     defines += [ "RTC_ENABLE_VP9" ]
25   }
26@@ -517,6 +524,10 @@ if (!build_with_chromium) {
27       "pc:rtc_pc",
28       "sdk",
29       "video",
30+      "//third_party/zlib",
31+      "rtc_base:log_sinks",
32+      "media:rtc_simulcast_encoder_adapter",
33+      "api/crypto:frame_crypto_transformer",
34     ]
35 
36     if (rtc_include_builtin_audio_codecs) {