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/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//ui/base/ui_features.gni") | 8 import("//ui/base/ui_features.gni") |
9 | 9 |
10 # Historical note: Ash shipped on Windows for a couple years to support | 10 # Historical note: Ash shipped on Windows for a couple years to support |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 "host/ash_window_tree_host_unified.h", | 679 "host/ash_window_tree_host_unified.h", |
680 "host/ash_window_tree_host_win.cc", | 680 "host/ash_window_tree_host_win.cc", |
681 "host/ash_window_tree_host_win.h", | 681 "host/ash_window_tree_host_win.h", |
682 "host/ash_window_tree_host_x11.cc", | 682 "host/ash_window_tree_host_x11.cc", |
683 "host/ash_window_tree_host_x11.h", | 683 "host/ash_window_tree_host_x11.h", |
684 "host/root_window_transformer.h", | 684 "host/root_window_transformer.h", |
685 "host/transformer_helper.cc", | 685 "host/transformer_helper.cc", |
686 "host/transformer_helper.h", | 686 "host/transformer_helper.h", |
687 "ime/input_method_event_handler.cc", | 687 "ime/input_method_event_handler.cc", |
688 "ime/input_method_event_handler.h", | 688 "ime/input_method_event_handler.h", |
| 689 "laser/laser_pointer_controller.cc", |
| 690 "laser/laser_pointer_controller.h", |
| 691 "laser/laser_pointer_points.cc", |
| 692 "laser/laser_pointer_points.h", |
| 693 "laser/laser_pointer_view.cc", |
| 694 "laser/laser_pointer_view.h", |
| 695 "laser/laser_segment_utils.cc", |
| 696 "laser/laser_segment_utils.h", |
689 "link_handler_model.cc", | 697 "link_handler_model.cc", |
690 "link_handler_model.h", | 698 "link_handler_model.h", |
691 "link_handler_model_factory.cc", | 699 "link_handler_model_factory.cc", |
692 "link_handler_model_factory.h", | 700 "link_handler_model_factory.h", |
693 "magnifier/magnification_controller.cc", | 701 "magnifier/magnification_controller.cc", |
694 "magnifier/magnification_controller.h", | 702 "magnifier/magnification_controller.h", |
| 703 "magnifier/partial_magnification_controller.cc", |
| 704 "magnifier/partial_magnification_controller.h", |
695 "metrics/desktop_task_switch_metric_recorder.cc", | 705 "metrics/desktop_task_switch_metric_recorder.cc", |
696 "metrics/desktop_task_switch_metric_recorder.h", | 706 "metrics/desktop_task_switch_metric_recorder.h", |
697 "metrics/task_switch_metrics_recorder.cc", | 707 "metrics/task_switch_metrics_recorder.cc", |
698 "metrics/task_switch_metrics_recorder.h", | 708 "metrics/task_switch_metrics_recorder.h", |
699 "metrics/task_switch_time_tracker.cc", | 709 "metrics/task_switch_time_tracker.cc", |
700 "metrics/task_switch_time_tracker.h", | 710 "metrics/task_switch_time_tracker.h", |
701 "metrics/user_metrics_recorder.cc", | 711 "metrics/user_metrics_recorder.cc", |
702 "metrics/user_metrics_recorder.h", | 712 "metrics/user_metrics_recorder.h", |
703 "root_window_controller.cc", | 713 "root_window_controller.cc", |
704 "root_window_controller.h", | 714 "root_window_controller.h", |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 ] | 870 ] |
861 deps = [ | 871 deps = [ |
862 "//ash/autoclick/common:autoclick", | 872 "//ash/autoclick/common:autoclick", |
863 "//ash/public/cpp", | 873 "//ash/public/cpp", |
864 "//ash/public/interfaces", | 874 "//ash/public/interfaces", |
865 "//ash/touch_hud", | 875 "//ash/touch_hud", |
866 "//base", | 876 "//base", |
867 "//base:i18n", | 877 "//base:i18n", |
868 "//base/third_party/dynamic_annotations", | 878 "//base/third_party/dynamic_annotations", |
869 "//cc", | 879 "//cc", |
| 880 "//chromeos", |
| 881 "//chromeos:power_manager_proto", |
870 "//components/device_event_log", | 882 "//components/device_event_log", |
871 "//components/onc", | 883 "//components/onc", |
| 884 "//components/quirks", |
872 "//components/session_manager:base", | 885 "//components/session_manager:base", |
873 "//components/signin/core/account_id", | 886 "//components/signin/core/account_id", |
874 "//components/ui_devtools", | 887 "//components/ui_devtools", |
875 "//components/user_manager", | 888 "//components/user_manager", |
876 "//components/wallpaper", | 889 "//components/wallpaper", |
| 890 "//device/bluetooth", |
877 "//media", | 891 "//media", |
878 "//net", | 892 "//net", |
879 "//services/service_manager/public/cpp", | 893 "//services/service_manager/public/cpp", |
880 "//services/ui/public/interfaces", | 894 "//services/ui/public/interfaces", |
881 "//skia", | 895 "//skia", |
| 896 |
| 897 # TODO(msw): Remove this; only ash_with_content should depend on webkit. |
| 898 "//third_party/WebKit/public:blink_headers", |
882 "//third_party/icu", | 899 "//third_party/icu", |
| 900 "//third_party/qcms", |
883 "//ui/accessibility", | 901 "//ui/accessibility", |
884 "//ui/app_list/presenter", | 902 "//ui/app_list/presenter", |
885 "//ui/aura", | 903 "//ui/aura", |
886 "//ui/base", | 904 "//ui/base", |
887 "//ui/base:ui_data_pack", | 905 "//ui/base:ui_data_pack", |
888 "//ui/base/ime", | 906 "//ui/base/ime", |
| 907 "//ui/chromeos", |
| 908 "//ui/chromeos/resources", |
| 909 "//ui/chromeos/strings", |
889 "//ui/compositor", | 910 "//ui/compositor", |
890 "//ui/display", | 911 "//ui/display", |
891 "//ui/display/manager", | 912 "//ui/display/manager", |
892 "//ui/display/types", | 913 "//ui/display/types", |
| 914 "//ui/display/util", |
893 "//ui/events", | 915 "//ui/events", |
894 "//ui/events:events_base", | 916 "//ui/events:events_base", |
895 "//ui/events:gesture_detection", | 917 "//ui/events:gesture_detection", |
896 "//ui/events/devices", | 918 "//ui/events/devices", |
897 "//ui/gfx", | 919 "//ui/gfx", |
898 "//ui/gfx/geometry", | 920 "//ui/gfx/geometry", |
899 "//ui/keyboard", | 921 "//ui/keyboard", |
900 "//ui/message_center", | 922 "//ui/message_center", |
901 "//ui/native_theme", | 923 "//ui/native_theme", |
902 "//ui/platform_window", | 924 "//ui/platform_window", |
903 "//ui/platform_window/stub", | 925 "//ui/platform_window/stub", |
904 "//ui/resources", | 926 "//ui/resources", |
905 "//ui/strings", | 927 "//ui/strings", |
906 "//ui/views", | 928 "//ui/views", |
907 "//ui/wm", | 929 "//ui/wm", |
908 "//url", | 930 "//url", |
909 ] | 931 ] |
910 | 932 |
911 if (is_win) { | 933 # TODO(jamescook): Move to ash_unittests? |
912 sources -= [ | 934 data = [ |
913 "sticky_keys/sticky_keys_controller.cc", | 935 "display/test_data/", |
914 "sticky_keys/sticky_keys_controller.h", | 936 ] |
915 ] | |
916 | |
917 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
918 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
919 } | |
920 | 937 |
921 if (use_x11) { | 938 if (use_x11) { |
922 configs += [ | 939 configs += [ |
923 "//build/config/linux:x11", | 940 "//build/config/linux:x11", |
924 "//build/config/linux:xfixes", | 941 "//build/config/linux:xfixes", |
925 ] | 942 ] |
926 deps += [ | 943 deps += [ |
927 "//ui/events/devices/x11", | 944 "//ui/events/devices/x11", |
928 "//ui/events/platform", | 945 "//ui/events/platform", |
929 "//ui/gfx/x", | 946 "//ui/gfx/x", |
(...skipping 13 matching lines...) Expand all Loading... |
943 "//ui/events/ozone:events_ozone", | 960 "//ui/events/ozone:events_ozone", |
944 "//ui/ozone", | 961 "//ui/ozone", |
945 ] | 962 ] |
946 } else { | 963 } else { |
947 sources -= [ | 964 sources -= [ |
948 "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.cc", | 965 "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.cc", |
949 "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h", | 966 "wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h", |
950 ] | 967 ] |
951 } | 968 } |
952 | 969 |
953 if (is_chromeos) { | |
954 deps += [ | |
955 "//chromeos", | |
956 "//chromeos:power_manager_proto", | |
957 "//components/quirks", | |
958 "//device/bluetooth", | |
959 | |
960 # TODO(msw): Remove this; only ash_with_content should depend on webkit. | |
961 "//third_party/WebKit/public:blink_headers", | |
962 "//third_party/qcms", | |
963 "//ui/chromeos", | |
964 "//ui/chromeos/resources", | |
965 "//ui/chromeos/strings", | |
966 "//ui/display/util", | |
967 ] | |
968 | |
969 data = [ | |
970 "display/test_data/", | |
971 ] | |
972 | |
973 sources += [ | |
974 "laser/laser_pointer_controller.cc", | |
975 "laser/laser_pointer_controller.h", | |
976 "laser/laser_pointer_points.cc", | |
977 "laser/laser_pointer_points.h", | |
978 "laser/laser_pointer_view.cc", | |
979 "laser/laser_pointer_view.h", | |
980 "laser/laser_segment_utils.cc", | |
981 "laser/laser_segment_utils.h", | |
982 "magnifier/partial_magnification_controller.cc", | |
983 "magnifier/partial_magnification_controller.h", | |
984 ] | |
985 } else { | |
986 sources -= [ | |
987 "accelerators/key_hold_detector.cc", | |
988 "accelerators/key_hold_detector.h", | |
989 "accelerators/magnifier_key_scroller.cc", | |
990 "accelerators/magnifier_key_scroller.h", | |
991 "accelerators/spoken_feedback_toggler.cc", | |
992 "accelerators/spoken_feedback_toggler.h", | |
993 "display/resolution_notification_controller.cc", | |
994 "display/resolution_notification_controller.h", | |
995 "touch/touch_transformer_controller.cc", | |
996 "touch/touch_transformer_controller.h", | |
997 "virtual_keyboard_controller.cc", | |
998 "virtual_keyboard_controller.h", | |
999 ] | |
1000 } | |
1001 | |
1002 # Usage of content should be in ash_content_unittests. | 970 # Usage of content should be in ash_content_unittests. |
1003 assert_no_deps = [ | 971 assert_no_deps = [ |
1004 "//content/public/browser", | 972 "//content/public/browser", |
1005 "//content/public/common", | 973 "//content/public/common", |
1006 ] | 974 ] |
1007 } | 975 } |
1008 | 976 |
1009 component("ash_with_content") { | 977 component("ash_with_content") { |
1010 sources = [ | 978 sources = [ |
1011 "content/ash_with_content_export.h", | 979 "content/ash_with_content_export.h", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1114 "shell/window_type_launcher.h", | 1082 "shell/window_type_launcher.h", |
1115 ] | 1083 ] |
1116 | 1084 |
1117 deps = [ | 1085 deps = [ |
1118 ":ash_shell_lib", | 1086 ":ash_shell_lib", |
1119 ":ash_with_content", | 1087 ":ash_with_content", |
1120 "//ash/public/cpp", | 1088 "//ash/public/cpp", |
1121 "//ash/test:test_support_without_content", | 1089 "//ash/test:test_support_without_content", |
1122 "//base:i18n", | 1090 "//base:i18n", |
1123 "//chrome:packed_resources", | 1091 "//chrome:packed_resources", |
| 1092 "//chromeos", |
1124 "//content", | 1093 "//content", |
1125 "//content/shell:content_shell_lib", | 1094 "//content/shell:content_shell_lib", |
1126 "//device/bluetooth", | 1095 "//device/bluetooth", |
1127 "//net", | 1096 "//net", |
1128 "//skia", | 1097 "//skia", |
1129 "//ui/aura", | 1098 "//ui/aura", |
1130 "//ui/base", | 1099 "//ui/base", |
1131 "//ui/base/ime", | 1100 "//ui/base/ime", |
1132 "//ui/compositor", | 1101 "//ui/compositor", |
1133 "//ui/display", | 1102 "//ui/display", |
1134 "//ui/events/devices", | 1103 "//ui/events/devices", |
1135 "//ui/message_center", | 1104 "//ui/message_center", |
1136 "//ui/views:test_support", | 1105 "//ui/views:test_support", |
1137 "//ui/views/examples:views_examples_with_content_lib", | 1106 "//ui/views/examples:views_examples_with_content_lib", |
1138 "//ui/wm", | 1107 "//ui/wm", |
1139 ] | 1108 ] |
1140 | |
1141 if (is_chromeos) { | |
1142 deps += [ "//chromeos" ] | |
1143 } | |
1144 } | 1109 } |
1145 | 1110 |
1146 # This target is intended for tests that use content. In general very few tests | 1111 # This target is intended for tests that use content. In general very few tests |
1147 # need or use content and should be placed in |ash_unittests| instead. | 1112 # need or use content and should be placed in |ash_unittests| instead. |
1148 test("ash_content_unittests") { | 1113 test("ash_content_unittests") { |
1149 sources = [ | 1114 sources = [ |
1150 "content/display/screen_orientation_controller_chromeos_unittest.cc", | 1115 "content/display/screen_orientation_controller_chromeos_unittest.cc", |
1151 "content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc", | 1116 "content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc", |
1152 "content/keyboard_overlay/keyboard_overlay_view_unittest.cc", | 1117 "content/keyboard_overlay/keyboard_overlay_view_unittest.cc", |
1153 "test/ash_unittests.cc", | 1118 "test/ash_unittests.cc", |
1154 ] | 1119 ] |
1155 configs += [ | 1120 configs += [ |
1156 "//build/config:precompiled_headers", | 1121 "//build/config:precompiled_headers", |
1157 "//build/config/compiler:no_size_t_to_int_warning", | 1122 "//build/config/compiler:no_size_t_to_int_warning", |
1158 ] | 1123 ] |
1159 | 1124 |
1160 deps = [ | 1125 deps = [ |
1161 ":ash", | 1126 ":ash", |
1162 ":ash_with_content", | 1127 ":ash_with_content", |
1163 "//ash/common/test:test_support", | 1128 "//ash/common/test:test_support", |
1164 "//ash/public/cpp", | 1129 "//ash/public/cpp", |
1165 "//ash/test:ash_with_aura_test_support", | 1130 "//ash/test:ash_with_aura_test_support", |
1166 "//ash/test:test_support_with_content", | 1131 "//ash/test:test_support_with_content", |
1167 "//base", | 1132 "//base", |
1168 "//base/test:test_support", | 1133 "//base/test:test_support", |
| 1134 "//chromeos", |
| 1135 "//chromeos:power_manager_proto", |
| 1136 "//chromeos:test_support_without_gmock", |
| 1137 "//components/quirks", |
1169 "//components/signin/core/account_id", | 1138 "//components/signin/core/account_id", |
1170 "//components/user_manager", | 1139 "//components/user_manager", |
1171 "//content/public/browser", | 1140 "//content/public/browser", |
1172 "//content/test:test_support", | 1141 "//content/test:test_support", |
| 1142 "//device/bluetooth", |
1173 "//mojo/edk/system", | 1143 "//mojo/edk/system", |
| 1144 "//net", |
1174 "//skia", | 1145 "//skia", |
1175 "//testing/gtest", | 1146 "//testing/gtest", |
1176 "//ui/aura", | 1147 "//ui/aura", |
1177 "//ui/aura:test_support", | 1148 "//ui/aura:test_support", |
| 1149 "//ui/chromeos", |
| 1150 "//ui/display", |
| 1151 "//ui/display:test_support", |
1178 "//ui/message_center", | 1152 "//ui/message_center", |
1179 "//ui/message_center:test_support", | 1153 "//ui/message_center:test_support", |
1180 "//ui/views", | 1154 "//ui/views", |
1181 "//ui/views:test_support", | 1155 "//ui/views:test_support", |
1182 "//ui/views/controls/webview:test_support", | 1156 "//ui/views/controls/webview:test_support", |
1183 "//ui/web_dialogs:test_support", | 1157 "//ui/web_dialogs:test_support", |
1184 ] | 1158 ] |
1185 | 1159 |
1186 data_deps = [ | 1160 data_deps = [ |
1187 "//ash/common/strings:ash_test_strings", | 1161 "//ash/common/strings:ash_test_strings", |
1188 "//ash/resources:ash_test_resources_with_content_100_percent", | 1162 "//ash/resources:ash_test_resources_with_content_100_percent", |
1189 "//ash/resources:ash_test_resources_200_percent", | 1163 "//ash/resources:ash_test_resources_200_percent", |
1190 ] | 1164 ] |
1191 | |
1192 if (is_chromeos) { | |
1193 deps += [ | |
1194 "//chromeos", | |
1195 "//chromeos:power_manager_proto", | |
1196 "//chromeos:test_support_without_gmock", | |
1197 "//components/quirks", | |
1198 "//device/bluetooth", | |
1199 "//net:net", | |
1200 "//ui/chromeos", | |
1201 "//ui/display", | |
1202 "//ui/display:test_support", | |
1203 ] | |
1204 } | |
1205 } | 1165 } |
1206 | 1166 |
1207 test("ash_unittests") { | 1167 test("ash_unittests") { |
1208 sources = [ | 1168 sources = [ |
1209 "accelerators/accelerator_commands_unittest.cc", | 1169 "accelerators/accelerator_commands_unittest.cc", |
1210 "accelerators/accelerator_controller_unittest.cc", | 1170 "accelerators/accelerator_controller_unittest.cc", |
1211 "accelerators/accelerator_filter_unittest.cc", | 1171 "accelerators/accelerator_filter_unittest.cc", |
1212 "accelerators/magnifier_key_scroller_unittest.cc", | 1172 "accelerators/magnifier_key_scroller_unittest.cc", |
1213 "accelerators/spoken_feedback_toggler_unittest.cc", | 1173 "accelerators/spoken_feedback_toggler_unittest.cc", |
1214 "app_list/app_list_presenter_delegate_unittest.cc", | 1174 "app_list/app_list_presenter_delegate_unittest.cc", |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1279 "display/projecting_observer_chromeos_unittest.cc", | 1239 "display/projecting_observer_chromeos_unittest.cc", |
1280 "display/resolution_notification_controller_unittest.cc", | 1240 "display/resolution_notification_controller_unittest.cc", |
1281 "display/root_window_transformers_unittest.cc", | 1241 "display/root_window_transformers_unittest.cc", |
1282 "display/screen_ash_unittest.cc", | 1242 "display/screen_ash_unittest.cc", |
1283 "display/screen_position_controller_unittest.cc", | 1243 "display/screen_position_controller_unittest.cc", |
1284 "display/unified_mouse_warp_controller_unittest.cc", | 1244 "display/unified_mouse_warp_controller_unittest.cc", |
1285 "display/window_tree_host_manager_unittest.cc", | 1245 "display/window_tree_host_manager_unittest.cc", |
1286 "drag_drop/drag_drop_controller_unittest.cc", | 1246 "drag_drop/drag_drop_controller_unittest.cc", |
1287 "drag_drop/drag_drop_tracker_unittest.cc", | 1247 "drag_drop/drag_drop_tracker_unittest.cc", |
1288 "extended_desktop_unittest.cc", | 1248 "extended_desktop_unittest.cc", |
| 1249 "first_run/first_run_helper_unittest.cc", |
1289 "focus_cycler_unittest.cc", | 1250 "focus_cycler_unittest.cc", |
1290 "frame/caption_buttons/frame_size_button_unittest.cc", | 1251 "frame/caption_buttons/frame_size_button_unittest.cc", |
1291 "host/ash_window_tree_host_x11_unittest.cc", | 1252 "host/ash_window_tree_host_x11_unittest.cc", |
| 1253 "laser/laser_pointer_controller_unittest.cc", |
| 1254 "laser/laser_segment_utils_unittest.cc", |
1292 "magnifier/magnification_controller_unittest.cc", | 1255 "magnifier/magnification_controller_unittest.cc", |
| 1256 "magnifier/partial_magnification_controller_unittest.cc", |
1293 "metrics/desktop_task_switch_metric_recorder_unittest.cc", | 1257 "metrics/desktop_task_switch_metric_recorder_unittest.cc", |
1294 "metrics/task_switch_metrics_recorder_unittest.cc", | 1258 "metrics/task_switch_metrics_recorder_unittest.cc", |
1295 "metrics/task_switch_time_tracker_unittest.cc", | 1259 "metrics/task_switch_time_tracker_unittest.cc", |
1296 "metrics/user_metrics_recorder_unittest.cc", | 1260 "metrics/user_metrics_recorder_unittest.cc", |
1297 "root_window_controller_unittest.cc", | 1261 "root_window_controller_unittest.cc", |
1298 "rotator/screen_rotation_animation_unittest.cc", | 1262 "rotator/screen_rotation_animation_unittest.cc", |
1299 "screen_util_unittest.cc", | 1263 "screen_util_unittest.cc", |
1300 "shelf/shelf_layout_manager_unittest.cc", | 1264 "shelf/shelf_layout_manager_unittest.cc", |
1301 "shelf/shelf_unittest.cc", | 1265 "shelf/shelf_unittest.cc", |
1302 "shelf/shelf_view_unittest.cc", | 1266 "shelf/shelf_view_unittest.cc", |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1375 "//ash/common:unittests", | 1339 "//ash/common:unittests", |
1376 "//ash/common/strings", | 1340 "//ash/common/strings", |
1377 "//ash/common/test:test_support", | 1341 "//ash/common/test:test_support", |
1378 "//ash/public/cpp", | 1342 "//ash/public/cpp", |
1379 "//ash/resources", | 1343 "//ash/resources", |
1380 "//ash/test:ash_with_aura_test_support", | 1344 "//ash/test:ash_with_aura_test_support", |
1381 "//ash/test:test_support_without_content", | 1345 "//ash/test:test_support_without_content", |
1382 "//ash/touch_hud", | 1346 "//ash/touch_hud", |
1383 "//base", | 1347 "//base", |
1384 "//base/test:test_support", | 1348 "//base/test:test_support", |
| 1349 "//chromeos", |
| 1350 "//chromeos:power_manager_proto", |
| 1351 "//chromeos:test_support_without_gmock", |
| 1352 "//components/quirks", |
1385 "//components/signin/core/account_id", | 1353 "//components/signin/core/account_id", |
1386 "//components/user_manager", | 1354 "//components/user_manager", |
| 1355 "//device/bluetooth", |
1387 "//mojo/edk/system", | 1356 "//mojo/edk/system", |
| 1357 "//net:net", |
1388 "//services/ui/public/interfaces", | 1358 "//services/ui/public/interfaces", |
1389 "//skia", | 1359 "//skia", |
1390 "//testing/gmock", | 1360 "//testing/gmock", |
1391 "//testing/gtest", | 1361 "//testing/gtest", |
1392 "//third_party/icu", | 1362 "//third_party/icu", |
1393 "//ui/accessibility", | 1363 "//ui/accessibility", |
1394 "//ui/app_list/presenter", | 1364 "//ui/app_list/presenter", |
1395 "//ui/aura", | 1365 "//ui/aura", |
1396 "//ui/aura:test_support", | 1366 "//ui/aura:test_support", |
1397 "//ui/base", | 1367 "//ui/base", |
1398 "//ui/base:test_support", | 1368 "//ui/base:test_support", |
1399 "//ui/base/ime", | 1369 "//ui/base/ime", |
| 1370 "//ui/chromeos", |
1400 "//ui/compositor", | 1371 "//ui/compositor", |
1401 "//ui/compositor:test_support", | 1372 "//ui/compositor:test_support", |
| 1373 "//ui/display", |
| 1374 "//ui/display:test_support", |
1402 "//ui/display/types", | 1375 "//ui/display/types", |
1403 "//ui/events", | 1376 "//ui/events", |
1404 "//ui/events:gesture_detection", | 1377 "//ui/events:gesture_detection", |
1405 "//ui/events:test_support", | 1378 "//ui/events:test_support", |
1406 "//ui/events/devices", | 1379 "//ui/events/devices", |
1407 "//ui/gfx", | 1380 "//ui/gfx", |
1408 "//ui/gfx/geometry", | 1381 "//ui/gfx/geometry", |
1409 "//ui/keyboard", | 1382 "//ui/keyboard", |
1410 "//ui/message_center", | 1383 "//ui/message_center", |
1411 "//ui/message_center:test_support", | 1384 "//ui/message_center:test_support", |
1412 "//ui/resources", | 1385 "//ui/resources", |
1413 "//ui/strings", | 1386 "//ui/strings", |
1414 "//ui/views", | 1387 "//ui/views", |
1415 "//ui/views:test_support", | 1388 "//ui/views:test_support", |
1416 "//ui/wm", | 1389 "//ui/wm", |
1417 "//ui/wm:test_support", | 1390 "//ui/wm:test_support", |
1418 "//url", | 1391 "//url", |
1419 ] | 1392 ] |
1420 | 1393 |
1421 data_deps = [ | 1394 data_deps = [ |
1422 "//ash/common/strings:ash_test_strings", | 1395 "//ash/common/strings:ash_test_strings", |
1423 "//ash/resources:ash_test_resources_100_percent", | 1396 "//ash/resources:ash_test_resources_100_percent", |
1424 "//ash/resources:ash_test_resources_200_percent", | 1397 "//ash/resources:ash_test_resources_200_percent", |
1425 ] | 1398 ] |
1426 | 1399 |
1427 if (!use_x11) { | 1400 if (!use_x11) { |
1428 sources -= [ "host/ash_window_tree_host_x11_unittest.cc" ] | 1401 sources -= [ |
1429 } | 1402 "host/ash_window_tree_host_x11_unittest.cc", |
1430 | 1403 "touch/touch_transformer_controller_unittest.cc", |
1431 if (is_chromeos) { | |
1432 sources += [ | |
1433 "first_run/first_run_helper_unittest.cc", | |
1434 "laser/laser_pointer_controller_unittest.cc", | |
1435 "laser/laser_segment_utils_unittest.cc", | |
1436 "magnifier/partial_magnification_controller_unittest.cc", | |
1437 ] | 1404 ] |
1438 deps += [ | |
1439 "//chromeos", | |
1440 "//chromeos:power_manager_proto", | |
1441 "//chromeos:test_support_without_gmock", | |
1442 "//components/quirks", | |
1443 "//device/bluetooth", | |
1444 "//net:net", | |
1445 "//ui/chromeos", | |
1446 "//ui/display", | |
1447 "//ui/display:test_support", | |
1448 ] | |
1449 } else { | |
1450 sources -= [ | |
1451 "accelerators/magnifier_key_scroller_unittest.cc", | |
1452 "accelerators/spoken_feedback_toggler_unittest.cc", | |
1453 | |
1454 # Can't resize on Windows Ash. http://crbug.com/165962 | |
1455 "autoclick/autoclick_unittest.cc", | |
1456 "display/resolution_notification_controller_unittest.cc", | |
1457 | |
1458 # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906 | |
1459 "focus_cycler_unittest.cc", | |
1460 "magnifier/magnification_controller_unittest.cc", | |
1461 "sticky_keys/sticky_keys_overlay_unittest.cc", | |
1462 "sticky_keys/sticky_keys_unittest.cc", | |
1463 "virtual_keyboard_controller_unittest.cc", | |
1464 | |
1465 # All tests for multiple displays: not supported on Windows Ash. | |
1466 "wm/drag_window_resizer_unittest.cc", | |
1467 | |
1468 # Talks to ChromeOS system services. | |
1469 "wm/lock_state_controller_unittest.cc", | |
1470 | |
1471 # Maximize mode is only available on Chrome OS. | |
1472 "wm/maximize_mode/maximize_mode_controller_unittest.cc", | |
1473 "wm/maximize_mode/maximize_mode_window_manager_unittest.cc", | |
1474 "wm/workspace/workspace_window_resizer_unittest.cc", | |
1475 ] | |
1476 } | |
1477 | |
1478 if (!use_x11 || !is_chromeos) { | |
1479 sources -= [ "touch/touch_transformer_controller_unittest.cc" ] | |
1480 } | 1405 } |
1481 | 1406 |
1482 # Usage of content should be in ash_with_content. | 1407 # Usage of content should be in ash_with_content. |
1483 assert_no_deps = [ | 1408 assert_no_deps = [ |
1484 "//content/public/browser", | 1409 "//content/public/browser", |
1485 "//content/public/common", | 1410 "//content/public/common", |
1486 ] | 1411 ] |
1487 } | 1412 } |
1488 | 1413 |
1489 executable("ash_shell_with_content") { | 1414 executable("ash_shell_with_content") { |
1490 testonly = true | 1415 testonly = true |
1491 sources = [ | 1416 sources = [ |
1492 "shell/content/shell_with_content_main.cc", | 1417 "shell/content/shell_with_content_main.cc", |
1493 ] | 1418 ] |
1494 | 1419 |
1495 deps = [ | 1420 deps = [ |
1496 ":ash_shell_lib_with_content", | 1421 ":ash_shell_lib_with_content", |
1497 "//base", | 1422 "//base", |
1498 "//build/config/sanitizers:deps", | 1423 "//build/config/sanitizers:deps", |
1499 "//build/win:default_exe_manifest", | 1424 "//build/win:default_exe_manifest", |
1500 "//components/user_manager", | 1425 "//components/user_manager", |
1501 "//content", | 1426 "//content", |
1502 "//content/public/app:both", | 1427 "//content/public/app:both", |
| 1428 "//device/bluetooth", |
1503 ] | 1429 ] |
1504 | 1430 |
1505 data_deps = [ | 1431 data_deps = [ |
1506 "//ash/common/strings:ash_test_strings", | 1432 "//ash/common/strings:ash_test_strings", |
1507 "//ash/resources:ash_test_resources_with_content_100_percent", | 1433 "//ash/resources:ash_test_resources_with_content_100_percent", |
1508 "//ash/resources:ash_test_resources_200_percent", | 1434 "//ash/resources:ash_test_resources_200_percent", |
1509 ] | 1435 ] |
1510 | |
1511 if (is_win) { | |
1512 configs -= [ "//build/config/win:console" ] | |
1513 configs += [ "//build/config/win:windowed" ] | |
1514 deps += [ "//sandbox" ] | |
1515 } | |
1516 | |
1517 if (is_chromeos) { | |
1518 deps += [ "//device/bluetooth" ] | |
1519 } | |
1520 } | 1436 } |
OLD | NEW |