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

Unified Diff: ui/views/mus/BUILD.gn

Issue 2645973006: [Service Manager] Get rid of dynamic service discovery (Closed)
Patch Set: . Created 3 years, 11 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/ui/ws/run_all_unittests.cc ('k') | ui/views/mus/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/BUILD.gn
diff --git a/ui/views/mus/BUILD.gn b/ui/views/mus/BUILD.gn
index f891743b13854bd6fce37f54958d0760f8f01077..c568ec3320daed0c4169e3a0dcd7e7a22c02a11c 100644
--- a/ui/views/mus/BUILD.gn
+++ b/ui/views/mus/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/features.gni")
import("//build/config/ui.gni")
+import("//services/catalog/public/tools/catalog.gni")
import("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
import("//testing/test.gni")
@@ -121,6 +122,8 @@ static_library("test_support") {
":mus",
"//base",
"//base/test:test_support",
+ "//mojo/edk/system",
+ "//services/catalog:lib",
"//services/service_manager/background:lib",
"//services/service_manager/public/cpp:sources",
"//services/ui/common:mus_common",
@@ -135,6 +138,7 @@ static_library("test_support") {
]
data_deps = [
+ ":views_mus_tests_catalog",
"//ui/resources:ui_test_pak_data",
]
}
@@ -159,7 +163,6 @@ test("views_mus_unittests") {
"//base/test:test_support",
"//cc",
"//net",
- "//services/service_manager/background:main", # Provides main().
"//services/ui/public/interfaces",
"//skia",
"//testing/gtest",
@@ -188,7 +191,7 @@ test("views_mus_unittests") {
]
data_deps = [
- ":unittests_manifest",
+ ":views_mus_tests_catalog_copy",
"//services/ui/ime/test_ime_driver",
"//services/ui/test_wm",
]
@@ -234,7 +237,6 @@ test("views_mus_interactive_ui_tests") {
":mus",
":test_support",
"//base",
- "//services/service_manager/background:main", # Provides main().
"//testing/gmock",
"//testing/gtest",
"//ui/aura",
@@ -250,7 +252,7 @@ test("views_mus_interactive_ui_tests") {
]
data_deps = [
- ":interactive_ui_tests_manifest",
+ ":views_mus_tests_catalog_copy",
"//services/ui/test_wm",
]
@@ -277,3 +279,27 @@ service_manifest("interactive_ui_tests_manifest") {
name = "views_mus_interactive_ui_tests"
source = "interactive_ui_tests_manifest.json"
}
+
+catalog("views_mus_tests_catalog") {
+ testonly = true
+
+ embedded_services = [
+ ":unittests_manifest",
+ ":interactive_ui_tests_manifest",
+ ]
+
+ standalone_services = [ "//services/ui/test_wm:manifest" ]
+
+ catalog_deps = [ "//mash:catalog" ]
+}
+
+copy("views_mus_tests_catalog_copy") {
+ testonly = true
+ sources = get_target_outputs(":views_mus_tests_catalog")
+ outputs = [
+ "${root_out_dir}/views_mus_tests_catalog.json",
+ ]
+ deps = [
+ ":views_mus_tests_catalog",
+ ]
+}
« no previous file with comments | « services/ui/ws/run_all_unittests.cc ('k') | ui/views/mus/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698