OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("aura") { | 8 component("aura") { |
9 sources = [ | 9 sources = [ |
10 "client/aura_constants.cc", | 10 "client/aura_constants.cc", |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 "test/test_windows.h", | 169 "test/test_windows.h", |
170 "test/test_window_delegate.cc", | 170 "test/test_window_delegate.cc", |
171 "test/test_window_delegate.h", | 171 "test/test_window_delegate.h", |
172 "test/ui_controls_factory_aura.h", | 172 "test/ui_controls_factory_aura.h", |
173 "test/window_event_dispatcher_test_api.cc", | 173 "test/window_event_dispatcher_test_api.cc", |
174 "test/window_event_dispatcher_test_api.h", | 174 "test/window_event_dispatcher_test_api.h", |
175 "test/window_test_api.cc", | 175 "test/window_test_api.cc", |
176 "test/window_test_api.h", | 176 "test/window_test_api.h", |
177 ] | 177 ] |
178 | 178 |
| 179 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 180 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 181 |
179 public_deps = [ | 182 public_deps = [ |
180 ":aura", | 183 ":aura", |
181 ] | 184 ] |
182 deps = [ | 185 deps = [ |
183 "//skia", | 186 "//skia", |
184 "//testing/gtest", | 187 "//testing/gtest", |
185 "//ui/base:test_support", | 188 "//ui/base:test_support", |
186 "//ui/compositor:test_support", | 189 "//ui/compositor:test_support", |
187 "//ui/events", | 190 "//ui/events", |
188 "//ui/events:events_base", | 191 "//ui/events:events_base", |
189 "//ui/events:test_support", | 192 "//ui/events:test_support", |
190 "//ui/gfx", | 193 "//ui/gfx", |
191 "//ui/gfx/geometry", | 194 "//ui/gfx/geometry", |
192 "//ui/wm", | 195 "//ui/wm", |
193 ] | 196 ] |
194 | 197 |
195 if (is_win) { | 198 if (is_win) { |
196 sources += [ "test/ui_controls_factory_aurawin.cc" ] | 199 sources += [ "test/ui_controls_factory_aurawin.cc" ] |
197 | |
198 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. | |
199 } | 200 } |
200 | 201 |
201 if (use_x11) { | 202 if (use_x11) { |
202 sources += [ | 203 sources += [ |
203 "test/ui_controls_factory_aurax11.cc", | 204 "test/ui_controls_factory_aurax11.cc", |
204 "test/x11_event_sender.cc", | 205 "test/x11_event_sender.cc", |
205 "test/x11_event_sender.h", | 206 "test/x11_event_sender.h", |
206 ] | 207 ] |
207 | 208 |
208 deps += [ "//ui/gfx/x" ] | 209 deps += [ "//ui/gfx/x" ] |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 "//ui/gfx", | 296 "//ui/gfx", |
296 "//ui/gfx/geometry", | 297 "//ui/gfx/geometry", |
297 "//ui/gl", | 298 "//ui/gl", |
298 ] | 299 ] |
299 | 300 |
300 if (is_linux) { | 301 if (is_linux) { |
301 deps += [ "//third_party/mesa" ] | 302 deps += [ "//third_party/mesa" ] |
302 } | 303 } |
303 } | 304 } |
304 } | 305 } |
OLD | NEW |