Add absl_deps field for rtc_test and rtc_executable

To be able to build these targets in chromium we need to replace all abseil dependencies with "//third_party/abseil-cpp:absl".

Bug: webrtc:12404
Change-Id: Ie0f6af73f2abc73e5744520cfd9a6414e2f948e3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/202762
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Andrey Logvin <landrey@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33108}
This commit is contained in:
Andrey Logvin
2021-01-29 10:50:19 +00:00
committed by Commit Bot
parent b79acd8ce9
commit 7864600a6e
9 changed files with 48 additions and 7 deletions

View File

@ -1454,7 +1454,6 @@ 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",
@ -1466,6 +1465,8 @@ if (rtc_include_tests) {
"../../test:test_support",
"//testing/gtest",
]
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
}
audio_decoder_unittests_resources =
@ -1657,8 +1658,6 @@ if (rtc_include_tests) {
testonly = true
deps = audio_coding_deps + [
"//third_party/abseil-cpp/absl/flags:flag",
"//third_party/abseil-cpp/absl/flags:parse",
":audio_coding",
":audio_encoder_cng",
":neteq_input_audio_tools",
@ -1670,6 +1669,8 @@ if (rtc_include_tests) {
"../../api/audio_codecs/isac:audio_encoder_isac",
"../../api/audio_codecs/opus:audio_encoder_opus",
"../../rtc_base:safe_conversions",
"//third_party/abseil-cpp/absl/flags:flag",
"//third_party/abseil-cpp/absl/flags:parse",
"//third_party/abseil-cpp/absl/memory",
]