Revert "Revert "GN rtc_* templates: Set default visibility to webrtc_root + "/*"""

This reverts commit c73e1f437889d882cbf2987f7fb3a029a6150613.

Reason for revert: 
The problem with failed deps in chrome content/renderer had already been fixed in https://webrtc-review.googlesource.com/c/src/+/38660

Original change's description:
> Revert "GN rtc_* templates: Set default visibility to webrtc_root + "/*""
> 
> This reverts commit 588c548657b3ddf76e7b3f241263eef7f5799f16.
> 
> Reason for revert: 
> 
> Breaks Chrome FYI:
> 
> /b/c/b/Linux_Builder/src/buildtools/linux64/gn gen //out/Release --check
>   -> returned 1
> ERROR at //build/split_static_library.gni:12:5: Dependency not allowed.
>     static_library(target_name) {
>     ^----------------------------
> The item //content/renderer:renderer
> can not depend on //third_party/webrtc/media:rtc_internal_video_codecs
> because it is not in //third_party/webrtc/media:rtc_internal_video_codecs's visibility list: [
>   //third_party/webrtc/*
>   //third_party/webrtc_overrides/*
> ]
> 
>  https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.webrtc.fyi%2FLinux_Builder%2F23560%2F%2B%2Frecipes%2Fsteps%2Fgenerate_build_files%2F0%2Fstdout
> 
> Original change's description:
> > GN rtc_* templates: Set default visibility to webrtc_root + "/*"
> > 
> > This means that by default, targets are visible to everything under
> > the WebRTC root, but not visible to anything else.
> > 
> > API targets are manually tagged with visibility "*", so that targets
> > outside the WebRTC tree can see them.
> > 
> > BUG=webrtc:8254
> > 
> > Change-Id: Icdbee6e0d22d93240ff2fb530c8f9dc48e351509
> > Reviewed-on: https://webrtc-review.googlesource.com/24140
> > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> > Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#21548}
> 
> TBR=mbonadei@webrtc.org,kwiberg@webrtc.org
> 
> Change-Id: I06620ce3d6f67482935c22efa231dd6cab91625a
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:8254
> Reviewed-on: https://webrtc-review.googlesource.com/38760
> Reviewed-by: Per Kjellander <perkj@webrtc.org>
> Commit-Queue: Per Kjellander <perkj@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#21555}

TBR=mbonadei@webrtc.org,kwiberg@webrtc.org,perkj@webrtc.org

Change-Id: I6f720078ce21bd172e0a6471bae8c4c011e4a657
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8254
Reviewed-on: https://webrtc-review.googlesource.com/38860
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Commit-Queue: Per Kjellander <perkj@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21558}
diff --git a/api/BUILD.gn b/api/BUILD.gn
index 6ac235b..dcda369 100644
--- a/api/BUILD.gn
+++ b/api/BUILD.gn
@@ -13,12 +13,14 @@
 }
 
 group("api") {
+  visibility = [ "*" ]
   public_deps = [
     ":libjingle_peerconnection_api",
   ]
 }
 
 rtc_source_set("call_api") {
+  visibility = [ "*" ]
   sources = [
     "call/audio_sink.h",
   ]
@@ -34,6 +36,7 @@
 }
 
 rtc_static_library("libjingle_peerconnection_api") {
+  visibility = [ "*" ]
   cflags = []
   sources = [
     "candidate.cc",
@@ -114,6 +117,8 @@
 }
 
 rtc_source_set("peerconnection_and_implicit_call_api") {
+  visibility = [ "*" ]
+
   # The peerconnectioninterface.h file pulls in call/callfactoryinterface.h
   # and the entire call module with it. We need to either get rid of this
   # dependency or pull most of call/ into the API. For now, silence the warnings
@@ -126,12 +131,14 @@
 }
 
 rtc_source_set("libjingle_logging_api") {
+  visibility = [ "*" ]
   sources = [
     "rtceventlogoutput.h",
   ]
 }
 
 rtc_source_set("ortc_api") {
+  visibility = [ "*" ]
   sources = [
     "ortc/mediadescription.cc",
     "ortc/mediadescription.h",
@@ -164,6 +171,7 @@
 }
 
 rtc_source_set("rtc_stats_api") {
+  visibility = [ "*" ]
   cflags = []
   sources = [
     "stats/rtcstats.h",
@@ -179,6 +187,7 @@
 }
 
 rtc_source_set("audio_mixer_api") {
+  visibility = [ "*" ]
   sources = [
     "audio/audio_mixer.h",
   ]
@@ -190,12 +199,14 @@
 }
 
 rtc_source_set("transport_api") {
+  visibility = [ "*" ]
   sources = [
     "call/transport.h",
   ]
 }
 
 rtc_source_set("video_frame_api") {
+  visibility = [ "*" ]
   sources = [
     "video/video_content_type.cc",
     "video/video_content_type.h",
@@ -215,6 +226,7 @@
 }
 
 rtc_source_set("video_frame_api_i420") {
+  visibility = [ "*" ]
   sources = [
     "video/i420_buffer.cc",
     "video/i420_buffer.h",
@@ -229,6 +241,7 @@
 }
 
 rtc_source_set("array_view") {
+  visibility = [ "*" ]
   sources = [
     "array_view.h",
   ]
@@ -239,6 +252,7 @@
 }
 
 rtc_source_set("optional") {
+  visibility = [ "*" ]
   sources = [
     "optional.cc",
     "optional.h",
@@ -251,6 +265,7 @@
 }
 
 rtc_source_set("refcountedbase") {
+  visibility = [ "*" ]
   sources = [
     "refcountedbase.h",
   ]
@@ -260,6 +275,7 @@
 }
 
 rtc_source_set("libjingle_peerconnection_test_api") {
+  visibility = [ "*" ]
   testonly = true
   sources = [
     "test/fakeconstraints.h",
diff --git a/api/audio_codecs/BUILD.gn b/api/audio_codecs/BUILD.gn
index 01dc124..f730260 100644
--- a/api/audio_codecs/BUILD.gn
+++ b/api/audio_codecs/BUILD.gn
@@ -13,6 +13,7 @@
 }
 
 rtc_source_set("audio_codecs_api") {
+  visibility = [ "*" ]
   sources = [
     "audio_decoder.cc",
     "audio_decoder.h",
@@ -38,6 +39,7 @@
 }
 
 rtc_static_library("builtin_audio_decoder_factory") {
+  visibility = [ "*" ]
   sources = [
     "builtin_audio_decoder_factory.cc",
     "builtin_audio_decoder_factory.h",
@@ -66,6 +68,7 @@
 }
 
 rtc_static_library("builtin_audio_encoder_factory") {
+  visibility = [ "*" ]
   sources = [
     "builtin_audio_encoder_factory.cc",
     "builtin_audio_encoder_factory.h",
diff --git a/api/audio_codecs/L16/BUILD.gn b/api/audio_codecs/L16/BUILD.gn
index 8f06a8f..f047bf1 100644
--- a/api/audio_codecs/L16/BUILD.gn
+++ b/api/audio_codecs/L16/BUILD.gn
@@ -13,6 +13,7 @@
 }
 
 rtc_static_library("audio_encoder_L16") {
+  visibility = [ "*" ]
   sources = [
     "audio_encoder_L16.cc",
     "audio_encoder_L16.h",
@@ -27,6 +28,7 @@
 }
 
 rtc_static_library("audio_decoder_L16") {
+  visibility = [ "*" ]
   sources = [
     "audio_decoder_L16.cc",
     "audio_decoder_L16.h",
diff --git a/api/audio_codecs/g711/BUILD.gn b/api/audio_codecs/g711/BUILD.gn
index aa86490..b62c679 100644
--- a/api/audio_codecs/g711/BUILD.gn
+++ b/api/audio_codecs/g711/BUILD.gn
@@ -13,6 +13,7 @@
 }
 
 rtc_static_library("audio_encoder_g711") {
+  visibility = [ "*" ]
   sources = [
     "audio_encoder_g711.cc",
     "audio_encoder_g711.h",
@@ -27,6 +28,7 @@
 }
 
 rtc_static_library("audio_decoder_g711") {
+  visibility = [ "*" ]
   sources = [
     "audio_decoder_g711.cc",
     "audio_decoder_g711.h",
diff --git a/api/audio_codecs/g722/BUILD.gn b/api/audio_codecs/g722/BUILD.gn
index 5af7e5c..0d12195 100644
--- a/api/audio_codecs/g722/BUILD.gn
+++ b/api/audio_codecs/g722/BUILD.gn
@@ -13,12 +13,14 @@
 }
 
 rtc_source_set("audio_encoder_g722_config") {
+  visibility = [ "*" ]
   sources = [
     "audio_encoder_g722_config.h",
   ]
 }
 
 rtc_static_library("audio_encoder_g722") {
+  visibility = [ "*" ]
   sources = [
     "audio_encoder_g722.cc",
     "audio_encoder_g722.h",
@@ -34,6 +36,7 @@
 }
 
 rtc_static_library("audio_decoder_g722") {
+  visibility = [ "*" ]
   sources = [
     "audio_decoder_g722.cc",
     "audio_decoder_g722.h",
diff --git a/api/audio_codecs/ilbc/BUILD.gn b/api/audio_codecs/ilbc/BUILD.gn
index 0f5f80d..944d4eb 100644
--- a/api/audio_codecs/ilbc/BUILD.gn
+++ b/api/audio_codecs/ilbc/BUILD.gn
@@ -13,12 +13,14 @@
 }
 
 rtc_source_set("audio_encoder_ilbc_config") {
+  visibility = [ "*" ]
   sources = [
     "audio_encoder_ilbc_config.h",
   ]
 }
 
 rtc_static_library("audio_encoder_ilbc") {
+  visibility = [ "*" ]
   sources = [
     "audio_encoder_ilbc.cc",
     "audio_encoder_ilbc.h",
@@ -34,6 +36,7 @@
 }
 
 rtc_static_library("audio_decoder_ilbc") {
+  visibility = [ "*" ]
   sources = [
     "audio_decoder_ilbc.cc",
     "audio_decoder_ilbc.h",
diff --git a/api/audio_codecs/isac/BUILD.gn b/api/audio_codecs/isac/BUILD.gn
index 5bd477d..f63435c 100644
--- a/api/audio_codecs/isac/BUILD.gn
+++ b/api/audio_codecs/isac/BUILD.gn
@@ -18,6 +18,7 @@
 # on cleverly chosen criteria.
 
 rtc_source_set("audio_encoder_isac") {
+  visibility = [ "*" ]
   public = [
     "audio_encoder_isac.h",
   ]
@@ -34,6 +35,7 @@
 }
 
 rtc_source_set("audio_decoder_isac") {
+  visibility = [ "*" ]
   public = [
     "audio_decoder_isac.h",
   ]
@@ -65,6 +67,7 @@
 }
 
 rtc_static_library("audio_encoder_isac_fix") {
+  visibility = [ "*" ]
   sources = [
     "audio_encoder_isac_fix.cc",
     "audio_encoder_isac_fix.h",
@@ -79,6 +82,7 @@
 }
 
 rtc_static_library("audio_decoder_isac_fix") {
+  visibility = [ "*" ]
   sources = [
     "audio_decoder_isac_fix.cc",
     "audio_decoder_isac_fix.h",
@@ -93,6 +97,7 @@
 }
 
 rtc_static_library("audio_encoder_isac_float") {
+  visibility = [ "*" ]
   sources = [
     "audio_encoder_isac_float.cc",
     "audio_encoder_isac_float.h",
@@ -107,6 +112,7 @@
 }
 
 rtc_static_library("audio_decoder_isac_float") {
+  visibility = [ "*" ]
   sources = [
     "audio_decoder_isac_float.cc",
     "audio_decoder_isac_float.h",
diff --git a/api/audio_codecs/opus/BUILD.gn b/api/audio_codecs/opus/BUILD.gn
index 9d07c95..13a4b5d 100644
--- a/api/audio_codecs/opus/BUILD.gn
+++ b/api/audio_codecs/opus/BUILD.gn
@@ -13,6 +13,7 @@
 }
 
 rtc_static_library("audio_encoder_opus_config") {
+  visibility = [ "*" ]
   sources = [
     "audio_encoder_opus_config.cc",
     "audio_encoder_opus_config.h",
@@ -30,6 +31,7 @@
 }
 
 rtc_source_set("audio_encoder_opus") {
+  visibility = [ "*" ]
   public = [
     "audio_encoder_opus.h",
   ]
@@ -50,6 +52,7 @@
 }
 
 rtc_static_library("audio_decoder_opus") {
+  visibility = [ "*" ]
   sources = [
     "audio_decoder_opus.cc",
     "audio_decoder_opus.h",
diff --git a/api/video_codecs/BUILD.gn b/api/video_codecs/BUILD.gn
index 6f3623d..5da8980 100644
--- a/api/video_codecs/BUILD.gn
+++ b/api/video_codecs/BUILD.gn
@@ -13,6 +13,7 @@
 }
 
 rtc_source_set("video_codecs_api") {
+  visibility = [ "*" ]
   sources = [
     "sdp_video_format.h",
     "video_decoder.h",