Index: mojo/public/c/BUILD.gn |
diff --git a/mojo/public/c/BUILD.gn b/mojo/public/c/BUILD.gn |
index 43c4470b575c72c6d7d2654454af77f5838484af..8975441cf406b68b869c33c54a8f72535ca349b9 100644 |
--- a/mojo/public/c/BUILD.gn |
+++ b/mojo/public/c/BUILD.gn |
@@ -74,10 +74,10 @@ mojo_sdk_source_set("bindings_unittests") { |
deps = [ |
":bindings", |
- "//testing/gtest", |
] |
mojo_sdk_deps = [ |
+ "mojo/public:gtest", |
"mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", |
"mojo/public/cpp/bindings/tests:validation_util", |
"mojo/public/cpp/test_support", |
@@ -114,8 +114,9 @@ mojo_sdk_source_set("common_unittests") { |
deps = [ |
":common", |
- "//testing/gtest", |
] |
+ |
+ mojo_sdk_deps = [ "mojo/public:gtest" ] |
} |
# environment ------------------------------------------------------------------ |
@@ -300,8 +301,9 @@ mojo_sdk_source_set("system_unittests") { |
deps = [ |
":system", |
- "//testing/gtest", |
] |
+ |
+ mojo_sdk_deps = [ "mojo/public:gtest" ] |
} |
mojo_sdk_source_set("system_perftests") { |
@@ -317,10 +319,12 @@ mojo_sdk_source_set("system_perftests") { |
deps = [ |
":system", |
- "//testing/gtest", |
] |
- mojo_sdk_deps = [ "mojo/public/cpp/test_support" ] |
+ mojo_sdk_deps = [ |
+ "mojo/public:gtest", |
+ "mojo/public/cpp/test_support", |
+ ] |
} |
# Compilation tests ------------------------------------------------------------ |
@@ -335,8 +339,9 @@ mojo_sdk_source_set("compile_unittests") { |
deps = [ |
":pure_compile_tests", |
- "//testing/gtest", |
] |
+ |
+ mojo_sdk_deps = [ "mojo/public:gtest" ] |
} |
# This source set contains "pure" tests that only depend on the public SDK (and |