| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 "//url", | 113 "//url", |
| 114 ] | 114 ] |
| 115 | 115 |
| 116 if (!use_aura || (!is_linux && !use_ozone)) { | 116 if (!use_aura || (!is_linux && !use_ozone)) { |
| 117 sources -= [ | 117 sources -= [ |
| 118 "input_method_auralinux.cc", | 118 "input_method_auralinux.cc", |
| 119 "input_method_auralinux.h", | 119 "input_method_auralinux.h", |
| 120 ] | 120 ] |
| 121 } | 121 } |
| 122 | 122 |
| 123 if (use_aura && is_android) { |
| 124 sources += [ |
| 125 "input_method_auraandroid.cc", |
| 126 "input_method_auraandroid.h", |
| 127 ] |
| 128 } |
| 129 |
| 123 if (!toolkit_views && !use_aura) { | 130 if (!toolkit_views && !use_aura) { |
| 124 sources -= [ | 131 sources -= [ |
| 125 "input_method_factory.cc", | 132 "input_method_factory.cc", |
| 126 "input_method_factory.h", | 133 "input_method_factory.h", |
| 127 "input_method_minimal.cc", | 134 "input_method_minimal.cc", |
| 128 "input_method_minimal.h", | 135 "input_method_minimal.h", |
| 129 ] | 136 ] |
| 130 } | 137 } |
| 131 | 138 |
| 132 if (is_chromeos) { | 139 if (is_chromeos) { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 libs = [ "imm32.lib" ] | 176 libs = [ "imm32.lib" ] |
| 170 } | 177 } |
| 171 | 178 |
| 172 if (use_ozone) { | 179 if (use_ozone) { |
| 173 deps += [ | 180 deps += [ |
| 174 "//ui/ozone", | 181 "//ui/ozone", |
| 175 "//ui/events/ozone:events_ozone_layout", | 182 "//ui/events/ozone:events_ozone_layout", |
| 176 ] | 183 ] |
| 177 } | 184 } |
| 178 } | 185 } |
| OLD | NEW |