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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 "//ui/gfx", | 240 "//ui/gfx", |
241 "//ui/gfx/geometry", | 241 "//ui/gfx/geometry", |
242 "//ui/gl", | 242 "//ui/gl", |
243 ] | 243 ] |
244 | 244 |
245 if (use_x11) { | 245 if (use_x11) { |
246 deps += [ "//ui/gfx/x" ] | 246 deps += [ "//ui/gfx/x" ] |
247 } | 247 } |
248 } | 248 } |
249 | 249 |
250 executable("bench") { | |
251 output_name = "aura_bench" | |
252 testonly = true | |
253 | |
254 sources = [ | |
255 "bench/bench_main.cc", | |
256 ] | |
257 | |
258 deps = [ | |
259 ":test_support", | |
260 "//base", | |
261 "//base:i18n", | |
262 "//build/config/sanitizers:deps", | |
263 "//cc", | |
264 "//gpu/command_buffer/client:gles2_interface", | |
265 "//skia", | |
266 "//third_party/icu", | |
267 "//ui/base", | |
268 "//ui/compositor", | |
269 "//ui/compositor:test_support", | |
270 "//ui/events", | |
271 "//ui/gfx", | |
272 "//ui/gfx/geometry", | |
273 "//ui/gl", | |
274 ] | |
275 | |
276 if (use_x11) { | |
277 deps += [ "//ui/gfx/x" ] | |
278 } | |
279 } | |
280 | |
281 test("aura_unittests") { | 250 test("aura_unittests") { |
282 sources = [ | 251 sources = [ |
283 "gestures/gesture_recognizer_unittest.cc", | 252 "gestures/gesture_recognizer_unittest.cc", |
284 "test/run_all_unittests.cc", | 253 "test/run_all_unittests.cc", |
285 "window_event_dispatcher_unittest.cc", | 254 "window_event_dispatcher_unittest.cc", |
286 "window_targeter_unittest.cc", | 255 "window_targeter_unittest.cc", |
287 "window_unittest.cc", | 256 "window_unittest.cc", |
288 ] | 257 ] |
289 | 258 |
290 deps = [ | 259 deps = [ |
(...skipping 11 matching lines...) Expand all Loading... |
302 ] | 271 ] |
303 | 272 |
304 if (is_linux) { | 273 if (is_linux) { |
305 deps += [ "//third_party/mesa" ] | 274 deps += [ "//third_party/mesa" ] |
306 } | 275 } |
307 | 276 |
308 data_deps = [ | 277 data_deps = [ |
309 "//third_party/mesa:osmesa", | 278 "//third_party/mesa:osmesa", |
310 ] | 279 ] |
311 } | 280 } |
OLD | NEW |