From 24762f207fa13d7168f889ee5443ee5de6ad32f6 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Tue, 23 Jun 2020 16:35:41 +0200 Subject: [PATCH] Fix missing dependencies. Setting gtest_enable_absl_printers to false in .gn uncovers some missing dependencies that were pulled in by gtest. Bug: None Change-Id: Ibd7772f6e2af9c798c97161c24f70b1658e3723c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/177843 Reviewed-by: Jeremy Leconte Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#31551} --- api/video_codecs/test/BUILD.gn | 1 + call/BUILD.gn | 1 + common_video/BUILD.gn | 1 + modules/audio_coding/BUILD.gn | 2 ++ p2p/BUILD.gn | 1 + video/BUILD.gn | 3 +++ 6 files changed, 9 insertions(+) diff --git a/api/video_codecs/test/BUILD.gn b/api/video_codecs/test/BUILD.gn index 243b78267f..10b18b6e5b 100644 --- a/api/video_codecs/test/BUILD.gn +++ b/api/video_codecs/test/BUILD.gn @@ -40,5 +40,6 @@ if (rtc_include_tests) { "../../video:video_rtp_headers", "//testing/gtest", ] + absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] } } diff --git a/call/BUILD.gn b/call/BUILD.gn index 4b6d88e969..79c53b6d09 100644 --- a/call/BUILD.gn +++ b/call/BUILD.gn @@ -455,6 +455,7 @@ if (rtc_include_tests) { "//third_party/abseil-cpp/absl/container:inlined_vector", "//third_party/abseil-cpp/absl/memory", "//third_party/abseil-cpp/absl/types:optional", + "//third_party/abseil-cpp/absl/types:variant", ] } diff --git a/common_video/BUILD.gn b/common_video/BUILD.gn index 0b204c5980..9ae87d242d 100644 --- a/common_video/BUILD.gn +++ b/common_video/BUILD.gn @@ -113,6 +113,7 @@ if (rtc_include_tests) { "../test:test_support", "../test:video_test_common", "//testing/gtest", + "//third_party/abseil-cpp/absl/types:optional", "//third_party/libyuv", ] diff --git a/modules/audio_coding/BUILD.gn b/modules/audio_coding/BUILD.gn index d8f405b8d7..3480e70df1 100644 --- a/modules/audio_coding/BUILD.gn +++ b/modules/audio_coding/BUILD.gn @@ -1454,6 +1454,7 @@ if (rtc_include_tests) { defines = audio_coding_defines deps = audio_coding_deps + [ + "//third_party/abseil-cpp/absl/strings", "../../api/audio:audio_frame_api", "../../rtc_base:checks", ":audio_coding", @@ -2077,6 +2078,7 @@ if (rtc_include_tests) { absl_deps = [ "//third_party/abseil-cpp/absl/flags:flag", "//third_party/abseil-cpp/absl/memory", + "//third_party/abseil-cpp/absl/strings", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/p2p/BUILD.gn b/p2p/BUILD.gn index b53d674b88..98680f62d2 100644 --- a/p2p/BUILD.gn +++ b/p2p/BUILD.gn @@ -232,6 +232,7 @@ if (rtc_include_tests) { absl_deps = [ "//third_party/abseil-cpp/absl/algorithm:container", "//third_party/abseil-cpp/absl/memory", + "//third_party/abseil-cpp/absl/types:optional", ] } } diff --git a/video/BUILD.gn b/video/BUILD.gn index 7aa3732d12..84dce1fdd0 100644 --- a/video/BUILD.gn +++ b/video/BUILD.gn @@ -375,6 +375,7 @@ if (rtc_include_tests) { absl_deps = [ "//third_party/abseil-cpp/absl/flags:flag", "//third_party/abseil-cpp/absl/flags:parse", + "//third_party/abseil-cpp/absl/types:optional", ] } @@ -429,6 +430,7 @@ if (rtc_include_tests) { absl_deps = [ "//third_party/abseil-cpp/absl/flags:flag", "//third_party/abseil-cpp/absl/flags:parse", + "//third_party/abseil-cpp/absl/types:optional", ] } @@ -497,6 +499,7 @@ if (rtc_include_tests) { "//testing/gtest", "//third_party/abseil-cpp/absl/flags:flag", "//third_party/abseil-cpp/absl/flags:parse", + "//third_party/abseil-cpp/absl/types:optional", ] }