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

Side by Side Diff: services/ui/ime/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
« no previous file with comments | « services/ui/demo/run_all_unittests.cc ('k') | services/ui/ime/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//services/catalog/public/tools/catalog.gni")
5 import("//services/service_manager/public/cpp/service.gni") 6 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni") 7 import("//services/service_manager/public/service_manifest.gni")
7 import("//testing/test.gni") 8 import("//testing/test.gni")
8 9
9 source_set("lib") { 10 source_set("lib") {
10 sources = [ 11 sources = [
11 "ime_registrar_impl.cc", 12 "ime_registrar_impl.cc",
12 "ime_registrar_impl.h", 13 "ime_registrar_impl.h",
13 "ime_server_impl.cc", 14 "ime_server_impl.cc",
14 "ime_server_impl.h", 15 "ime_server_impl.h",
(...skipping 12 matching lines...) Expand all
27 group("tests") { 28 group("tests") {
28 testonly = true 29 testonly = true
29 deps = [ 30 deps = [
30 ":mus_ime_unittests", 31 ":mus_ime_unittests",
31 ] 32 ]
32 } 33 }
33 34
34 test("mus_ime_unittests") { 35 test("mus_ime_unittests") {
35 sources = [ 36 sources = [
36 "ime_unittest.cc", 37 "ime_unittest.cc",
38 "run_all_unittests.cc",
37 ] 39 ]
38 40
39 deps = [ 41 deps = [
40 "//base", 42 "//base",
43 "//base/test:test_support",
41 "//mojo/common", 44 "//mojo/common",
45 "//mojo/edk/system",
46 "//services/catalog:lib",
42 "//services/service_manager/public/cpp:service_test_support", 47 "//services/service_manager/public/cpp:service_test_support",
43 "//services/service_manager/public/cpp:sources", 48 "//services/service_manager/public/cpp:sources",
44 "//services/service_manager/public/cpp/test:run_all_service_tests",
45 "//services/ui/public/interfaces", 49 "//services/ui/public/interfaces",
46 ] 50 ]
47 51
48 data_deps = [ 52 data_deps = [
49 ":test_manifest",
50 ":lib", 53 ":lib",
54 ":mus_ime_unittests_catalog_copy",
51 "//services/ui", 55 "//services/ui",
52 "//services/ui/ime/test_ime_driver", 56 "//services/ui/ime/test_ime_driver",
53 ] 57 ]
54 } 58 }
55 59
56 service_manifest("test_manifest") { 60 service_manifest("test_manifest") {
57 name = "mus_ime_unittests" 61 name = "mus_ime_unittests"
58 source = "test_manifest.json" 62 source = "test_manifest.json"
59 } 63 }
64
65 catalog("mus_ime_unittests_catalog") {
66 embedded_services = [ ":test_manifest" ]
67 standalone_services = [
68 "//services/ui:manifest",
69 "//services/ui/ime/test_ime_driver:manifest",
70 ]
71 }
72
73 copy("mus_ime_unittests_catalog_copy") {
74 sources = get_target_outputs(":mus_ime_unittests_catalog")
75 outputs = [
76 "${root_out_dir}/mus_ime_unittests_catalog.json",
77 ]
78 deps = [
79 ":mus_ime_unittests_catalog",
80 ]
81 }
OLDNEW
« no previous file with comments | « services/ui/demo/run_all_unittests.cc ('k') | services/ui/ime/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698