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

Unified Diff: mojo/edk/system/BUILD.gn

Issue 1417223005: EDK: Add mojo_edk_{unit,perf}tests target types. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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/mojo_edk.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/BUILD.gn
diff --git a/mojo/edk/system/BUILD.gn b/mojo/edk/system/BUILD.gn
index b3e96a6f500497fde40c3ba28789a9dd5b3beb16..1a1424fbe538fd0d6a51a6245137bfa08f021dbf 100644
--- a/mojo/edk/system/BUILD.gn
+++ b/mojo/edk/system/BUILD.gn
@@ -135,8 +135,9 @@ group("tests") {
]
}
-test("mojo_system_unittests") {
+mojo_edk_unittests("mojo_system_unittests") {
sources = [
+ # TODO(vtl): This should be in its own mojo_edk_unittests target.
"../test/multiprocess_test_helper_unittest.cc",
"awakable_list_unittest.cc",
"channel_endpoint_id_unittest.cc",
@@ -180,19 +181,23 @@ test("mojo_system_unittests") {
deps = [
":system",
- "../embedder:unittests",
- "../test:test_support",
- "../util",
- "../util:unittests",
- "test",
- "test:run_all_unittests",
- "test:unittests",
"//base",
"//testing/gtest",
]
+
+ mojo_edk_deps = [
+ # TODO(vtl): Add separate mojo_edk_unittests targets for these.
+ "mojo/edk/embedder:unittests",
+ "mojo/edk/system/test:unittests",
+ "mojo/edk/util:unittests",
+
+ "mojo/edk/system/test",
+ "mojo/edk/test:test_support",
+ "mojo/edk/util",
+ ]
}
-test("mojo_system_perftests") {
+mojo_edk_perftests("mojo_system_perftests") {
sources = [
"message_pipe_perftest.cc",
"message_pipe_test_utils.cc",
@@ -201,12 +206,16 @@ test("mojo_system_perftests") {
deps = [
":system",
- "../test:test_support",
- "../util:perftests",
- "test",
- "test:perf",
- "test:run_all_perftests",
"//base",
"//testing/gtest",
]
+
+ mojo_edk_deps = [
+ # TODO(vtl): Add separate test targets for this.
+ "mojo/edk/util:perftests",
+
+ "mojo/edk/system/test",
+ "mojo/edk/system/test:perf",
+ "mojo/edk/test:test_support",
+ ]
}
« no previous file with comments | « mojo/edk/mojo_edk.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698