OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//mojo/public/tools/bindings/mojom.gni") |
| 6 |
5 # This target does NOT depend on skia. One can depend on this target to avoid | 7 # This target does NOT depend on skia. One can depend on this target to avoid |
6 # picking up a dependency on skia. | 8 # picking up a dependency on skia. |
7 component("ime") { | 9 component("mojo") { |
8 output_name = "mojo_ime_lib" | 10 output_name = "mojo_ime_lib" |
9 | 11 |
10 public_deps = [ | 12 public_deps = [ |
11 "//ui/base/ime", | 13 "//ui/base/ime", |
12 ] | 14 ] |
13 deps = [ | 15 deps = [ |
| 16 ":interfaces", |
14 "//base", | 17 "//base", |
15 "//mojo/public/c/system:for_component", | 18 "//mojo/public/c/system:for_component", |
16 "//ui/mojo/ime:interfaces", | |
17 "//ui/platform_window", | 19 "//ui/platform_window", |
18 ] | 20 ] |
19 | 21 |
20 defines = [ "MOJO_IME_IMPLEMENTATION" ] | 22 defines = [ "MOJO_IME_IMPLEMENTATION" ] |
21 | 23 |
22 sources = [ | 24 sources = [ |
23 "ime_type_converters.cc", | 25 "ime_type_converters.cc", |
24 "ime_type_converters.h", | 26 "ime_type_converters.h", |
25 "mojo_ime_export.h", | 27 "mojo_ime_export.h", |
26 ] | 28 ] |
27 } | 29 } |
| 30 |
| 31 mojom("interfaces") { |
| 32 sources = [ |
| 33 "text_input_state.mojom", |
| 34 ] |
| 35 } |
OLD | NEW |