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 = [ |
11 "candidate_window.cc", | 11 "candidate_window.cc", |
12 "candidate_window.h", | 12 "candidate_window.h", |
13 "chromeos/character_composer.cc", | 13 "chromeos/character_composer.cc", |
14 "chromeos/character_composer.h", | 14 "chromeos/character_composer.h", |
15 "chromeos/component_extension_ime_manager.cc", | 15 "chromeos/component_extension_ime_manager.cc", |
16 "chromeos/component_extension_ime_manager.h", | 16 "chromeos/component_extension_ime_manager.h", |
17 "chromeos/composition_text.cc", | 17 "chromeos/composition_text_chromeos.cc", |
18 "chromeos/composition_text.h", | 18 "chromeos/composition_text_chromeos.h", |
19 "chromeos/extension_ime_util.cc", | 19 "chromeos/extension_ime_util.cc", |
20 "chromeos/extension_ime_util.h", | 20 "chromeos/extension_ime_util.h", |
21 "chromeos/fake_ime_keyboard.cc", | 21 "chromeos/fake_ime_keyboard.cc", |
22 "chromeos/fake_ime_keyboard.h", | 22 "chromeos/fake_ime_keyboard.h", |
23 "chromeos/fake_input_method_delegate.cc", | 23 "chromeos/fake_input_method_delegate.cc", |
24 "chromeos/fake_input_method_delegate.h", | 24 "chromeos/fake_input_method_delegate.h", |
25 "chromeos/ime_bridge.cc", | 25 "chromeos/ime_bridge.cc", |
26 "chromeos/ime_bridge.h", | 26 "chromeos/ime_bridge.h", |
27 "chromeos/ime_keyboard.cc", | 27 "chromeos/ime_keyboard.cc", |
28 "chromeos/ime_keyboard.h", | 28 "chromeos/ime_keyboard.h", |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 "composition_text_util_pango.cc", | 159 "composition_text_util_pango.cc", |
160 "composition_text_util_pango.h", | 160 "composition_text_util_pango.h", |
161 ] | 161 ] |
162 } | 162 } |
163 if (use_x11) { | 163 if (use_x11) { |
164 configs += [ "//build/config/linux:x11" ] | 164 configs += [ "//build/config/linux:x11" ] |
165 deps += [ "//ui/gfx/x" ] | 165 deps += [ "//ui/gfx/x" ] |
166 } | 166 } |
167 | 167 |
168 if (is_win) { | 168 if (is_win) { |
169 cflags = [ | 169 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w
hich is |
170 "/wd4324", # Structure was padded due to __declspec(align()), which is | 170 # uninteresting. |
171 # uninteresting. | 171 |
172 ] | |
173 libs = [ "imm32.lib" ] | 172 libs = [ "imm32.lib" ] |
174 } | 173 } |
175 | 174 |
176 if (use_ozone) { | 175 if (use_ozone) { |
177 deps += [ | 176 deps += [ |
178 "//ui/ozone", | 177 "//ui/ozone", |
179 "//ui/events/ozone:events_ozone_layout", | 178 "//ui/events/ozone:events_ozone_layout", |
180 ] | 179 ] |
181 } | 180 } |
182 } | 181 } |
OLD | NEW |