OLD | NEW |
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/shell/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.gni") |
6 import("//services/shell/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_manifest.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 source_set("lib") { | 9 source_set("lib") { |
10 sources = [ | 10 sources = [ |
11 "ime_registrar_impl.cc", | 11 "ime_registrar_impl.cc", |
12 "ime_registrar_impl.h", | 12 "ime_registrar_impl.h", |
13 "ime_server_impl.cc", | 13 "ime_server_impl.cc", |
14 "ime_server_impl.h", | 14 "ime_server_impl.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//mojo/common", | 19 "//mojo/common", |
20 "//mojo/public/cpp/bindings", | 20 "//mojo/public/cpp/bindings", |
21 "//services/shell/public/cpp", | 21 "//services/service_manager/public/cpp", |
22 "//services/tracing/public/cpp", | 22 "//services/tracing/public/cpp", |
23 "//services/ui/public/interfaces", | 23 "//services/ui/public/interfaces", |
24 ] | 24 ] |
25 } | 25 } |
26 | 26 |
27 group("tests") { | 27 group("tests") { |
28 testonly = true | 28 testonly = true |
29 deps = [ | 29 deps = [ |
30 ":mus_ime_unittests", | 30 ":mus_ime_unittests", |
31 ] | 31 ] |
32 } | 32 } |
33 | 33 |
34 test("mus_ime_unittests") { | 34 test("mus_ime_unittests") { |
35 sources = [ | 35 sources = [ |
36 "ime_unittest.cc", | 36 "ime_unittest.cc", |
37 ] | 37 ] |
38 | 38 |
39 deps = [ | 39 deps = [ |
40 "//base", | 40 "//base", |
41 "//mojo/common", | 41 "//mojo/common", |
42 "//services/shell/public/cpp:service_test_support", | 42 "//services/service_manager/public/cpp:service_test_support", |
43 "//services/shell/public/cpp:sources", | 43 "//services/service_manager/public/cpp:sources", |
44 "//services/shell/public/cpp/test:run_all_shelltests", | 44 "//services/service_manager/public/cpp/test:run_all_shelltests", |
45 "//services/ui/public/interfaces", | 45 "//services/ui/public/interfaces", |
46 ] | 46 ] |
47 | 47 |
48 data_deps = [ | 48 data_deps = [ |
49 ":test_manifest", | 49 ":test_manifest", |
50 ":lib", | 50 ":lib", |
51 "//services/ui", | 51 "//services/ui", |
52 "//services/ui/ime/test_ime_driver", | 52 "//services/ui/ime/test_ime_driver", |
53 ] | 53 ] |
54 } | 54 } |
55 | 55 |
56 service_manifest("test_manifest") { | 56 service_manifest("test_manifest") { |
57 type = "exe" | 57 type = "exe" |
58 name = "mus_ime_unittests" | 58 name = "mus_ime_unittests" |
59 source = "test_manifest.json" | 59 source = "test_manifest.json" |
60 } | 60 } |
OLD | NEW |