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/rtc_base/BUILD.gn b/rtc_base/BUILD.gn
index c5531bf..f4e9f76 100644
--- a/rtc_base/BUILD.gn
+++ b/rtc_base/BUILD.gn
@@ -252,7 +252,7 @@
if (build_with_chromium) {
# Dependency on chromium's waitable_event (in //base).
- deps += [ "//base:base" ]
+ deps += [ "//base" ]
sources = [
"../../webrtc_overrides/rtc_base/event.cc",
"../../webrtc_overrides/rtc_base/event.h",
@@ -281,7 +281,7 @@
if (build_with_chromium) {
# Dependency on chromium's logging (in //base).
- deps += [ "//base:base" ]
+ deps += [ "//base" ]
sources = [
"../../webrtc_overrides/rtc_base/logging.cc",
"../../webrtc_overrides/rtc_base/logging.h",
@@ -433,7 +433,7 @@
":macromagic",
":safe_minmax",
"../api:array_view",
- "//third_party/abseil-cpp/absl/strings:strings",
+ "//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/types:optional",
]
}
@@ -1181,10 +1181,10 @@
":rtc_base_tests_main",
":rtc_base_tests_utils",
":testclient",
- "../system_wrappers:system_wrappers",
+ "../system_wrappers",
"../test:fileutils",
"../test:test_support",
- "third_party/sigslot:sigslot",
+ "third_party/sigslot",
"//testing/gtest",
"//third_party/abseil-cpp/absl/memory",
]
@@ -1259,12 +1259,12 @@
"../api:array_view",
"../api:scoped_refptr",
"../api/units:time_delta",
- "../system_wrappers:system_wrappers",
+ "../system_wrappers",
"../test:fileutils",
"../test:test_support",
"memory:unittests",
"third_party/base64",
- "third_party/sigslot:sigslot",
+ "third_party/sigslot",
"//third_party/abseil-cpp/absl/memory",
]
}