Index: mojo/public/c/system/tests/BUILD.gn |
diff --git a/mojo/public/c/system/tests/BUILD.gn b/mojo/public/c/system/tests/BUILD.gn |
index d1eba41a06e998ead35fd26b2983cb0056659639..14b15f69e75b40c7ea103bfe8bfd85809370f82d 100644 |
--- a/mojo/public/c/system/tests/BUILD.gn |
+++ b/mojo/public/c/system/tests/BUILD.gn |
@@ -2,37 +2,45 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-source_set("tests") { |
+import("../../../mojo_sdk.gni") |
+ |
+mojo_sdk_source_set("tests") { |
testonly = true |
- visibility = [ "//mojo/public/cpp/system/tests:mojo_public_system_unittests" ] |
- deps = [ |
- "//mojo/public/c/environment", |
- "//mojo/public/c/system", |
- "//testing/gtest", |
- ] |
+ mojo_sdk_visibility = |
+ [ "mojo/public/cpp/system/tests:mojo_public_system_unittests" ] |
sources = [ |
"core_unittest.cc", |
"core_unittest_pure_c.c", |
"macros_unittest.cc", |
] |
+ |
+ deps = [ |
+ "//testing/gtest", |
+ ] |
+ |
+ mojo_sdk_deps = [ |
+ "mojo/public/c/environment", |
+ "mojo/public/c/system", |
+ ] |
} |
-# GYP version: mojo/mojo_base.gyp:mojo_public_system_perftests |
-test("perftests") { |
- output_name = "mojo_public_system_perftests" |
+mojo_sdk_source_set("perftests") { |
+ testonly = true |
sources = [ |
"core_perftest.cc", |
] |
deps = [ |
- "//mojo/edk/test:run_all_perftests", |
- "//mojo/public/c/environment", |
- "//mojo/public/cpp/system", |
- "//mojo/public/cpp/test_support:test_utils", |
- "//mojo/public/cpp/utility", |
"//testing/gtest", |
] |
+ |
+ mojo_sdk_deps = [ |
+ "mojo/public/c/environment", |
+ "mojo/public/cpp/system", |
+ "mojo/public/cpp/test_support:test_utils", |
+ "mojo/public/cpp/utility", |
+ ] |
} |