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 | 6 |
7 component("aura") { | 7 component("aura") { |
8 sources = [ | 8 sources = [ |
9 "client/aura_constants.cc", | 9 "client/aura_constants.cc", |
10 "client/aura_constants.h", | 10 "client/aura_constants.h", |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 "//ui/compositor:test_support", | 178 "//ui/compositor:test_support", |
179 "//ui/events", | 179 "//ui/events", |
180 "//ui/events:events_base", | 180 "//ui/events:events_base", |
181 "//ui/events:test_support", | 181 "//ui/events:test_support", |
182 "//ui/gfx", | 182 "//ui/gfx", |
183 "//ui/gfx/geometry", | 183 "//ui/gfx/geometry", |
184 "//ui/wm", | 184 "//ui/wm", |
185 ] | 185 ] |
186 | 186 |
187 if (is_win) { | 187 if (is_win) { |
| 188 sources += [ "test/ui_controls_factory_aurawin.cc" ] |
| 189 |
188 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. | 190 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. |
189 } | 191 } |
190 | 192 |
191 if (use_x11) { | 193 if (use_x11) { |
| 194 sources += [ |
| 195 "test/ui_controls_factory_aurax11.cc", |
| 196 "test/x11_event_sender.cc", |
| 197 "test/x11_event_sender.h", |
| 198 ] |
| 199 |
192 deps += [ "//ui/gfx/x" ] | 200 deps += [ "//ui/gfx/x" ] |
193 } | 201 } |
194 | |
195 if (use_aura) { | |
196 if (is_win) { | |
197 sources += [ "test/ui_controls_factory_aurawin.cc" ] | |
198 } | |
199 | |
200 if (use_x11) { | |
201 sources += [ | |
202 "test/ui_controls_factory_aurax11.cc", | |
203 "test/x11_event_sender.cc", | |
204 "test/x11_event_sender.h", | |
205 ] | |
206 } | |
207 } | |
208 } | 202 } |
209 | 203 |
210 executable("demo") { | 204 executable("demo") { |
211 output_name = "aura_demo" | 205 output_name = "aura_demo" |
212 testonly = true | 206 testonly = true |
213 | 207 |
214 sources = [ | 208 sources = [ |
215 "demo/demo_main.cc", | 209 "demo/demo_main.cc", |
216 ] | 210 ] |
217 | 211 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 "//ui/events:gesture_detection", | 281 "//ui/events:gesture_detection", |
288 "//ui/gfx", | 282 "//ui/gfx", |
289 "//ui/gfx/geometry", | 283 "//ui/gfx/geometry", |
290 "//ui/gl", | 284 "//ui/gl", |
291 ] | 285 ] |
292 | 286 |
293 if (is_linux) { | 287 if (is_linux) { |
294 deps += [ "//third_party/mesa" ] | 288 deps += [ "//third_party/mesa" ] |
295 } | 289 } |
296 } | 290 } |
OLD | NEW |