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 "../wm/public/activation_change_observer.cc", | 10 "../wm/public/activation_change_observer.cc", |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 "//ui/gfx", | 272 "//ui/gfx", |
273 "//ui/gfx/geometry", | 273 "//ui/gfx/geometry", |
274 "//ui/gl", | 274 "//ui/gl", |
275 ] | 275 ] |
276 | 276 |
277 if (use_x11) { | 277 if (use_x11) { |
278 deps += [ "//ui/gfx/x" ] | 278 deps += [ "//ui/gfx/x" ] |
279 } | 279 } |
280 } | 280 } |
281 | 281 |
| 282 # TODO(GYP): Delete this after we've converted everything to GN. |
| 283 # The _run targets exist only for compatibility w/ GYP. |
| 284 group("aura_unittests_run") { |
| 285 testonly = true |
| 286 deps = [ |
| 287 ":aura_unittests", |
| 288 ] |
| 289 } |
| 290 |
282 test("aura_unittests") { | 291 test("aura_unittests") { |
283 sources = [ | 292 sources = [ |
284 "gestures/gesture_recognizer_unittest.cc", | 293 "gestures/gesture_recognizer_unittest.cc", |
285 "test/run_all_unittests.cc", | 294 "test/run_all_unittests.cc", |
286 "window_event_dispatcher_unittest.cc", | 295 "window_event_dispatcher_unittest.cc", |
287 "window_targeter_unittest.cc", | 296 "window_targeter_unittest.cc", |
288 "window_unittest.cc", | 297 "window_unittest.cc", |
289 ] | 298 ] |
290 | 299 |
291 deps = [ | 300 deps = [ |
(...skipping 11 matching lines...) Expand all Loading... |
303 ] | 312 ] |
304 | 313 |
305 if (is_linux) { | 314 if (is_linux) { |
306 deps += [ "//third_party/mesa" ] | 315 deps += [ "//third_party/mesa" ] |
307 } | 316 } |
308 | 317 |
309 data_deps = [ | 318 data_deps = [ |
310 "//third_party/mesa:osmesa", | 319 "//third_party/mesa:osmesa", |
311 ] | 320 ] |
312 } | 321 } |
OLD | NEW |