Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: mojo/public/cpp/system/tests/BUILD.gn

Issue 767083006: Move remaining test targets out of //mojo/public. (Closed) Base URL: https://github.com/domokit/mojo.git@move_mojo_sdk_test_targets
Patch Set: Rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/test/BUILD.gn ('k') | mojo/public/cpp/utility/tests/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
}
« no previous file with comments | « mojo/edk/test/BUILD.gn ('k') | mojo/public/cpp/utility/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698