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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
11 import("//chrome/chrome_repack_locales.gni") 11 import("//chrome/chrome_repack_locales.gni")
12 import("//chrome/test/base/js2gtest.gni") 12 import("//chrome/test/base/js2gtest.gni")
13 import("//components/os_crypt/features.gni") 13 import("//components/os_crypt/features.gni")
14 import("//components/spellcheck/spellcheck_build_features.gni") 14 import("//components/spellcheck/spellcheck_build_features.gni")
15 import("//extensions/features/features.gni") 15 import("//extensions/features/features.gni")
16 import("//media/media_options.gni") 16 import("//media/media_options.gni")
17 import("//ppapi/features/features.gni") 17 import("//ppapi/features/features.gni")
18 import("//remoting/remoting_enable.gni") 18 import("//remoting/remoting_enable.gni")
19 import("//rlz/features/features.gni") 19 import("//rlz/features/features.gni")
20 import("//services/service_manager/public/service_manifest.gni") 20 import("//services/service_manager/public/service_manifest.gni")
21 import("//services/catalog/public/tools/catalog.gni")
21 import("//testing/test.gni") 22 import("//testing/test.gni")
22 import("//ui/base/ui_features.gni") 23 import("//ui/base/ui_features.gni")
23 import("//v8/gni/v8.gni") 24 import("//v8/gni/v8.gni")
24 25
25 if (is_android) { 26 if (is_android) {
26 import("//build/config/android/rules.gni") 27 import("//build/config/android/rules.gni")
27 } 28 }
28 29
29 # This target exists to reference other test executables to bring these files 30 # This target exists to reference other test executables to bring these files
30 # into the build. 31 # into the build.
(...skipping 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 "base/mojo_test_connector.cc", 1191 "base/mojo_test_connector.cc",
1191 "base/mojo_test_connector.h", 1192 "base/mojo_test_connector.h",
1192 ] 1193 ]
1193 1194
1194 deps += [ 1195 deps += [
1195 "//mash/package", 1196 "//mash/package",
1196 "//services/service_manager/background:lib", 1197 "//services/service_manager/background:lib",
1197 ] 1198 ]
1198 1199
1199 data_deps = [ 1200 data_deps = [
1200 ":mash_browser_tests_manifest", 1201 ":mash_browser_tests_catalog_copy",
1201 "//chrome/app:service_manifests", 1202 "//chrome/app:service_manifests",
1202 "//mash/session", 1203 "//mash/session",
1203 ] 1204 ]
1204 } else { 1205 } else {
1205 sources += [ "base/browser_tests_main.cc" ] 1206 sources += [ "base/browser_tests_main.cc" ]
1206 } 1207 }
1207 } 1208 }
1208 1209
1209 # Used only by chrome/browser/ui/webui/bidi_checker_web_ui_test.cc 1210 # Used only by chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
1210 chrome_repack_locales("repack_pseudo_locales") { 1211 chrome_repack_locales("repack_pseudo_locales") {
(...skipping 3876 matching lines...) Expand 10 before | Expand all | Expand 10 after
5087 "//content/public/android:content_java", 5088 "//content/public/android:content_java",
5088 ] 5089 ]
5089 } 5090 }
5090 } 5091 }
5091 5092
5092 if (is_chromeos) { 5093 if (is_chromeos) {
5093 service_manifest("mash_browser_tests_manifest") { 5094 service_manifest("mash_browser_tests_manifest") {
5094 name = "mash_browser_tests" 5095 name = "mash_browser_tests"
5095 5096
5096 source = "base/mash_browser_tests_manifest.json" 5097 source = "base/mash_browser_tests_manifest.json"
5097 deps = [ 5098 packaged_services = [
5098 "//ash/autoclick/mus:manifest", 5099 "//ash/autoclick/mus:manifest",
5099 "//ash/mus:manifest", 5100 "//ash/mus:manifest",
5100 "//ash/touch_hud/mus:manifest", 5101 "//ash/touch_hud/mus:manifest",
5101 "//mash/catalog_viewer:manifest", 5102 "//mash/catalog_viewer:manifest",
5102 "//mash/quick_launch:manifest", 5103 "//mash/quick_launch:manifest",
5103 "//mash/session:manifest", 5104 "//mash/session:manifest",
5104 "//mash/task_viewer:manifest", 5105 "//mash/task_viewer:manifest",
5105 "//services/ui:manifest", 5106 "//services/ui:manifest",
5106 "//services/ui/ime/test_ime_driver:manifest", 5107 "//services/ui/ime/test_ime_driver:manifest",
5107 ] 5108 ]
5108 packaged_services = [
5109 "accessibility_autoclick",
5110 "ash",
5111 "catalog_viewer",
5112 "mash_session",
5113 "quick_launch",
5114 "task_viewer",
5115 "test_ime_driver",
5116 "touch_hud",
5117 "ui",
5118 ]
5119 5109
5120 if (is_linux && !is_android) { 5110 if (is_linux && !is_android) {
5121 deps += [ "//components/font_service:manifest" ] 5111 packaged_services += [ "//components/font_service:manifest" ]
5122 packaged_services += [ "font_service" ]
5123 } 5112 }
5124 } 5113 }
5114
5115 catalog("mash_browser_tests_catalog") {
5116 testonly = true
5117 embedded_services = [ ":mash_browser_tests_manifest" ]
5118 standalone_services = [ "//services/tracing:manifest" ]
5119 catalog_deps = [ "//chrome/app:catalog" ]
5120 }
5121
5122 copy("mash_browser_tests_catalog_copy") {
5123 testonly = true
5124 sources = get_target_outputs(":mash_browser_tests_catalog")
5125 outputs = [
5126 "${root_out_dir}/mash_browser_tests_catalog.json",
5127 ]
5128 deps = [
5129 ":mash_browser_tests_catalog",
5130 ]
5131 }
5125 } 5132 }
5126 5133
5127 if (is_win) { 5134 if (is_win) {
5128 loadable_module("conflicts_dll") { 5135 loadable_module("conflicts_dll") {
5129 testonly = true 5136 testonly = true
5130 sources = [ 5137 sources = [
5131 "conflicts/conflicts_dll.cc", 5138 "conflicts/conflicts_dll.cc",
5132 ] 5139 ]
5133 } 5140 }
5134 } 5141 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698