| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/ui.gni") | |
| 6 | |
| 7 source_set("ime") { | |
| 8 # GYP version: ui/base/ime/ime.gypi, which is included into ui_base | |
| 9 sources = [ | |
| 10 "../ui_base_export.h", | |
| 11 "candidate_window.cc", | |
| 12 "candidate_window.h", | |
| 13 "chromeos/character_composer.cc", | |
| 14 "chromeos/character_composer.h", | |
| 15 "chromeos/ime_bridge.cc", | |
| 16 "chromeos/ime_bridge.h", | |
| 17 "chromeos/ime_keymap.cc", | |
| 18 "chromeos/ime_keymap.h", | |
| 19 "chromeos/mock_ime_candidate_window_handler.cc", | |
| 20 "chromeos/mock_ime_candidate_window_handler.h", | |
| 21 "chromeos/mock_ime_engine_handler.cc", | |
| 22 "chromeos/mock_ime_engine_handler.h", | |
| 23 "chromeos/mock_ime_input_context_handler.cc", | |
| 24 "chromeos/mock_ime_input_context_handler.h", | |
| 25 "composition_text.cc", | |
| 26 "composition_text.h", | |
| 27 "composition_text_util_pango.cc", | |
| 28 "composition_text_util_pango.h", | |
| 29 "composition_underline.h", | |
| 30 "dummy_input_method_delegate.cc", | |
| 31 "dummy_input_method_delegate.h", | |
| 32 "infolist_entry.cc", | |
| 33 "infolist_entry.h", | |
| 34 "input_method.h", | |
| 35 "input_method_auralinux.cc", | |
| 36 "input_method_auralinux.h", | |
| 37 "input_method_base.cc", | |
| 38 "input_method_base.h", | |
| 39 "input_method_chromeos.cc", | |
| 40 "input_method_chromeos.h", | |
| 41 "input_method_delegate.h", | |
| 42 "input_method_factory.cc", | |
| 43 "input_method_factory.h", | |
| 44 "input_method_initializer.cc", | |
| 45 "input_method_initializer.h", | |
| 46 "input_method_mac.h", | |
| 47 "input_method_mac.mm", | |
| 48 "input_method_minimal.cc", | |
| 49 "input_method_minimal.h", | |
| 50 "input_method_observer.h", | |
| 51 "input_method_win.cc", | |
| 52 "input_method_win.h", | |
| 53 "linux/fake_input_method_context.cc", | |
| 54 "linux/fake_input_method_context.h", | |
| 55 "linux/fake_input_method_context_factory.cc", | |
| 56 "linux/fake_input_method_context_factory.h", | |
| 57 "linux/linux_input_method_context.h", | |
| 58 "linux/linux_input_method_context_factory.cc", | |
| 59 "linux/linux_input_method_context_factory.h", | |
| 60 "mock_input_method.cc", | |
| 61 "mock_input_method.h", | |
| 62 "remote_input_method_delegate_win.h", | |
| 63 "remote_input_method_win.cc", | |
| 64 "remote_input_method_win.h", | |
| 65 "text_input_client.cc", | |
| 66 "text_input_client.h", | |
| 67 "text_input_focus_manager.cc", | |
| 68 "text_input_focus_manager.h", | |
| 69 "text_input_type.h", | |
| 70 "win/imm32_manager.cc", | |
| 71 "win/imm32_manager.h", | |
| 72 "win/tsf_input_scope.cc", | |
| 73 "win/tsf_input_scope.h", | |
| 74 ] | |
| 75 | |
| 76 defines = [ "UI_BASE_IMPLEMENTATION" ] | |
| 77 | |
| 78 deps = [ | |
| 79 "//skia", | |
| 80 "//ui/events", | |
| 81 ] | |
| 82 | |
| 83 if (!toolkit_views && !use_aura) { | |
| 84 sources -= [ | |
| 85 "input_method_factory.cc", | |
| 86 "input_method_factory.h", | |
| 87 "input_method_minimal.cc", | |
| 88 "input_method_minimal.h", | |
| 89 ] | |
| 90 } | |
| 91 if (is_chromeos) { | |
| 92 deps += [ | |
| 93 "//chromeos", | |
| 94 ] | |
| 95 } | |
| 96 if (!use_aura || (!is_linux && !use_ozone)) { | |
| 97 sources -= [ | |
| 98 "input_method_auralinux.cc", | |
| 99 "input_method_auralinux.h", | |
| 100 ] | |
| 101 } | |
| 102 if (use_pango) { | |
| 103 configs += [ "//build/config/linux:pangocairo" ] | |
| 104 } else { | |
| 105 sources -= [ | |
| 106 "composition_text_util_pango.cc", | |
| 107 "composition_text_util_pango.h", | |
| 108 ] | |
| 109 } | |
| 110 | |
| 111 if (is_android) { | |
| 112 deps -= [ "//ui/events" ] | |
| 113 } | |
| 114 } | |
| OLD | NEW |