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

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

Issue 1908473002: Split //ui/events/devices into two targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More deps on new target. Created 4 years, 8 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
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//ui/base/ui_features.gni") 10 import("//ui/base/ui_features.gni")
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 405
406 if (use_aura) { 406 if (use_aura) {
407 deps += [ "//ui/events" ] 407 deps += [ "//ui/events" ]
408 } else { 408 } else {
409 sources -= [ 409 sources -= [
410 "cursor/cursor.cc", 410 "cursor/cursor.cc",
411 "cursor/cursor.h", 411 "cursor/cursor.h",
412 "dragdrop/drag_utils_aura.cc", 412 "dragdrop/drag_utils_aura.cc",
413 ] 413 ]
414 } 414 }
415
416 # TODO(kylechar): remove ozone_platform_x11 from here.
415 if (use_x11 || ozone_platform_x11) { 417 if (use_x11 || ozone_platform_x11) {
416 sources += [ 418 sources += [
417 "x/x11_foreign_window_manager.cc", 419 "x/x11_foreign_window_manager.cc",
418 "x/x11_foreign_window_manager.h", 420 "x/x11_foreign_window_manager.h",
419 "x/x11_menu_list.cc", 421 "x/x11_menu_list.cc",
420 "x/x11_menu_list.h", 422 "x/x11_menu_list.h",
421 "x/x11_util.cc", 423 "x/x11_util.cc",
422 "x/x11_util.h", 424 "x/x11_util.h",
423 "x/x11_util_internal.h", 425 "x/x11_util_internal.h",
424 ] 426 ]
425 if (!is_chromeos) { 427 if (!is_chromeos) {
426 sources += [ 428 sources += [
427 "idle/idle_query_x11.cc", 429 "idle/idle_query_x11.cc",
428 "idle/idle_query_x11.h", 430 "idle/idle_query_x11.h",
429 "idle/screensaver_window_finder_x11.cc", 431 "idle/screensaver_window_finder_x11.cc",
430 "idle/screensaver_window_finder_x11.h", 432 "idle/screensaver_window_finder_x11.h",
431 ] 433 ]
432 configs += [ "//build/config/linux:xscrnsaver" ] 434 configs += [ "//build/config/linux:xscrnsaver" ]
433 } 435 }
434 deps += [ "//ui/gfx/x" ] 436 deps += [
437 "//ui/events/devices/x11",
438 "//ui/gfx/x",
439 ]
435 } 440 }
436 441
437 if (!use_aura || !is_linux) { 442 if (!use_aura || !is_linux) {
438 sources -= [ "resource/resource_bundle_auralinux.cc" ] 443 sources -= [ "resource/resource_bundle_auralinux.cc" ]
439 } 444 }
440 445
441 if (use_aura && is_win) { 446 if (use_aura && is_win) {
442 sources -= [ "dragdrop/drag_utils_aura.cc" ] 447 sources -= [ "dragdrop/drag_utils_aura.cc" ]
443 } 448 }
444 449
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 if (is_mac) { 961 if (is_mac) {
957 mac_framework_bundle("ui_unittests_framework") { 962 mac_framework_bundle("ui_unittests_framework") {
958 testonly = true 963 testonly = true
959 deps = [ 964 deps = [
960 "//ui/resources:ui_test_pak_bundle_data", 965 "//ui/resources:ui_test_pak_bundle_data",
961 ] 966 ]
962 info_plist = "test/framework-Info.plist" 967 info_plist = "test/framework-Info.plist"
963 output_name = "ui_unittests Framework" 968 output_name = "ui_unittests Framework"
964 } 969 }
965 } 970 }
OLDNEW
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698