Reland "Make the test library for field trials testonly."

This is a reland of commit c33f1a828c31412e7422e7bf11db7c9b61fab339

Original change's description:
> Make the test library for field trials testonly.
>
> Bug: None
> Change-Id: I703a82e0ca10908bdc56c0d4f1455e042ce74ac1
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267163
> Reviewed-by: Artem Titov <titovartem@webrtc.org>
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#37371}

Bug: None
Change-Id: I1a1a7732e50e838f00ee3c713c4cf4def9b543ad
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267166
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37373}
This commit is contained in:
Mirko Bonadei
2022-06-29 21:04:17 +02:00
committed by WebRTC LUCI CQ
parent eefae3b7b7
commit 3db07436bb

View File

@ -215,6 +215,7 @@ rtc_library("rtp_test_utils") {
}
rtc_library("field_trial") {
testonly = true
visibility = [ "*" ]
sources = [
"field_trial.cc",
@ -235,7 +236,6 @@ rtc_library("explicit_key_value_config") {
]
deps = [
":field_trial",
"../api:field_trials_view",
"../rtc_base:checks",
]
@ -243,6 +243,7 @@ rtc_library("explicit_key_value_config") {
}
rtc_library("scoped_key_value_config") {
testonly = true
visibility = [ "*" ]
sources = [
"scoped_key_value_config.cc",