| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 "//ui/gl", | 265 "//ui/gl", |
| 266 ] | 266 ] |
| 267 | 267 |
| 268 if (use_x11) { | 268 if (use_x11) { |
| 269 deps += [ | 269 deps += [ |
| 270 "//ui/gfx/x", | 270 "//ui/gfx/x", |
| 271 ] | 271 ] |
| 272 } | 272 } |
| 273 } | 273 } |
| 274 | 274 |
| 275 test("unittests") { | 275 test("aura_unittests") { |
| 276 output_name = "aura_unittests" | |
| 277 sources = [ | 276 sources = [ |
| 278 "gestures/gesture_recognizer_unittest.cc", | 277 "gestures/gesture_recognizer_unittest.cc", |
| 279 "test/run_all_unittests.cc", | 278 "test/run_all_unittests.cc", |
| 280 "window_event_dispatcher_unittest.cc", | 279 "window_event_dispatcher_unittest.cc", |
| 281 "window_targeter_unittest.cc", | 280 "window_targeter_unittest.cc", |
| 282 "window_unittest.cc", | 281 "window_unittest.cc", |
| 283 ] | 282 ] |
| 284 | 283 |
| 285 deps = [ | 284 deps = [ |
| 286 ":test_support", | 285 ":test_support", |
| 287 "//base/allocator", | 286 "//base/allocator", |
| 288 "//base/test:test_support", | 287 "//base/test:test_support", |
| 289 "//skia", | 288 "//skia", |
| 290 "//testing/gtest", | 289 "//testing/gtest", |
| 291 "//ui/base:test_support", | 290 "//ui/base:test_support", |
| 292 "//ui/compositor:test_support", | 291 "//ui/compositor:test_support", |
| 293 "//ui/events:test_support", | 292 "//ui/events:test_support", |
| 294 "//ui/events:gesture_detection", | 293 "//ui/events:gesture_detection", |
| 295 "//ui/gfx", | 294 "//ui/gfx", |
| 296 "//ui/gfx/geometry", | 295 "//ui/gfx/geometry", |
| 297 "//ui/gl", | 296 "//ui/gl", |
| 298 ] | 297 ] |
| 299 | 298 |
| 300 if (is_linux) { | 299 if (is_linux) { |
| 301 deps += [ | 300 deps += [ |
| 302 "//third_party/mesa", | 301 "//third_party/mesa", |
| 303 ] | 302 ] |
| 304 } | 303 } |
| 305 } | 304 } |
| OLD | NEW |