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

Unified Diff: mojo/BUILD.gn

Issue 2104183002: Rationalize mojo_public_*tests targets. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: moar Created 4 years, 6 months 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 | « no previous file | mojo/public/c/system/tests/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/BUILD.gn
diff --git a/mojo/BUILD.gn b/mojo/BUILD.gn
index 7028dfaded9058b020f554a92969571ebf6996b7..575910d787c3c4f591c358b988a4e6d267039ab7 100644
--- a/mojo/BUILD.gn
+++ b/mojo/BUILD.gn
@@ -95,69 +95,88 @@ static_library("system_thunks") {
group("public_tests") {
testonly = true
deps = [
- ":mojo_public_application_unittests",
- ":mojo_public_bindings_perftests",
- ":mojo_public_bindings_unittests",
+ # Unit tests:
":mojo_public_c_bindings_unittests",
- ":mojo_public_environment_unittests",
- ":mojo_public_system_perftests",
- ":mojo_public_system_unittests",
- ":mojo_public_utility_unittests",
+ ":mojo_public_c_system_unittests",
+ ":mojo_public_cpp_application_unittests",
+ ":mojo_public_cpp_bindings_unittests",
+ ":mojo_public_cpp_environment_unittests",
+ ":mojo_public_cpp_system_unittests",
+ ":mojo_public_cpp_utility_unittests",
+
+ # Perf tests:
+ ":mojo_public_c_system_perftests",
+ ":mojo_public_cpp_bindings_perftests",
]
}
-test("mojo_public_application_unittests") {
+# C unit tests:
+
+test("mojo_public_c_bindings_unittests") {
deps = [
"//mojo/edk/test:run_all_unittests",
- "//mojo/public/cpp/application/tests",
+ "//mojo/public/c/bindings/tests",
]
}
-test("mojo_public_bindings_unittests") {
+test("mojo_public_c_system_unittests") {
deps = [
"//mojo/edk/test:run_all_unittests",
- "//mojo/public/cpp/bindings/tests",
+ "//mojo/public/c/system/tests",
]
}
-test("mojo_public_c_bindings_unittests") {
+# C++ unit tests:
+
+test("mojo_public_cpp_application_unittests") {
deps = [
"//mojo/edk/test:run_all_unittests",
- "//mojo/public/c/bindings/tests",
+ "//mojo/public/cpp/application/tests",
]
}
-test("mojo_public_bindings_perftests") {
+test("mojo_public_cpp_bindings_unittests") {
deps = [
- "//mojo/edk/test:run_all_perftests",
- "//mojo/public/cpp/bindings/tests:perftests",
+ "//mojo/edk/test:run_all_unittests",
+ "//mojo/public/cpp/bindings/tests",
]
}
-test("mojo_public_environment_unittests") {
+test("mojo_public_cpp_environment_unittests") {
deps = [
"//mojo/edk/test:run_all_unittests",
"//mojo/public/cpp/environment/tests",
]
}
-test("mojo_public_system_perftests") {
+test("mojo_public_cpp_system_unittests") {
deps = [
- "//mojo/edk/test:run_all_perftests",
- "//mojo/public/c/system/tests:perftests",
+ "//mojo/edk/test:run_all_unittests",
+ "//mojo/public/cpp/system/tests",
]
}
-test("mojo_public_system_unittests") {
+test("mojo_public_cpp_utility_unittests") {
deps = [
"//mojo/edk/test:run_all_unittests",
- "//mojo/public/cpp/system/tests",
+ "//mojo/public/cpp/utility/tests",
]
}
-test("mojo_public_utility_unittests") {
+# C perf tests:
+
+test("mojo_public_c_system_perftests") {
deps = [
- "//mojo/edk/test:run_all_unittests",
- "//mojo/public/cpp/utility/tests",
+ "//mojo/edk/test:run_all_perftests",
+ "//mojo/public/c/system/tests:perftests",
+ ]
+}
+
+# C++ perf tests:
+
+test("mojo_public_cpp_bindings_perftests") {
+ deps = [
+ "//mojo/edk/test:run_all_perftests",
+ "//mojo/public/cpp/bindings/tests:perftests",
]
}
« no previous file with comments | « no previous file | mojo/public/c/system/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698