| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 "//ui/gfx", | 230 "//ui/gfx", |
| 231 "//ui/gfx/geometry", | 231 "//ui/gfx/geometry", |
| 232 "//ui/gl", | 232 "//ui/gl", |
| 233 ] | 233 ] |
| 234 | 234 |
| 235 if (use_x11) { | 235 if (use_x11) { |
| 236 deps += [ "//ui/gfx/x" ] | 236 deps += [ "//ui/gfx/x" ] |
| 237 } | 237 } |
| 238 } | 238 } |
| 239 | 239 |
| 240 executable("bench") { | 240 if (!is_win || link_chrome_on_windows) { |
| 241 output_name = "aura_bench" | 241 executable("bench") { |
| 242 testonly = true | 242 output_name = "aura_bench" |
| 243 testonly = true |
| 243 | 244 |
| 244 sources = [ | 245 sources = [ |
| 245 "bench/bench_main.cc", | 246 "bench/bench_main.cc", |
| 246 ] | 247 ] |
| 247 | 248 |
| 248 deps = [ | 249 deps = [ |
| 249 ":test_support", | 250 ":test_support", |
| 250 "//base", | 251 "//base", |
| 251 "//base:i18n", | 252 "//base:i18n", |
| 252 "//cc", | 253 "//cc", |
| 253 "//gpu/command_buffer/client:gles2_interface", | 254 "//gpu/command_buffer/client:gles2_interface", |
| 254 "//skia", | 255 "//skia", |
| 255 "//third_party/icu", | 256 "//third_party/icu", |
| 256 "//ui/base", | 257 "//ui/base", |
| 257 "//ui/compositor", | 258 "//ui/compositor", |
| 258 "//ui/compositor:test_support", | 259 "//ui/compositor:test_support", |
| 259 "//ui/events", | 260 "//ui/events", |
| 260 "//ui/gfx", | 261 "//ui/gfx", |
| 261 "//ui/gfx/geometry", | 262 "//ui/gfx/geometry", |
| 262 "//ui/gl", | 263 "//ui/gl", |
| 263 ] | 264 ] |
| 264 | 265 |
| 265 if (use_x11) { | 266 if (use_x11) { |
| 266 deps += [ "//ui/gfx/x" ] | 267 deps += [ "//ui/gfx/x" ] |
| 268 } |
| 269 } |
| 270 |
| 271 test("aura_unittests") { |
| 272 sources = [ |
| 273 "gestures/gesture_recognizer_unittest.cc", |
| 274 "test/run_all_unittests.cc", |
| 275 "window_event_dispatcher_unittest.cc", |
| 276 "window_targeter_unittest.cc", |
| 277 "window_unittest.cc", |
| 278 ] |
| 279 |
| 280 deps = [ |
| 281 ":test_support", |
| 282 "//base/allocator", |
| 283 "//base/test:test_support", |
| 284 "//skia", |
| 285 "//testing/gtest", |
| 286 "//ui/base:test_support", |
| 287 "//ui/compositor:test_support", |
| 288 "//ui/events:test_support", |
| 289 "//ui/events:gesture_detection", |
| 290 "//ui/gfx", |
| 291 "//ui/gfx/geometry", |
| 292 "//ui/gl", |
| 293 ] |
| 294 |
| 295 if (is_linux) { |
| 296 deps += [ "//third_party/mesa" ] |
| 297 } |
| 267 } | 298 } |
| 268 } | 299 } |
| 269 | |
| 270 test("aura_unittests") { | |
| 271 sources = [ | |
| 272 "gestures/gesture_recognizer_unittest.cc", | |
| 273 "test/run_all_unittests.cc", | |
| 274 "window_event_dispatcher_unittest.cc", | |
| 275 "window_targeter_unittest.cc", | |
| 276 "window_unittest.cc", | |
| 277 ] | |
| 278 | |
| 279 deps = [ | |
| 280 ":test_support", | |
| 281 "//base/allocator", | |
| 282 "//base/test:test_support", | |
| 283 "//skia", | |
| 284 "//testing/gtest", | |
| 285 "//ui/base:test_support", | |
| 286 "//ui/compositor:test_support", | |
| 287 "//ui/events:test_support", | |
| 288 "//ui/events:gesture_detection", | |
| 289 "//ui/gfx", | |
| 290 "//ui/gfx/geometry", | |
| 291 "//ui/gl", | |
| 292 ] | |
| 293 | |
| 294 if (is_linux) { | |
| 295 deps += [ "//third_party/mesa" ] | |
| 296 } | |
| 297 } | |
| OLD | NEW |