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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 "text_input_focus_manager.cc", | 92 "text_input_focus_manager.cc", |
93 "text_input_focus_manager.h", | 93 "text_input_focus_manager.h", |
94 "text_input_type.h", | 94 "text_input_type.h", |
95 "ui_base_ime_export.h", | 95 "ui_base_ime_export.h", |
96 "win/imm32_manager.cc", | 96 "win/imm32_manager.cc", |
97 "win/imm32_manager.h", | 97 "win/imm32_manager.h", |
98 "win/tsf_input_scope.cc", | 98 "win/tsf_input_scope.cc", |
99 "win/tsf_input_scope.h", | 99 "win/tsf_input_scope.h", |
100 ] | 100 ] |
101 | 101 |
| 102 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 103 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 104 |
102 defines = [ "UI_BASE_IME_IMPLEMENTATION" ] | 105 defines = [ "UI_BASE_IME_IMPLEMENTATION" ] |
103 | 106 |
104 deps = [ | 107 deps = [ |
105 "//base", | 108 "//base", |
106 "//base/third_party/dynamic_annotations", | 109 "//base/third_party/dynamic_annotations", |
107 "//base:i18n", | 110 "//base:i18n", |
108 "//net", | 111 "//net", |
109 "//third_party/icu", | 112 "//third_party/icu", |
110 "//ui/base", | 113 "//ui/base", |
111 "//ui/events", | 114 "//ui/events", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 "composition_text_util_pango.h", | 160 "composition_text_util_pango.h", |
158 ] | 161 ] |
159 } | 162 } |
160 if (use_x11) { | 163 if (use_x11) { |
161 configs += [ "//build/config/linux:x11" ] | 164 configs += [ "//build/config/linux:x11" ] |
162 deps += [ "//ui/gfx/x" ] | 165 deps += [ "//ui/gfx/x" ] |
163 } | 166 } |
164 | 167 |
165 if (is_win) { | 168 if (is_win) { |
166 cflags = [ | 169 cflags = [ |
167 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int. | |
168 "/wd4324", # Structure was padded due to __declspec(align()), which is | 170 "/wd4324", # Structure was padded due to __declspec(align()), which is |
169 # uninteresting. | 171 # uninteresting. |
170 ] | 172 ] |
171 libs = [ "imm32.lib" ] | 173 libs = [ "imm32.lib" ] |
172 } | 174 } |
173 | 175 |
174 if (use_ozone) { | 176 if (use_ozone) { |
175 deps += [ | 177 deps += [ |
176 "//ui/ozone", | 178 "//ui/ozone", |
177 "//ui/events/ozone:events_ozone_layout", | 179 "//ui/events/ozone:events_ozone_layout", |
178 ] | 180 ] |
179 } | 181 } |
180 } | 182 } |
OLD | NEW |