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

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

Issue 2555033003: Add ScopedMacRTL class for Cocoa browser RTL testing (Closed)
Patch Set: Whitespace Created 4 years 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/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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 "cocoa/menu_controller.h", 119 "cocoa/menu_controller.h",
120 "cocoa/menu_controller.mm", 120 "cocoa/menu_controller.mm",
121 "cocoa/nib_loading.h", 121 "cocoa/nib_loading.h",
122 "cocoa/nib_loading.mm", 122 "cocoa/nib_loading.mm",
123 "cocoa/nsgraphics_context_additions.h", 123 "cocoa/nsgraphics_context_additions.h",
124 "cocoa/nsgraphics_context_additions.mm", 124 "cocoa/nsgraphics_context_additions.mm",
125 "cocoa/nsview_additions.h", 125 "cocoa/nsview_additions.h",
126 "cocoa/nsview_additions.mm", 126 "cocoa/nsview_additions.mm",
127 "cocoa/remote_layer_api.h", 127 "cocoa/remote_layer_api.h",
128 "cocoa/remote_layer_api.mm", 128 "cocoa/remote_layer_api.mm",
129 "cocoa/rtl_feature.h",
130 "cocoa/rtl_feature.mm",
129 "cocoa/scoped_cg_context_smooth_fonts.h", 131 "cocoa/scoped_cg_context_smooth_fonts.h",
130 "cocoa/scoped_cg_context_smooth_fonts.mm", 132 "cocoa/scoped_cg_context_smooth_fonts.mm",
131 "cocoa/three_part_image.h", 133 "cocoa/three_part_image.h",
132 "cocoa/three_part_image.mm", 134 "cocoa/three_part_image.mm",
133 "cocoa/tool_tip_base_view.h", 135 "cocoa/tool_tip_base_view.h",
134 "cocoa/tool_tip_base_view.mm", 136 "cocoa/tool_tip_base_view.mm",
135 "cocoa/touch_bar_forward_declarations.h", 137 "cocoa/touch_bar_forward_declarations.h",
136 "cocoa/tracking_area.h", 138 "cocoa/tracking_area.h",
137 "cocoa/tracking_area.mm", 139 "cocoa/tracking_area.mm",
138 "cocoa/underlay_opengl_hosting_window.h", 140 "cocoa/underlay_opengl_hosting_window.h",
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 ] 652 ]
651 } else { 653 } else {
652 sources += [ 654 sources += [
653 "test/ios/keyboard_appearance_listener.h", 655 "test/ios/keyboard_appearance_listener.h",
654 "test/ios/keyboard_appearance_listener.mm", 656 "test/ios/keyboard_appearance_listener.mm",
655 "test/ios/ui_view_test_utils.h", 657 "test/ios/ui_view_test_utils.h",
656 "test/ios/ui_view_test_utils.mm", 658 "test/ios/ui_view_test_utils.mm",
657 ] 659 ]
658 } 660 }
659 661
660 if (is_mac) {
661 sources += [ "test/user_interactive_test_case_mac.mm" ]
662 } else {
663 sources += [ "test/user_interactive_test_case.cc" ]
664 }
665
666 public_deps = [ 662 public_deps = [
667 ":base", 663 ":base",
668 ] 664 ]
669 deps = [ 665 deps = [
670 "//base", 666 "//base",
671 "//base/test:test_config", 667 "//base/test:test_config",
672 "//skia", 668 "//skia",
673 "//testing/gtest", 669 "//testing/gtest",
674 "//ui/base:ui_data_pack", 670 "//ui/base:ui_data_pack",
675 "//ui/events:events_base", 671 "//ui/events:events_base",
676 "//ui/events:test_support", 672 "//ui/events:test_support",
677 "//ui/gfx", 673 "//ui/gfx",
678 "//ui/gfx/geometry", 674 "//ui/gfx/geometry",
679 ] 675 ]
680 676
677 if (is_mac) {
678 sources += [
679 "test/scoped_mac_rtl.h",
680 "test/scoped_mac_rtl.mm",
tapted 2016/12/07 23:20:27 (maybe it's historical but..) the current conventi
681 "test/user_interactive_test_case_mac.mm",
682 ]
683
684 deps += [
685 "//base:i18n",
686 "//base/test:test_support",
687 ]
688 } else {
689 sources += [ "test/user_interactive_test_case.cc" ]
690 }
691
681 if (build_ime) { 692 if (build_ime) {
682 sources += [ 693 sources += [
683 "ime/dummy_input_method.cc", 694 "ime/dummy_input_method.cc",
684 "ime/dummy_input_method.h", 695 "ime/dummy_input_method.h",
685 "ime/dummy_text_input_client.cc", 696 "ime/dummy_text_input_client.cc",
686 "ime/dummy_text_input_client.h", 697 "ime/dummy_text_input_client.h",
687 ] 698 ]
688 699
689 deps += [ 700 deps += [
690 "//ui/base/ime", 701 "//ui/base/ime",
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 if (is_mac) { 970 if (is_mac) {
960 mac_framework_bundle("ui_unittests_framework") { 971 mac_framework_bundle("ui_unittests_framework") {
961 testonly = true 972 testonly = true
962 deps = [ 973 deps = [
963 "//ui/resources:ui_test_pak_bundle_data", 974 "//ui/resources:ui_test_pak_bundle_data",
964 ] 975 ]
965 info_plist = "test/framework-Info.plist" 976 info_plist = "test/framework-Info.plist"
966 output_name = "ui_unittests Framework" 977 output_name = "ui_unittests Framework"
967 } 978 }
968 } 979 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698