1
0
mirror of https://github.com/danog/patches.git synced 2024-11-30 04:19:34 +01:00
patches/webrtc/libsrtp.diff
2020-08-11 13:51:33 +04:00

28 lines
629 B
Diff

diff --git a/BUILD.gn b/BUILD.gn
index 6359585..0c9d2ff 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//testing/test.gni")
+import("//webrtc.gni")
declare_args() {
# Tests may not be appropriate for some build environments, e.g. Windows.
@@ -114,9 +115,11 @@ static_library("libsrtp") {
"srtp/ekt.c",
"srtp/srtp.c",
]
- public_deps = [
- "//third_party/boringssl:boringssl",
- ]
+ if (rtc_build_ssl) {
+ public_deps += [ "//third_party/boringssl" ]
+ } else {
+ configs += [ "//rtc_base:external_ssl_library" ]
+ }
}
if (build_libsrtp_tests) {