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/shell/public/cpp/service.gni") |
6 import("//services/shell/public/service_manifest.gni") | 6 import("//services/shell/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/shell/public/cpp", |
20 "//services/ui/public/cpp", | |
21 "//services/ui/public/interfaces", | 20 "//services/ui/public/interfaces", |
22 ] | 21 ] |
23 } | 22 } |
24 | 23 |
25 service("test_ime_driver") { | 24 service("test_ime_driver") { |
26 sources = [ | 25 sources = [ |
27 "main.cc", | 26 "main.cc", |
28 ] | 27 ] |
29 | 28 |
30 deps = [ | 29 deps = [ |
31 ":lib", | 30 ":lib", |
32 "//base", | 31 "//base", |
33 "//services/shell/public/cpp", | 32 "//services/shell/public/cpp", |
34 "//services/ui/public/cpp", | |
35 "//services/ui/public/interfaces", | 33 "//services/ui/public/interfaces", |
36 ] | 34 ] |
37 | 35 |
38 data_deps = [ | 36 data_deps = [ |
39 ":manifest", | 37 ":manifest", |
40 "//services/ui", | |
41 ] | 38 ] |
42 } | 39 } |
43 | 40 |
44 service_manifest("manifest") { | 41 service_manifest("manifest") { |
45 name = "test_ime_driver" | 42 name = "test_ime_driver" |
46 source = "manifest.json" | 43 source = "manifest.json" |
47 } | 44 } |
OLD | NEW |