Migrate WebRTC test infra to ABSL_FLAG.
This is the last CL required to migrate WebRTC to ABSL_FLAG, rtc::Flag
will be removed soon after this one lands.
Bug: webrtc:10616
Change-Id: I2807cec39e28a2737d2c49e2dc23f2a6f98d08f0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/145727
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28606}
diff --git a/modules/audio_coding/BUILD.gn b/modules/audio_coding/BUILD.gn
index 75ba75b..6cc9dc5 100644
--- a/modules/audio_coding/BUILD.gn
+++ b/modules/audio_coding/BUILD.gn
@@ -1593,10 +1593,10 @@
":neteq_test_tools",
"../../api/audio_codecs:builtin_audio_decoder_factory",
"../../rtc_base:checks",
- "../../rtc_base:rtc_base_approved",
"../../test:fileutils",
"../../test:test_support",
"//testing/gtest",
+ "//third_party/abseil-cpp/absl/flags:flag",
]
}
@@ -1617,7 +1617,7 @@
"../../api/audio_codecs/ilbc:audio_encoder_ilbc",
"../../api/audio_codecs/isac:audio_encoder_isac",
"../../api/audio_codecs/opus:audio_encoder_opus",
- "../../rtc_base:rtc_base_approved",
+ "../../rtc_base:safe_conversions",
]
sources = [
@@ -1669,7 +1669,6 @@
":neteq",
":neteq_test_tools",
":pcm16b",
- "../../rtc_base:rtc_base_approved",
"//testing/gtest",
"//third_party/abseil-cpp/absl/flags:flag",
"//third_party/abseil-cpp/absl/flags:parse",
@@ -1691,6 +1690,7 @@
"../../rtc_base:rtc_base_approved",
"../../test:test_main",
"//testing/gtest",
+ "//third_party/abseil-cpp/absl/flags:flag",
]
}
@@ -1704,8 +1704,10 @@
deps = [
":neteq",
":neteq_test_support",
- "../../rtc_base:rtc_base_approved",
+ "../../rtc_base:checks",
"../../test:test_support",
+ "//third_party/abseil-cpp/absl/flags:flag",
+ "//third_party/abseil-cpp/absl/flags:parse",
]
}
@@ -1726,6 +1728,7 @@
"../../test:fileutils",
"../../test:test_main",
"//testing/gtest",
+ "//third_party/abseil-cpp/absl/flags:flag",
]
}
@@ -1743,6 +1746,7 @@
"../../rtc_base:rtc_base_approved",
"../../test:test_main",
"//testing/gtest",
+ "//third_party/abseil-cpp/absl/flags:flag",
]
}
@@ -1762,6 +1766,7 @@
"../../test:fileutils",
"../../test:test_main",
"//testing/gtest",
+ "//third_party/abseil-cpp/absl/flags:flag",
]
}
@@ -1781,6 +1786,7 @@
"../../test:fileutils",
"../../test:test_main",
"//testing/gtest",
+ "//third_party/abseil-cpp/absl/flags:flag",
]
}
@@ -2047,6 +2053,7 @@
"codecs/opus/test",
"codecs/opus/test:test_unittest",
"//testing/gtest",
+ "//third_party/abseil-cpp/absl/flags:flag",
"//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/types:optional",
]