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

Side by Side Diff: chrome/app/mash/BUILD.gn

Issue 2910383002: mash: Add catalog/manifest etc. for telemetry tests binary for mash. (Closed)
Patch Set: . Created 3 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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/nacl/config.gni") 5 import("//build/config/nacl/config.gni")
6 import("//chrome/common/features.gni") 6 import("//chrome/common/features.gni")
7 import("//services/catalog/public/tools/catalog.gni") 7 import("//services/catalog/public/tools/catalog.gni")
8 import("//services/service_manager/public/service_manifest.gni") 8 import("//services/service_manager/public/service_manifest.gni")
9 9
10 assert(enable_package_mash_services) 10 assert(enable_package_mash_services)
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 if (is_posix) { 59 if (is_posix) {
60 deps += [ "//chrome/app:shutdown_signal_handlers" ] 60 deps += [ "//chrome/app:shutdown_signal_handlers" ]
61 } 61 }
62 62
63 if (is_linux && !is_android) { 63 if (is_linux && !is_android) {
64 deps += [ "//components/font_service:lib" ] 64 deps += [ "//components/font_service:lib" ]
65 } 65 }
66 } 66 }
67 67
68 catalog("catalog") { 68 catalog("catalog_common") {
69 embedded_services = [ 69 embedded_services = [
70 "//ash/autoclick/mus:manifest", 70 "//ash/autoclick/mus:manifest",
71 "//ash/touch_hud/mus:manifest", 71 "//ash/touch_hud/mus:manifest",
72 "//mash/catalog_viewer:manifest", 72 "//mash/catalog_viewer:manifest",
73 "//mash/quick_launch:manifest", 73 "//mash/quick_launch:manifest",
74 "//mash/session:manifest", 74 "//mash/session:manifest",
75 "//mash/task_viewer:manifest", 75 "//mash/task_viewer:manifest",
76 "//services/ui:manifest", 76 "//services/ui:manifest",
77 "//services/ui/ime/test_ime_driver:manifest", 77 "//services/ui/ime/test_ime_driver:manifest",
78 ] 78 ]
79 catalog_deps = [ "//chrome/app:catalog_for_mash" ]
80 standalone_services = [ 79 standalone_services = [
81 "//mash/example/views_examples:manifest", 80 "//mash/example/views_examples:manifest",
82 "//mash/simple_wm:manifest", 81 "//mash/simple_wm:manifest",
83 ] 82 ]
84 83
85 if (is_chromeos) { 84 if (is_chromeos) {
86 embedded_services += [ "//ash/mus:manifest" ] 85 embedded_services += [ "//ash/mus:manifest" ]
87 } 86 }
88 87
89 if (is_linux && !is_android) { 88 if (is_linux && !is_android) {
90 embedded_services += [ "//components/font_service:manifest" ] 89 embedded_services += [ "//components/font_service:manifest" ]
91 } 90 }
92 91
93 if (enable_nacl && is_chromeos) { 92 if (enable_nacl && is_chromeos) {
94 embedded_services += [ "//components/nacl/loader:nacl_loader_manifest" ] 93 embedded_services += [ "//components/nacl/loader:nacl_loader_manifest" ]
95 } 94 }
96 } 95 }
97 96
97 catalog("catalog") {
98 catalog_deps = [
99 ":catalog_common",
100 "//chrome/app:catalog_for_mash",
101 ]
102 }
103
98 catalog_cpp_source("chrome_mash_catalog") { 104 catalog_cpp_source("chrome_mash_catalog") {
99 catalog = ":catalog" 105 catalog = ":catalog"
100 generated_function_name = "CreateChromeMashCatalog" 106 generated_function_name = "CreateChromeMashCatalog"
101 } 107 }
102 108
109 catalog("catalog_test") {
110 catalog_deps = [
111 ":catalog_common",
112 "//chrome/app:catalog_for_tests_mash",
113 ]
114 }
115
116 catalog_cpp_source("chrome_test_catalog") {
117 catalog = ":catalog_test"
118 generated_function_name = "CreateChromeTestCatalog"
119 }
120
103 if (is_chromeos) { 121 if (is_chromeos) {
104 catalog("catalog_mus") { 122 catalog("catalog_mus") {
105 catalog_deps = [ "//chrome/app:catalog" ] 123 catalog_deps = [ "//chrome/app:catalog" ]
106 embedded_services = [ 124 embedded_services = [
107 "//services/ui:manifest", 125 "//services/ui:manifest",
108 126
109 # TODO(sky): verify if we need this. 127 # TODO(sky): verify if we need this.
110 "//services/ui/ime/test_ime_driver:manifest", 128 "//services/ui/ime/test_ime_driver:manifest",
111 ] 129 ]
112 130
113 if (enable_nacl) { 131 if (enable_nacl) {
114 embedded_services += [ "//components/nacl/loader:nacl_loader_manifest" ] 132 embedded_services += [ "//components/nacl/loader:nacl_loader_manifest" ]
115 } 133 }
116 } 134 }
117 135
118 catalog_cpp_source("chrome_mus_catalog") { 136 catalog_cpp_source("chrome_mus_catalog") {
119 catalog = ":catalog_mus" 137 catalog = ":catalog_mus"
120 generated_function_name = "CreateChromeMusCatalog" 138 generated_function_name = "CreateChromeMusCatalog"
121 } 139 }
122 } 140 }
OLDNEW
« no previous file with comments | « chrome/app/chrome_test_exe_main_aura.cc ('k') | chrome/browser/chrome_test_browser_overlay.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698