Index: webrtc/test/BUILD.gn |
diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn |
index f5c0afde4197ede3cedf411ab3f22aac8b0d7e28..ae4ba6afc35af4966937aa947b0780ad3aca3e11 100644 |
--- a/webrtc/test/BUILD.gn |
+++ b/webrtc/test/BUILD.gn |
@@ -164,11 +164,6 @@ rtc_source_set("test_support") { |
} |
if (!build_with_chromium) { |
- # This target depends on //third_party/gflags and since chromium does not |
- # have gflags it causes an error when Gn parses this BUILD.gn file. |
- # It seems that Gn eagerly tries to understand if all the targets are |
- # buildable (even deps). Obviously gflags is not buildable in chromium |
- # so if a target depends on this BUILD.gn file we hit this error. |
rtc_source_set("test_main") { |
testonly = true |
sources = [ |
@@ -184,7 +179,6 @@ if (!build_with_chromium) { |
"../system_wrappers:metrics_default", |
"//testing/gmock", |
"//testing/gtest", |
- "//third_party/gflags", |
] |
} |
@@ -213,7 +207,6 @@ if (!build_with_chromium) { |
"../system_wrappers", |
"//testing/gmock", |
"//testing/gtest", |
- "//third_party/gflags", |
] |
if (!is_ios) { |
@@ -252,7 +245,6 @@ if (!build_with_chromium) { |
deps = [ |
":fileutils", |
"../rtc_base:rtc_base_approved", |
- "//third_party/gflags", |
] |
} |
@@ -336,9 +328,9 @@ if (!build_with_chromium) { |
":video_test_common", |
":video_test_support", |
"../modules/video_capture", |
+ "../rtc_base:rtc_base_approved", |
"//testing/gmock", |
"//testing/gtest", |
- "//third_party/gflags", |
] |
} |
} |