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 "test_ime_application.cc", | 11 "test_ime_application.cc", |
12 "test_ime_application.h", | 12 "test_ime_application.h", |
13 "test_ime_driver.cc", | 13 "test_ime_driver.cc", |
14 "test_ime_driver.h", | 14 "test_ime_driver.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//services/shell/public/cpp", | 19 "//services/service_manager/public/cpp", |
20 "//services/ui/public/interfaces", | 20 "//services/ui/public/interfaces", |
21 ] | 21 ] |
22 } | 22 } |
23 | 23 |
24 service("test_ime_driver") { | 24 service("test_ime_driver") { |
25 sources = [ | 25 sources = [ |
26 "main.cc", | 26 "main.cc", |
27 ] | 27 ] |
28 | 28 |
29 deps = [ | 29 deps = [ |
30 ":lib", | 30 ":lib", |
31 "//base", | 31 "//base", |
32 "//services/shell/public/cpp", | 32 "//services/service_manager/public/cpp", |
33 "//services/ui/public/interfaces", | 33 "//services/ui/public/interfaces", |
34 ] | 34 ] |
35 | 35 |
36 data_deps = [ | 36 data_deps = [ |
37 ":manifest", | 37 ":manifest", |
38 ] | 38 ] |
39 } | 39 } |
40 | 40 |
41 service_manifest("manifest") { | 41 service_manifest("manifest") { |
42 name = "test_ime_driver" | 42 name = "test_ime_driver" |
43 source = "manifest.json" | 43 source = "manifest.json" |
44 } | 44 } |
OLD | NEW |