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