From 752436f8211b1054769b5f19cd31af0ebf0c53c4 Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Fri, 24 Jun 2022 00:51:28 +0200 Subject: [PATCH] Add dependencies on absl when they are used but undeclared Bug: b/36882554 Change-Id: I3a1c5f0024abc452bcd74eef2b66d4493f4f974c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/266760 Reviewed-by: Mirko Bonadei Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/main@{#37320} --- call/BUILD.gn | 1 + modules/video_coding/codecs/av1/BUILD.gn | 1 + net/dcsctp/packet/BUILD.gn | 1 + net/dcsctp/socket/BUILD.gn | 1 + net/dcsctp/timer/BUILD.gn | 1 + pc/BUILD.gn | 1 + video/BUILD.gn | 1 + 7 files changed, 7 insertions(+) diff --git a/call/BUILD.gn b/call/BUILD.gn index c212bb09ff..b72afed446 100644 --- a/call/BUILD.gn +++ b/call/BUILD.gn @@ -338,6 +338,7 @@ rtc_library("call") { ] absl_deps = [ "//third_party/abseil-cpp/absl/functional:bind_front", + "//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/strings", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/modules/video_coding/codecs/av1/BUILD.gn b/modules/video_coding/codecs/av1/BUILD.gn index 7f8e731728..08a86e0c33 100644 --- a/modules/video_coding/codecs/av1/BUILD.gn +++ b/modules/video_coding/codecs/av1/BUILD.gn @@ -89,6 +89,7 @@ rtc_library("libaom_av1_encoder") { ] absl_deps = [ "//third_party/abseil-cpp/absl/algorithm:container", + "//third_party/abseil-cpp/absl/base:core_headers", "//third_party/abseil-cpp/absl/strings:strings", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/net/dcsctp/packet/BUILD.gn b/net/dcsctp/packet/BUILD.gn index d9d0b05805..08bdb0f5a5 100644 --- a/net/dcsctp/packet/BUILD.gn +++ b/net/dcsctp/packet/BUILD.gn @@ -101,6 +101,7 @@ rtc_library("parameter") { ] absl_deps = [ "//third_party/abseil-cpp/absl/algorithm:container", + "//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/strings", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/net/dcsctp/socket/BUILD.gn b/net/dcsctp/socket/BUILD.gn index 9456a424d5..3278a309cb 100644 --- a/net/dcsctp/socket/BUILD.gn +++ b/net/dcsctp/socket/BUILD.gn @@ -171,6 +171,7 @@ rtc_library("dcsctp_socket") { ] absl_deps = [ "//third_party/abseil-cpp/absl/functional:bind_front", + "//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/strings", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/net/dcsctp/timer/BUILD.gn b/net/dcsctp/timer/BUILD.gn index a426a7ad8d..d7e832dc61 100644 --- a/net/dcsctp/timer/BUILD.gn +++ b/net/dcsctp/timer/BUILD.gn @@ -25,6 +25,7 @@ rtc_library("timer") { "timer.h", ] absl_deps = [ + "//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/strings", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/pc/BUILD.gn b/pc/BUILD.gn index 3a0a7e4edc..5fac258f33 100644 --- a/pc/BUILD.gn +++ b/pc/BUILD.gn @@ -1589,6 +1589,7 @@ rtc_library("rtp_transceiver") { ] absl_deps = [ "//third_party/abseil-cpp/absl/algorithm:container", + "//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/strings", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/video/BUILD.gn b/video/BUILD.gn index 40faf3b785..2bf0454bd3 100644 --- a/video/BUILD.gn +++ b/video/BUILD.gn @@ -284,6 +284,7 @@ rtc_library("frame_buffer_proxy") { "../system_wrappers:field_trial", ] absl_deps = [ + "//third_party/abseil-cpp/absl/base:core_headers", "//third_party/abseil-cpp/absl/functional:bind_front", "//third_party/abseil-cpp/absl/types:optional", ]