| 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("ime") { | 8 component("ime") { |
| 9 output_name = "ui_base_ime" | 9 output_name = "ui_base_ime" |
| 10 sources = [ | 10 sources = [ |
| 11 "candidate_window.cc", | 11 "candidate_window.cc", |
| 12 "candidate_window.h", | 12 "candidate_window.h", |
| 13 "chromeos/character_composer.cc", | 13 "chromeos/character_composer.cc", |
| 14 "chromeos/character_composer.h", | 14 "chromeos/character_composer.h", |
| 15 "chromeos/component_extension_ime_manager.cc", | 15 "chromeos/component_extension_ime_manager.cc", |
| 16 "chromeos/component_extension_ime_manager.h", | 16 "chromeos/component_extension_ime_manager.h", |
| 17 "chromeos/composition_text_chromeos.cc", | 17 "chromeos/composition_text_chromeos.cc", |
| 18 "chromeos/composition_text_chromeos.h", | 18 "chromeos/composition_text_chromeos.h", |
| 19 "chromeos/extension_ime_util.cc", | 19 "chromeos/extension_ime_util.cc", |
| 20 "chromeos/extension_ime_util.h", | 20 "chromeos/extension_ime_util.h", |
| 21 "chromeos/fake_ime_keyboard.cc", | 21 "chromeos/fake_ime_keyboard.cc", |
| 22 "chromeos/fake_ime_keyboard.h", | 22 "chromeos/fake_ime_keyboard.h", |
| 23 "chromeos/fake_input_method_delegate.cc", | 23 "chromeos/fake_input_method_delegate.cc", |
| 24 "chromeos/fake_input_method_delegate.h", | 24 "chromeos/fake_input_method_delegate.h", |
| 25 "chromeos/ime_candidate_window_handler_interface.h", |
| 25 "chromeos/ime_keyboard.cc", | 26 "chromeos/ime_keyboard.cc", |
| 26 "chromeos/ime_keyboard.h", | 27 "chromeos/ime_keyboard.h", |
| 27 "chromeos/ime_keyboard_ozone.cc", | 28 "chromeos/ime_keyboard_ozone.cc", |
| 28 "chromeos/ime_keyboard_ozone.h", | 29 "chromeos/ime_keyboard_ozone.h", |
| 29 "chromeos/ime_keyboard_x11.cc", | 30 "chromeos/ime_keyboard_x11.cc", |
| 30 "chromeos/ime_keyboard_x11.h", | 31 "chromeos/ime_keyboard_x11.h", |
| 31 "chromeos/ime_keymap.cc", | 32 "chromeos/ime_keymap.cc", |
| 32 "chromeos/ime_keymap.h", | 33 "chromeos/ime_keymap.h", |
| 33 "chromeos/ime_candidate_window_handler_interface.h", | |
| 34 "chromeos/input_method_delegate.h", | 34 "chromeos/input_method_delegate.h", |
| 35 "chromeos/input_method_descriptor.cc", | 35 "chromeos/input_method_descriptor.cc", |
| 36 "chromeos/input_method_descriptor.h", | 36 "chromeos/input_method_descriptor.h", |
| 37 "chromeos/input_method_manager.cc", | 37 "chromeos/input_method_manager.cc", |
| 38 "chromeos/input_method_manager.h", | 38 "chromeos/input_method_manager.h", |
| 39 "chromeos/input_method_whitelist.cc", | 39 "chromeos/input_method_whitelist.cc", |
| 40 "chromeos/input_method_whitelist.h", | 40 "chromeos/input_method_whitelist.h", |
| 41 "chromeos/mock_component_extension_ime_manager_delegate.cc", | 41 "chromeos/mock_component_extension_ime_manager_delegate.cc", |
| 42 "chromeos/mock_component_extension_ime_manager_delegate.h", | 42 "chromeos/mock_component_extension_ime_manager_delegate.h", |
| 43 "chromeos/mock_ime_candidate_window_handler.cc", | 43 "chromeos/mock_ime_candidate_window_handler.cc", |
| 44 "chromeos/mock_ime_candidate_window_handler.h", | 44 "chromeos/mock_ime_candidate_window_handler.h", |
| 45 "chromeos/mock_ime_engine_handler.cc", | 45 "chromeos/mock_ime_engine_handler.cc", |
| 46 "chromeos/mock_ime_engine_handler.h", | 46 "chromeos/mock_ime_engine_handler.h", |
| 47 "chromeos/mock_ime_input_context_handler.cc", | 47 "chromeos/mock_ime_input_context_handler.cc", |
| 48 "chromeos/mock_ime_input_context_handler.h", | 48 "chromeos/mock_ime_input_context_handler.h", |
| 49 "composition_text.cc", | 49 "composition_text.cc", |
| 50 "composition_text.h", | 50 "composition_text.h", |
| 51 "composition_text_util_pango.cc", | 51 "composition_text_util_pango.cc", |
| 52 "composition_text_util_pango.h", | 52 "composition_text_util_pango.h", |
| 53 "composition_underline.h", | 53 "composition_underline.h", |
| 54 "infolist_entry.cc", | |
| 55 "infolist_entry.h", | |
| 56 "ime_bridge.cc", | 54 "ime_bridge.cc", |
| 57 "ime_bridge.h", | 55 "ime_bridge.h", |
| 58 "ime_engine_handler_interface.h", | 56 "ime_engine_handler_interface.h", |
| 59 "ime_input_context_handler_interface.h", | 57 "ime_input_context_handler_interface.h", |
| 58 "infolist_entry.cc", |
| 59 "infolist_entry.h", |
| 60 "input_method.h", | 60 "input_method.h", |
| 61 "input_method_auralinux.cc", | 61 "input_method_auralinux.cc", |
| 62 "input_method_auralinux.h", | 62 "input_method_auralinux.h", |
| 63 "input_method_base.cc", | 63 "input_method_base.cc", |
| 64 "input_method_base.h", | 64 "input_method_base.h", |
| 65 "input_method_chromeos.cc", | 65 "input_method_chromeos.cc", |
| 66 "input_method_chromeos.h", | 66 "input_method_chromeos.h", |
| 67 "input_method_delegate.h", | 67 "input_method_delegate.h", |
| 68 "input_method_factory.cc", | 68 "input_method_factory.cc", |
| 69 "input_method_factory.h", | 69 "input_method_factory.h", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 "//url", | 116 "//url", |
| 117 ] | 117 ] |
| 118 | 118 |
| 119 if (!use_aura || (!is_linux && !use_ozone)) { | 119 if (!use_aura || (!is_linux && !use_ozone)) { |
| 120 sources -= [ | 120 sources -= [ |
| 121 "input_method_auralinux.cc", | 121 "input_method_auralinux.cc", |
| 122 "input_method_auralinux.h", | 122 "input_method_auralinux.h", |
| 123 ] | 123 ] |
| 124 } | 124 } |
| 125 | 125 |
| 126 if (use_aura && is_android) { |
| 127 sources += [ |
| 128 "input_method_android.cc", |
| 129 "input_method_android.h", |
| 130 ] |
| 131 } |
| 132 |
| 126 if (!toolkit_views && !use_aura) { | 133 if (!toolkit_views && !use_aura) { |
| 127 sources -= [ | 134 sources -= [ |
| 128 "input_method_factory.cc", | 135 "input_method_factory.cc", |
| 129 "input_method_factory.h", | 136 "input_method_factory.h", |
| 130 "input_method_minimal.cc", | 137 "input_method_minimal.cc", |
| 131 "input_method_minimal.h", | 138 "input_method_minimal.h", |
| 132 ] | 139 ] |
| 133 } | 140 } |
| 134 | 141 |
| 135 if (is_chromeos) { | 142 if (is_chromeos) { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 libs = [ "imm32.lib" ] | 179 libs = [ "imm32.lib" ] |
| 173 } | 180 } |
| 174 | 181 |
| 175 if (use_ozone) { | 182 if (use_ozone) { |
| 176 deps += [ | 183 deps += [ |
| 177 "//ui/ozone", | 184 "//ui/ozone", |
| 178 "//ui/events/ozone:events_ozone_layout", | 185 "//ui/events/ozone:events_ozone_layout", |
| 179 ] | 186 ] |
| 180 } | 187 } |
| 181 } | 188 } |
| OLD | NEW |