| 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 source_set("text_input_types") { | 8 source_set("text_input_types") { |
| 9 sources = [ | 9 sources = [ |
| 10 "text_input_flags.h", | 10 "text_input_flags.h", |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 ] | 130 ] |
| 131 } | 131 } |
| 132 | 132 |
| 133 if (use_aura && is_android) { | 133 if (use_aura && is_android) { |
| 134 sources += [ | 134 sources += [ |
| 135 "input_method_android.cc", | 135 "input_method_android.cc", |
| 136 "input_method_android.h", | 136 "input_method_android.h", |
| 137 ] | 137 ] |
| 138 } | 138 } |
| 139 | 139 |
| 140 if (!is_chromeos && is_linux) { |
| 141 sources += [ |
| 142 "linux/text_edit_command_auralinux.cc", |
| 143 "linux/text_edit_command_auralinux.h", |
| 144 "linux/text_edit_key_bindings_delegate_auralinux.cc", |
| 145 "linux/text_edit_key_bindings_delegate_auralinux.h", |
| 146 ] |
| 147 } |
| 148 |
| 140 if (!toolkit_views && !use_aura) { | 149 if (!toolkit_views && !use_aura) { |
| 141 sources -= [ | 150 sources -= [ |
| 142 "input_method_factory.cc", | 151 "input_method_factory.cc", |
| 143 "input_method_factory.h", | 152 "input_method_factory.h", |
| 144 "input_method_minimal.cc", | 153 "input_method_minimal.cc", |
| 145 "input_method_minimal.h", | 154 "input_method_minimal.h", |
| 146 ] | 155 ] |
| 147 } | 156 } |
| 148 | 157 |
| 149 if (is_chromeos) { | 158 if (is_chromeos) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 libs = [ "imm32.lib" ] | 194 libs = [ "imm32.lib" ] |
| 186 } | 195 } |
| 187 | 196 |
| 188 if (use_ozone) { | 197 if (use_ozone) { |
| 189 deps += [ | 198 deps += [ |
| 190 "//ui/events/ozone:events_ozone_layout", | 199 "//ui/events/ozone:events_ozone_layout", |
| 191 "//ui/ozone", | 200 "//ui/ozone", |
| 192 ] | 201 ] |
| 193 } | 202 } |
| 194 } | 203 } |
| OLD | NEW |