| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 if (!toolkit_views && !use_aura) { | 123 if (!toolkit_views && !use_aura) { |
| 124 sources -= [ | 124 sources -= [ |
| 125 "input_method_factory.cc", | 125 "input_method_factory.cc", |
| 126 "input_method_factory.h", | 126 "input_method_factory.h", |
| 127 "input_method_minimal.cc", | 127 "input_method_minimal.cc", |
| 128 "input_method_minimal.h", | 128 "input_method_minimal.h", |
| 129 ] | 129 ] |
| 130 } | 130 } |
| 131 | 131 |
| 132 if (is_chromeos) { | 132 if (is_chromeos_ui) { |
| 133 deps += [ | 133 deps += [ |
| 134 "//chromeos", | 134 "//chromeos", |
| 135 "//chromeos/ime:gencode", | 135 "//chromeos/ime:gencode", |
| 136 "//ui/events:dom_keycode_converter", | 136 "//ui/events:dom_keycode_converter", |
| 137 ] | 137 ] |
| 138 if (!use_ozone) { | 138 if (!use_ozone) { |
| 139 sources -= [ | 139 sources -= [ |
| 140 "chromeos/ime_keyboard_ozone.cc", | 140 "chromeos/ime_keyboard_ozone.cc", |
| 141 "chromeos/ime_keyboard_ozone.h", | 141 "chromeos/ime_keyboard_ozone.h", |
| 142 ] | 142 ] |
| (...skipping 26 matching lines...) Expand all Loading... |
| 169 libs = [ "imm32.lib" ] | 169 libs = [ "imm32.lib" ] |
| 170 } | 170 } |
| 171 | 171 |
| 172 if (use_ozone) { | 172 if (use_ozone) { |
| 173 deps += [ | 173 deps += [ |
| 174 "//ui/ozone", | 174 "//ui/ozone", |
| 175 "//ui/events/ozone:events_ozone_layout", | 175 "//ui/events/ozone:events_ozone_layout", |
| 176 ] | 176 ] |
| 177 } | 177 } |
| 178 } | 178 } |
| OLD | NEW |