Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: ui/events/BUILD.gn

Issue 1258753002: Add yet more GN isolates ... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isolates_4_2
Patch Set: add missing display_unittests_run target Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 static_library("dom_keycode_converter") { 8 static_library("dom_keycode_converter") {
9 sources = [ 9 sources = [
10 "keycodes/dom/dom_code.h", 10 "keycodes/dom/dom_code.h",
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 } 289 }
290 290
291 if (use_x11 || use_ozone) { 291 if (use_x11 || use_ozone) {
292 sources += [ "test/device_data_manager_test_api_impl.cc" ] 292 sources += [ "test/device_data_manager_test_api_impl.cc" ]
293 deps += [ "//ui/events/devices" ] 293 deps += [ "//ui/events/devices" ]
294 } else { 294 } else {
295 sources += [ "test/device_data_manager_test_api_stub.cc" ] 295 sources += [ "test/device_data_manager_test_api_stub.cc" ]
296 } 296 }
297 } 297 }
298 298
299 # TODO(GYP): Delete this after we've converted everything to GN.
300 # The _run targets exist only for compatibility w/ GYP.
301 group("events_unittests_run") {
302 testonly = true
303 deps = [
304 ":events_unittests",
305 ]
306 }
307
299 test("events_unittests") { 308 test("events_unittests") {
300 sources = [ 309 sources = [
301 "android/scroller_unittest.cc", 310 "android/scroller_unittest.cc",
302 "cocoa/events_mac_unittest.mm", 311 "cocoa/events_mac_unittest.mm",
303 "devices/x11/device_data_manager_x11_unittest.cc", 312 "devices/x11/device_data_manager_x11_unittest.cc",
304 "event_dispatcher_unittest.cc", 313 "event_dispatcher_unittest.cc",
305 "event_processor_unittest.cc", 314 "event_processor_unittest.cc",
306 "event_rewriter_unittest.cc", 315 "event_rewriter_unittest.cc",
307 "event_unittest.cc", 316 "event_unittest.cc",
308 "gesture_detection/bitset_32_unittest.cc", 317 "gesture_detection/bitset_32_unittest.cc",
(...skipping 24 matching lines...) Expand all
333 "//base/test:run_all_unittests", 342 "//base/test:run_all_unittests",
334 "//skia", 343 "//skia",
335 "//testing/gtest", 344 "//testing/gtest",
336 "//third_party/WebKit/public:blink_headers", 345 "//third_party/WebKit/public:blink_headers",
337 "//ui/events/devices", 346 "//ui/events/devices",
338 "//ui/events/gestures/blink", 347 "//ui/events/gestures/blink",
339 "//ui/events/platform", 348 "//ui/events/platform",
340 "//ui/gfx:test_support", 349 "//ui/gfx:test_support",
341 ] 350 ]
342 351
352 data_deps = [ "//third_party/mesa:osmesa" ]
353
343 include_dirs = [ "//testing/gmock/include" ] 354 include_dirs = [ "//testing/gmock/include" ]
344 355
345 if (use_x11) { 356 if (use_x11) {
346 configs += [ "//build/config/linux:x11" ] 357 configs += [ "//build/config/linux:x11" ]
347 deps += [ "//ui/gfx/x" ] 358 deps += [ "//ui/gfx/x" ]
348 } else { 359 } else {
349 sources -= [ 360 sources -= [
350 "devices/x11/device_data_manager_x11_unittest.cc", 361 "devices/x11/device_data_manager_x11_unittest.cc",
351 "x/events_x_unittest.cc", 362 "x/events_x_unittest.cc",
352 ] 363 ]
(...skipping 27 matching lines...) Expand all
380 if (is_nacl) { 391 if (is_nacl) {
381 source_set("latency_info") { 392 source_set("latency_info") {
382 sources = [ 393 sources = [
383 "ipc/latency_info_param_traits.cc", 394 "ipc/latency_info_param_traits.cc",
384 "ipc/latency_info_param_traits.h", 395 "ipc/latency_info_param_traits.h",
385 "latency_info.cc", 396 "latency_info.cc",
386 "latency_info.h", 397 "latency_info.h",
387 ] 398 ]
388 } 399 }
389 } 400 }
OLDNEW
« net/BUILD.gn ('K') | « ui/display/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698