Index: test/BUILD.gn |
diff --git a/test/BUILD.gn b/test/BUILD.gn |
index 36f353930782df8ce2040701ea44629a11c13644..07c79d56e6a93bc304b65b1ee230ebfaccc0d879 100644 |
--- a/test/BUILD.gn |
+++ b/test/BUILD.gn |
@@ -27,7 +27,7 @@ group("test") { |
":video_test_common", |
] |
- if (!build_with_chromium) { |
+ if (rtc_include_tests) { |
deps += [ |
":test_main", |
":test_support_unittests", |
@@ -175,9 +175,7 @@ rtc_source_set("test_support") { |
} |
} |
-if (!build_with_chromium) { |
- # This target used to depend on //third_party/gflags which Chromium does not |
- # provide. TODO(oprypin): remove the conditional. |
+if (rtc_include_tests) { |
rtc_source_set("test_main") { |
testonly = true |
sources = [ |