api: Fix visibility of targets in api/

Bug: webrtc:9620
Change-Id: I13624c7e56406e663b86a47e194a6f1882734176
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226331
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34502}
diff --git a/api/BUILD.gn b/api/BUILD.gn
index 767056f..00ac4a1 100644
--- a/api/BUILD.gn
+++ b/api/BUILD.gn
@@ -263,6 +263,7 @@
 }
 
 rtc_source_set("async_dns_resolver") {
+  visibility = [ "*" ]
   sources = [ "async_dns_resolver.h" ]
   deps = [
     "../rtc_base:socket_address",
@@ -326,6 +327,7 @@
 }
 
 rtc_source_set("priority") {
+  visibility = [ "*" ]
   sources = [ "priority.h" ]
 }
 
@@ -825,6 +827,7 @@
   }
 
   rtc_source_set("mock_audio_mixer") {
+    visibility = [ "*" ]
     testonly = true
     sources = [ "test/mock_audio_mixer.h" ]
 
@@ -858,6 +861,7 @@
   }
 
   rtc_source_set("mock_fec_controller_override") {
+    visibility = [ "*" ]
     testonly = true
     sources = [ "test/mock_fec_controller_override.h" ]
     deps = [
@@ -867,6 +871,7 @@
   }
 
   rtc_library("mock_frame_encryptor") {
+    visibility = [ "*" ]
     testonly = true
     sources = [ "test/mock_frame_encryptor.h" ]
     deps = [
@@ -878,6 +883,7 @@
   }
 
   rtc_library("mock_frame_decryptor") {
+    visibility = [ "*" ]
     testonly = true
     sources = [ "test/mock_frame_decryptor.h" ]
     deps = [
@@ -888,6 +894,7 @@
   }
 
   rtc_library("fake_frame_encryptor") {
+    visibility = [ "*" ]
     testonly = true
     sources = [
       "test/fake_frame_encryptor.cc",
@@ -904,6 +911,7 @@
   }
 
   rtc_library("fake_frame_decryptor") {
+    visibility = [ "*" ]
     testonly = true
     sources = [
       "test/fake_frame_decryptor.cc",
@@ -968,6 +976,7 @@
   }
 
   rtc_source_set("mock_async_dns_resolver") {
+    visibility = [ "*" ]
     testonly = true
     sources = [ "test/mock_async_dns_resolver.h" ]
     deps = [
@@ -992,6 +1001,7 @@
   }
 
   rtc_source_set("mock_transformable_video_frame") {
+    visibility = [ "*" ]
     testonly = true
     sources = [ "test/mock_transformable_video_frame.h" ]
 
@@ -1002,6 +1012,7 @@
   }
 
   rtc_source_set("mock_video_bitrate_allocator") {
+    visibility = [ "*" ]
     testonly = true
     sources = [ "test/mock_video_bitrate_allocator.h" ]
 
@@ -1012,6 +1023,7 @@
   }
 
   rtc_source_set("mock_video_bitrate_allocator_factory") {
+    visibility = [ "*" ]
     testonly = true
     sources = [ "test/mock_video_bitrate_allocator_factory.h" ]
 
@@ -1022,6 +1034,7 @@
   }
 
   rtc_source_set("mock_video_codec_factory") {
+    visibility = [ "*" ]
     testonly = true
     sources = [
       "test/mock_video_decoder_factory.h",
@@ -1036,7 +1049,6 @@
 
   rtc_library("mock_video_decoder") {
     visibility = [ "*" ]
-
     testonly = true
     sources = [ "test/mock_video_decoder.h" ]
 
@@ -1048,7 +1060,6 @@
 
   rtc_library("mock_video_encoder") {
     visibility = [ "*" ]
-
     testonly = true
     sources = [ "test/mock_video_encoder.h" ]
 
@@ -1060,7 +1071,6 @@
 
   rtc_library("mock_video_track") {
     visibility = [ "*" ]
-
     testonly = true
     sources = [ "test/mock_video_track.h" ]