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

Unified Diff: chrome/test/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 | « chrome/browser/browser_resources.grd ('k') | chrome/test/base/mash_browser_tests_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/BUILD.gn
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index 2e82736aa52774f8be3ac92e4d8b1a8c55505b09..7179c43e4e672e19d8caadd2d925f495facfc744 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -18,6 +18,7 @@ import("//ppapi/features/features.gni")
import("//remoting/remoting_enable.gni")
import("//rlz/features/features.gni")
import("//services/service_manager/public/service_manifest.gni")
+import("//services/catalog/public/tools/catalog.gni")
import("//testing/test.gni")
import("//ui/base/ui_features.gni")
import("//v8/gni/v8.gni")
@@ -1197,8 +1198,7 @@ static_library("browser_tests_runner") {
]
data_deps = [
- ":mash_browser_tests_manifest",
- "//chrome/app:service_manifests",
+ ":mash_browser_tests_catalog_copy",
"//mash/session",
]
} else {
@@ -5098,7 +5098,7 @@ if (is_chromeos) {
name = "mash_browser_tests"
source = "base/mash_browser_tests_manifest.json"
- deps = [
+ packaged_services = [
"//ash/autoclick/mus:manifest",
"//ash/mus:manifest",
"//ash/touch_hud/mus:manifest",
@@ -5109,23 +5109,29 @@ if (is_chromeos) {
"//services/ui:manifest",
"//services/ui/ime/test_ime_driver:manifest",
]
- packaged_services = [
- "accessibility_autoclick",
- "ash",
- "catalog_viewer",
- "mash_session",
- "quick_launch",
- "task_viewer",
- "test_ime_driver",
- "touch_hud",
- "ui",
- ]
if (is_linux && !is_android) {
- deps += [ "//components/font_service:manifest" ]
- packaged_services += [ "font_service" ]
+ packaged_services += [ "//components/font_service:manifest" ]
}
}
+
+ catalog("mash_browser_tests_catalog") {
+ testonly = true
+ embedded_services = [ ":mash_browser_tests_manifest" ]
+ standalone_services = [ "//services/tracing:manifest" ]
+ catalog_deps = [ "//chrome/app:catalog" ]
+ }
+
+ copy("mash_browser_tests_catalog_copy") {
+ testonly = true
+ sources = get_target_outputs(":mash_browser_tests_catalog")
+ outputs = [
+ "${root_out_dir}/mash_browser_tests_catalog.json",
+ ]
+ deps = [
+ ":mash_browser_tests_catalog",
+ ]
+ }
}
if (is_win) {
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/test/base/mash_browser_tests_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698