| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 } | 157 } |
| 158 if (!use_x11) { | 158 if (!use_x11) { |
| 159 sources -= [ | 159 sources -= [ |
| 160 "chromeos/ime_keyboard_x11.cc", | 160 "chromeos/ime_keyboard_x11.cc", |
| 161 "chromeos/ime_keyboard_x11.h", | 161 "chromeos/ime_keyboard_x11.h", |
| 162 ] | 162 ] |
| 163 } | 163 } |
| 164 } | 164 } |
| 165 | 165 |
| 166 if (use_pango) { | 166 if (use_pango) { |
| 167 configs += [ "//build/config/linux:pangocairo" ] | 167 configs += [ "//build/config/linux/pangocairo" ] |
| 168 } else { | 168 } else { |
| 169 sources -= [ | 169 sources -= [ |
| 170 "composition_text_util_pango.cc", | 170 "composition_text_util_pango.cc", |
| 171 "composition_text_util_pango.h", | 171 "composition_text_util_pango.h", |
| 172 ] | 172 ] |
| 173 } | 173 } |
| 174 if (use_x11) { | 174 if (use_x11) { |
| 175 configs += [ "//build/config/linux:x11" ] | 175 configs += [ "//build/config/linux:x11" ] |
| 176 deps += [ "//ui/gfx/x" ] | 176 deps += [ "//ui/gfx/x" ] |
| 177 } | 177 } |
| 178 | 178 |
| 179 if (is_win) { | 179 if (is_win) { |
| 180 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w
hich is | 180 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w
hich is |
| 181 # uninteresting. | 181 # uninteresting. |
| 182 | 182 |
| 183 libs = [ "imm32.lib" ] | 183 libs = [ "imm32.lib" ] |
| 184 } | 184 } |
| 185 | 185 |
| 186 if (use_ozone) { | 186 if (use_ozone) { |
| 187 deps += [ | 187 deps += [ |
| 188 "//ui/events/ozone:events_ozone_layout", | 188 "//ui/events/ozone:events_ozone_layout", |
| 189 "//ui/ozone", | 189 "//ui/ozone", |
| 190 ] | 190 ] |
| 191 } | 191 } |
| 192 } | 192 } |
| OLD | NEW |