| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 "win/tsf_input_scope.h", | 98 "win/tsf_input_scope.h", |
| 99 ] | 99 ] |
| 100 | 100 |
| 101 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 101 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 102 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 102 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 103 | 103 |
| 104 defines = [ "UI_BASE_IME_IMPLEMENTATION" ] | 104 defines = [ "UI_BASE_IME_IMPLEMENTATION" ] |
| 105 | 105 |
| 106 deps = [ | 106 deps = [ |
| 107 "//base", | 107 "//base", |
| 108 "//base:i18n", |
| 108 "//base/third_party/dynamic_annotations", | 109 "//base/third_party/dynamic_annotations", |
| 109 "//base:i18n", | |
| 110 "//net", | 110 "//net", |
| 111 "//third_party/icu", | 111 "//third_party/icu", |
| 112 "//ui/base", | 112 "//ui/base", |
| 113 "//ui/events", | 113 "//ui/events", |
| 114 "//ui/gfx", | 114 "//ui/gfx", |
| 115 "//ui/gfx/geometry", | 115 "//ui/gfx/geometry", |
| 116 "//url", | 116 "//url", |
| 117 ] | 117 ] |
| 118 | 118 |
| 119 if (!use_aura || (!is_linux && !use_ozone)) { | 119 if (!use_aura || (!is_linux && !use_ozone)) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 if (is_win) { | 175 if (is_win) { |
| 176 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w
hich is | 176 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w
hich is |
| 177 # uninteresting. | 177 # uninteresting. |
| 178 | 178 |
| 179 libs = [ "imm32.lib" ] | 179 libs = [ "imm32.lib" ] |
| 180 } | 180 } |
| 181 | 181 |
| 182 if (use_ozone) { | 182 if (use_ozone) { |
| 183 deps += [ | 183 deps += [ |
| 184 "//ui/events/ozone:events_ozone_layout", |
| 184 "//ui/ozone", | 185 "//ui/ozone", |
| 185 "//ui/events/ozone:events_ozone_layout", | |
| 186 ] | 186 ] |
| 187 } | 187 } |
| 188 } | 188 } |
| OLD | NEW |