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/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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 | 394 |
395 if (use_x11 && use_aura) { | 395 if (use_x11 && use_aura) { |
396 sources += [ | 396 sources += [ |
397 "x/selection_owner.cc", | 397 "x/selection_owner.cc", |
398 "x/selection_owner.h", | 398 "x/selection_owner.h", |
399 "x/selection_requestor.cc", | 399 "x/selection_requestor.cc", |
400 "x/selection_requestor.h", | 400 "x/selection_requestor.h", |
401 "x/selection_utils.cc", | 401 "x/selection_utils.cc", |
402 "x/selection_utils.h", | 402 "x/selection_utils.h", |
403 ] | 403 ] |
| 404 deps += [ "//ui/events/platform/x11" ] |
404 } | 405 } |
405 | 406 |
406 if (use_aura) { | 407 if (use_aura) { |
407 deps += [ "//ui/events" ] | 408 deps += [ "//ui/events" ] |
408 } else { | 409 } else { |
409 sources -= [ | 410 sources -= [ |
410 "cursor/cursor.cc", | 411 "cursor/cursor.cc", |
411 "cursor/cursor.h", | 412 "cursor/cursor.h", |
412 "dragdrop/drag_utils_aura.cc", | 413 "dragdrop/drag_utils_aura.cc", |
413 ] | 414 ] |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
961 if (is_mac) { | 962 if (is_mac) { |
962 mac_framework_bundle("ui_unittests_framework") { | 963 mac_framework_bundle("ui_unittests_framework") { |
963 testonly = true | 964 testonly = true |
964 deps = [ | 965 deps = [ |
965 "//ui/resources:ui_test_pak_bundle_data", | 966 "//ui/resources:ui_test_pak_bundle_data", |
966 ] | 967 ] |
967 info_plist = "test/framework-Info.plist" | 968 info_plist = "test/framework-Info.plist" |
968 output_name = "ui_unittests Framework" | 969 output_name = "ui_unittests Framework" |
969 } | 970 } |
970 } | 971 } |
OLD | NEW |