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