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 = [ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 "chromeos/mock_ime_input_context_handler.cc", | 48 "chromeos/mock_ime_input_context_handler.cc", |
49 "chromeos/mock_ime_input_context_handler.h", | 49 "chromeos/mock_ime_input_context_handler.h", |
50 "composition_text.cc", | 50 "composition_text.cc", |
51 "composition_text.h", | 51 "composition_text.h", |
52 "composition_text_util_pango.cc", | 52 "composition_text_util_pango.cc", |
53 "composition_text_util_pango.h", | 53 "composition_text_util_pango.h", |
54 "composition_underline.h", | 54 "composition_underline.h", |
55 "infolist_entry.cc", | 55 "infolist_entry.cc", |
56 "infolist_entry.h", | 56 "infolist_entry.h", |
57 "input_method.h", | 57 "input_method.h", |
| 58 "input_method_auraandroid.cc", |
| 59 "input_method_auraandroid.h", |
58 "input_method_auralinux.cc", | 60 "input_method_auralinux.cc", |
59 "input_method_auralinux.h", | 61 "input_method_auralinux.h", |
60 "input_method_base.cc", | 62 "input_method_base.cc", |
61 "input_method_base.h", | 63 "input_method_base.h", |
62 "input_method_chromeos.cc", | 64 "input_method_chromeos.cc", |
63 "input_method_chromeos.h", | 65 "input_method_chromeos.h", |
64 "input_method_delegate.h", | 66 "input_method_delegate.h", |
65 "input_method_factory.cc", | 67 "input_method_factory.cc", |
66 "input_method_factory.h", | 68 "input_method_factory.h", |
67 "input_method_initializer.cc", | 69 "input_method_initializer.cc", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "//url", | 115 "//url", |
114 ] | 116 ] |
115 | 117 |
116 if (!use_aura || (!is_linux && !use_ozone)) { | 118 if (!use_aura || (!is_linux && !use_ozone)) { |
117 sources -= [ | 119 sources -= [ |
118 "input_method_auralinux.cc", | 120 "input_method_auralinux.cc", |
119 "input_method_auralinux.h", | 121 "input_method_auralinux.h", |
120 ] | 122 ] |
121 } | 123 } |
122 | 124 |
| 125 if (!use_aura || !is_android) { |
| 126 sources -= [ |
| 127 "input_method_auraandroid.cc", |
| 128 "input_method_auraandroid.h", |
| 129 ] |
| 130 } |
| 131 |
123 if (!toolkit_views && !use_aura) { | 132 if (!toolkit_views && !use_aura) { |
124 sources -= [ | 133 sources -= [ |
125 "input_method_factory.cc", | 134 "input_method_factory.cc", |
126 "input_method_factory.h", | 135 "input_method_factory.h", |
127 "input_method_minimal.cc", | 136 "input_method_minimal.cc", |
128 "input_method_minimal.h", | 137 "input_method_minimal.h", |
129 ] | 138 ] |
130 } | 139 } |
131 | 140 |
132 if (is_chromeos) { | 141 if (is_chromeos) { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 libs = [ "imm32.lib" ] | 178 libs = [ "imm32.lib" ] |
170 } | 179 } |
171 | 180 |
172 if (use_ozone) { | 181 if (use_ozone) { |
173 deps += [ | 182 deps += [ |
174 "//ui/ozone", | 183 "//ui/ozone", |
175 "//ui/events/ozone:events_ozone_layout", | 184 "//ui/events/ozone:events_ozone_layout", |
176 ] | 185 ] |
177 } | 186 } |
178 } | 187 } |
OLD | NEW |