Index: mojo/public/cpp/system/tests/BUILD.gn |
diff --git a/mojo/public/cpp/system/tests/BUILD.gn b/mojo/public/cpp/system/tests/BUILD.gn |
index a0270c22b3eb0d8b94b1447b0945fb188e156161..7a5b7ed886b9d8cb7c75622fe281dcec172b3658 100644 |
--- a/mojo/public/cpp/system/tests/BUILD.gn |
+++ b/mojo/public/cpp/system/tests/BUILD.gn |
@@ -2,18 +2,23 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-# GYP version: mojo/mojo_base.gyp:mojo_public_system_unittests |
-test("mojo_public_system_unittests") { |
- deps = [ |
- "//mojo/edk/test:run_all_unittests", |
- "//mojo/public/c/system/tests", |
- "//mojo/public/cpp/system", |
- "//mojo/public/cpp/test_support:test_utils", |
- "//testing/gtest", |
- ] |
+import("../../../mojo_sdk.gni") |
+ |
+mojo_sdk_source_set("tests") { |
+ testonly = true |
sources = [ |
"core_unittest.cc", |
"macros_unittest.cc", |
] |
+ |
+ deps = [ |
+ "//testing/gtest", |
+ ] |
+ |
+ mojo_sdk_deps = [ |
+ "mojo/public/c/system/tests", |
+ "mojo/public/cpp/system", |
+ "mojo/public/cpp/test_support:test_utils", |
+ ] |
} |