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

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

Issue 720373003: Add FakeClipboard implementation for unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WINDOWS!!! Created 6 years, 1 month 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 | « chrome/chrome_tests.gypi ('k') | ui/base/clipboard/clipboard.h » ('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/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 if (is_android || is_ios) { 649 if (is_android || is_ios) {
650 sources -= [ 650 sources -= [
651 "device_form_factor_desktop.cc", 651 "device_form_factor_desktop.cc",
652 ] 652 ]
653 } 653 }
654 } 654 }
655 655
656 source_set("test_support") { 656 source_set("test_support") {
657 testonly = true 657 testonly = true
658 sources = [ 658 sources = [
659 "test/test_clipboard.cc",
660 "test/test_clipboard.h",
659 "test/ui_controls.h", 661 "test/ui_controls.h",
660 "test/ui_controls_aura.cc", 662 "test/ui_controls_aura.cc",
661 "test/ui_controls_internal_win.cc", 663 "test/ui_controls_internal_win.cc",
662 "test/ui_controls_internal_win.h", 664 "test/ui_controls_internal_win.h",
663 "test/ui_controls_mac.mm", 665 "test/ui_controls_mac.mm",
664 "test/ui_controls_win.cc", 666 "test/ui_controls_win.cc",
665 ] 667 ]
666 668
667 public_deps = [ 669 public_deps = [
668 ":base", 670 ":base",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 sources = [ 723 sources = [
722 "l10n/l10n_util_mac_unittest.mm", 724 "l10n/l10n_util_mac_unittest.mm",
723 "l10n/l10n_util_unittest.cc", 725 "l10n/l10n_util_unittest.cc",
724 "l10n/l10n_util_win_unittest.cc", 726 "l10n/l10n_util_win_unittest.cc",
725 "l10n/time_format_unittest.cc", 727 "l10n/time_format_unittest.cc",
726 "layout_unittest.cc", 728 "layout_unittest.cc",
727 "models/tree_node_iterator_unittest.cc", 729 "models/tree_node_iterator_unittest.cc",
728 "resource/data_pack_literal.cc", 730 "resource/data_pack_literal.cc",
729 "resource/data_pack_unittest.cc", 731 "resource/data_pack_unittest.cc",
730 "resource/resource_bundle_unittest.cc", 732 "resource/resource_bundle_unittest.cc",
733 "test/test_clipboard_unittest.cc",
731 "test/run_all_unittests.cc", 734 "test/run_all_unittests.cc",
732 ] 735 ]
733 736
734 if (is_ios) { 737 if (is_ios) {
735 # Compile this Mac file on iOS as well. 738 # Compile this Mac file on iOS as well.
736 set_sources_assignment_filter([]) 739 set_sources_assignment_filter([])
737 sources += [ "l10n/l10n_util_mac_unittest.mm" ] 740 sources += [ "l10n/l10n_util_mac_unittest.mm" ]
738 set_sources_assignment_filter(sources_assignment_filter) 741 set_sources_assignment_filter(sources_assignment_filter)
739 } else { # !is_ios 742 } else { # !is_ios
740 sources += [ 743 sources += [
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 "//ui/chromeos:ui_chromeos", 919 "//ui/chromeos:ui_chromeos",
917 "//ui/events:gesture_detection", 920 "//ui/events:gesture_detection",
918 "//ui/message_center:message_center", 921 "//ui/message_center:message_center",
919 "//ui/views", 922 "//ui/views",
920 "//ui/views:test_support", 923 "//ui/views:test_support",
921 ] 924 ]
922 } 925 }
923 } 926 }
924 } 927 }
925 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk). 928 # TODO(GYP) Mac (ui_unittest_bundle) and Android (ui_unittests_apk).
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | ui/base/clipboard/clipboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698