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

Unified Diff: services/resource_coordinator/BUILD.gn

Issue 2901623002: Move more tests suites to services_unittests. (Closed)
Patch Set: Oh, it was never run on android previously... Created 3 years, 7 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 | « services/BUILD.gn ('k') | services/ui/gpu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/resource_coordinator/BUILD.gn
diff --git a/services/resource_coordinator/BUILD.gn b/services/resource_coordinator/BUILD.gn
index a6e27e3e318a90d174c754fa6b78106f7a7436f0..6b03a813054f201cf0815362e28e9e88e8fe07b2 100644
--- a/services/resource_coordinator/BUILD.gn
+++ b/services/resource_coordinator/BUILD.gn
@@ -58,33 +58,16 @@ source_set("tests") {
"public/cpp/tracing/chrome_trace_event_agent_unittest.cc",
]
+ if (!is_android) {
+ sources += [ "resource_coordinator_service_unittest.cc" ]
+ }
+
deps = [
":lib",
"//base",
"//base/test:test_support",
"//mojo/public/cpp/bindings",
"//services/resource_coordinator/public/cpp:resource_coordinator_cpp",
- "//testing/gtest",
- ]
-
- data_deps = [
- ":lib",
- ]
-}
-
-service_test("resource_coordinator_unittests") {
- testonly = true
-
- sources = [
- "resource_coordinator_service_unittest.cc",
- ]
-
- catalog = ":resource_coordinator_unittests_catalog"
-
- deps = [
- "//base",
- "//mojo/public/cpp/bindings",
- "//services/resource_coordinator/public/cpp:resource_coordinator_cpp",
"//services/service_manager/public/cpp",
"//services/service_manager/public/cpp:service_test_support",
"//services/service_manager/public/interfaces",
@@ -93,6 +76,7 @@ service_test("resource_coordinator_unittests") {
data_deps = [
":resource_coordinator",
+ ":lib",
]
}
@@ -101,7 +85,8 @@ service_manifest("unittest_manifest") {
source = "unittest_manifest.json"
}
-catalog("resource_coordinator_unittests_catalog") {
+catalog("tests_catalog") {
+ testonly = true
embedded_services = [ ":unittest_manifest" ]
standalone_services = [ ":manifest" ]
}
« no previous file with comments | « services/BUILD.gn ('k') | services/ui/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698