Cleanup BUILD.gn files from imports like foo:foo
Repalce all occurrences of foo:foo in deps with just foo in BUILD.gn
files.
Done with Sublime regex replace.
Find: \b([-a-zA-Z0-9_]+):+\1\b
In: *.gn
Replace with: \1
Bug: None
Change-Id: I40aba1b14face687a595b852ffe443cb20197611
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127899
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27225}
diff --git a/api/BUILD.gn b/api/BUILD.gn
index 7e54cb3..ec03df3 100644
--- a/api/BUILD.gn
+++ b/api/BUILD.gn
@@ -53,8 +53,8 @@
"../modules/audio_device:audio_device_api",
"../modules/audio_processing:api",
"../pc:peerconnection",
+ "../rtc_base",
"../rtc_base:deprecation",
- "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved",
"audio:audio_mixer_api",
"audio_codecs:audio_codecs_api",
@@ -162,9 +162,9 @@
"../logging:rtc_event_log_api",
"../media:rtc_media_config",
"../modules/audio_processing:audio_processing_statistics",
+ "../rtc_base",
"../rtc_base:checks",
"../rtc_base:deprecation",
- "../rtc_base:rtc_base",
"../rtc_base:rtc_base_approved",
"../rtc_base/system:rtc_export",
]
@@ -326,8 +326,8 @@
"test/simulated_network.h",
]
deps = [
+ "../rtc_base",
"../rtc_base:criticalsection",
- "../rtc_base:rtc_base",
"//third_party/abseil-cpp/absl/types:optional",
]
}
@@ -339,7 +339,7 @@
]
deps = [
":simulated_network_api",
- "../rtc_base:rtc_base",
+ "../rtc_base",
]
}
@@ -386,7 +386,7 @@
":libjingle_peerconnection_api",
":scoped_refptr",
"../p2p:rtc_p2p",
- "../rtc_base:rtc_base",
+ "../rtc_base",
"//third_party/abseil-cpp/absl/memory",
]
}
@@ -410,8 +410,8 @@
]
deps = [
+ "../modules/audio_processing",
"../modules/audio_processing:api",
- "../modules/audio_processing:audio_processing",
"../modules/audio_processing:audioproc_f_impl",
]
}
@@ -673,8 +673,8 @@
deps = [
":libjingle_peerconnection_api",
+ "../rtc_base",
"../rtc_base:checks",
- "../rtc_base:rtc_base",
"//third_party/abseil-cpp/absl/memory",
]
}