| 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 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1091 ] | 1091 ] |
| 1092 } | 1092 } |
| 1093 | 1093 |
| 1094 # This target is intended for tests that use content. In general very few tests | 1094 # This target is intended for tests that use content. In general very few tests |
| 1095 # need or use content and should be placed in |ash_unittests| instead. | 1095 # need or use content and should be placed in |ash_unittests| instead. |
| 1096 test("ash_content_unittests") { | 1096 test("ash_content_unittests") { |
| 1097 sources = [ | 1097 sources = [ |
| 1098 "content/display/screen_orientation_controller_chromeos_unittest.cc", | 1098 "content/display/screen_orientation_controller_chromeos_unittest.cc", |
| 1099 "content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc", | 1099 "content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc", |
| 1100 "content/keyboard_overlay/keyboard_overlay_view_unittest.cc", | 1100 "content/keyboard_overlay/keyboard_overlay_view_unittest.cc", |
| 1101 "test/ash_test_suite.cc", |
| 1102 "test/ash_test_suite.h", |
| 1101 "test/ash_unittests.cc", | 1103 "test/ash_unittests.cc", |
| 1102 ] | 1104 ] |
| 1103 configs += [ | 1105 configs += [ |
| 1104 "//build/config:precompiled_headers", | 1106 "//build/config:precompiled_headers", |
| 1105 "//build/config/compiler:no_size_t_to_int_warning", | 1107 "//build/config/compiler:no_size_t_to_int_warning", |
| 1106 ] | 1108 ] |
| 1107 | 1109 |
| 1108 deps = [ | 1110 deps = [ |
| 1109 ":ash", | 1111 ":ash", |
| 1110 ":ash_with_content", | 1112 ":ash_with_content", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1125 "//device/bluetooth", | 1127 "//device/bluetooth", |
| 1126 "//mojo/edk/system", | 1128 "//mojo/edk/system", |
| 1127 "//net", | 1129 "//net", |
| 1128 "//skia", | 1130 "//skia", |
| 1129 "//testing/gtest", | 1131 "//testing/gtest", |
| 1130 "//ui/aura", | 1132 "//ui/aura", |
| 1131 "//ui/aura:test_support", | 1133 "//ui/aura:test_support", |
| 1132 "//ui/chromeos", | 1134 "//ui/chromeos", |
| 1133 "//ui/display", | 1135 "//ui/display", |
| 1134 "//ui/display:test_support", | 1136 "//ui/display:test_support", |
| 1137 "//ui/gl:test_support", |
| 1135 "//ui/message_center", | 1138 "//ui/message_center", |
| 1136 "//ui/message_center:test_support", | 1139 "//ui/message_center:test_support", |
| 1137 "//ui/views", | 1140 "//ui/views", |
| 1138 "//ui/views:test_support", | 1141 "//ui/views:test_support", |
| 1139 "//ui/views/controls/webview:test_support", | 1142 "//ui/views/controls/webview:test_support", |
| 1140 "//ui/web_dialogs:test_support", | 1143 "//ui/web_dialogs:test_support", |
| 1141 ] | 1144 ] |
| 1142 | 1145 |
| 1143 data_deps = [ | 1146 data_deps = [ |
| 1144 "//ash/common/strings:ash_test_strings", | 1147 "//ash/common/strings:ash_test_strings", |
| 1145 "//ash/resources:ash_test_resources_with_content_100_percent", | 1148 "//ash/resources:ash_test_resources_with_content_100_percent", |
| 1146 "//ash/resources:ash_test_resources_200_percent", | 1149 "//ash/resources:ash_test_resources_200_percent", |
| 1147 ] | 1150 ] |
| 1148 } | 1151 } |
| 1149 | 1152 |
| 1153 # This target includes the tests that are run by both ash and mash. Eventually |
| 1154 # the majority of tests in |ash_unittests| should move here. |
| 1155 source_set("common_unittests") { |
| 1156 testonly = true |
| 1157 sources = [ |
| 1158 "accelerators/accelerator_controller_unittest.cc", |
| 1159 "common/accelerators/accelerator_table_unittest.cc", |
| 1160 "common/drag_drop/drag_image_view_unittest.cc", |
| 1161 "common/mus_property_mirror_ash_unittest.cc", |
| 1162 "common/system/chromeos/audio/tray_audio_unittest.cc", |
| 1163 "common/system/chromeos/brightness/tray_brightness_unittest.cc", |
| 1164 "common/system/chromeos/network/vpn_list_unittest.cc", |
| 1165 "common/system/chromeos/screen_security/screen_tray_item_unittest.cc", |
| 1166 "common/system/chromeos/supervised/tray_supervised_user_unittest.cc", |
| 1167 "common/system/date/date_view_unittest.cc", |
| 1168 "common/system/update/tray_update_unittest.cc", |
| 1169 "common/wm/container_finder_unittest.cc", |
| 1170 "common/wm/mru_window_tracker_unittest.cc", |
| 1171 "common/wm/workspace/workspace_layout_manager_unittest.cc", |
| 1172 "common/wm_window_unittest.cc", |
| 1173 "common/wm_window_user_data_unittest.cc", |
| 1174 ] |
| 1175 deps = [ |
| 1176 "//ash", |
| 1177 "//ash/common/test:test_support", |
| 1178 "//ash/public/cpp:ash_public_cpp", |
| 1179 "//ash/public/interfaces", |
| 1180 "//ash/test:test_support_without_content", |
| 1181 "//base", |
| 1182 "//base/test:test_support", |
| 1183 "//services/ui/public/interfaces", |
| 1184 "//ui/app_list/presenter", |
| 1185 "//ui/app_list/presenter:test_support", |
| 1186 "//ui/aura", |
| 1187 "//ui/aura:test_support", |
| 1188 "//ui/base", |
| 1189 "//ui/base:test_support", |
| 1190 "//ui/display", |
| 1191 "//ui/events:test_support", |
| 1192 "//ui/keyboard", |
| 1193 "//ui/message_center", |
| 1194 "//ui/views", |
| 1195 "//ui/wm", |
| 1196 ] |
| 1197 public_deps = [ |
| 1198 "//ash/test:test_support_without_content", |
| 1199 ] |
| 1200 } |
| 1201 |
| 1150 test("ash_unittests") { | 1202 test("ash_unittests") { |
| 1151 sources = [ | 1203 sources = [ |
| 1152 "accelerators/accelerator_commands_unittest.cc", | 1204 "accelerators/accelerator_commands_unittest.cc", |
| 1153 "accelerators/accelerator_controller_unittest.cc", | |
| 1154 "accelerators/accelerator_filter_unittest.cc", | 1205 "accelerators/accelerator_filter_unittest.cc", |
| 1155 "accelerators/magnifier_key_scroller_unittest.cc", | 1206 "accelerators/magnifier_key_scroller_unittest.cc", |
| 1156 "accelerators/spoken_feedback_toggler_unittest.cc", | 1207 "accelerators/spoken_feedback_toggler_unittest.cc", |
| 1157 "app_list/app_list_presenter_delegate_unittest.cc", | 1208 "app_list/app_list_presenter_delegate_unittest.cc", |
| 1158 "ash_touch_exploration_manager_chromeos_unittest.cc", | 1209 "ash_touch_exploration_manager_chromeos_unittest.cc", |
| 1159 "aura/pointer_watcher_adapter_unittest.cc", | 1210 "aura/pointer_watcher_adapter_unittest.cc", |
| 1160 "autoclick/autoclick_unittest.cc", | 1211 "autoclick/autoclick_unittest.cc", |
| 1161 "common/devtools/ash_devtools_unittest.cc", | 1212 "common/devtools/ash_devtools_unittest.cc", |
| 1162 "common/session/session_controller_unittest.cc", | 1213 "common/session/session_controller_unittest.cc", |
| 1163 | 1214 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1251 "sticky_keys/sticky_keys_unittest.cc", | 1302 "sticky_keys/sticky_keys_unittest.cc", |
| 1252 "system/chromeos/power/power_event_observer_unittest.cc", | 1303 "system/chromeos/power/power_event_observer_unittest.cc", |
| 1253 "system/chromeos/power/tablet_power_button_controller_unittest.cc", | 1304 "system/chromeos/power/tablet_power_button_controller_unittest.cc", |
| 1254 "system/chromeos/power/video_activity_notifier_unittest.cc", | 1305 "system/chromeos/power/video_activity_notifier_unittest.cc", |
| 1255 "system/chromeos/rotation/tray_rotation_lock_unittest.cc", | 1306 "system/chromeos/rotation/tray_rotation_lock_unittest.cc", |
| 1256 "system/chromeos/screen_layout_observer_unittest.cc", | 1307 "system/chromeos/screen_layout_observer_unittest.cc", |
| 1257 "system/overview/overview_button_tray_unittest.cc", | 1308 "system/overview/overview_button_tray_unittest.cc", |
| 1258 "system/toast/toast_manager_unittest.cc", | 1309 "system/toast/toast_manager_unittest.cc", |
| 1259 "system/web_notification/ash_popup_alignment_delegate_unittest.cc", | 1310 "system/web_notification/ash_popup_alignment_delegate_unittest.cc", |
| 1260 "system/web_notification/web_notification_tray_unittest.cc", | 1311 "system/web_notification/web_notification_tray_unittest.cc", |
| 1261 "test/ash_test_environment_default.cc", | |
| 1262 "test/ash_test_helper_unittest.cc", | 1312 "test/ash_test_helper_unittest.cc", |
| 1313 "test/ash_test_suite.cc", |
| 1314 "test/ash_test_suite.h", |
| 1263 "test/ash_unittests.cc", | 1315 "test/ash_unittests.cc", |
| 1264 "tooltips/tooltip_controller_unittest.cc", | 1316 "tooltips/tooltip_controller_unittest.cc", |
| 1265 "touch/touch_observer_hud_unittest.cc", | 1317 "touch/touch_observer_hud_unittest.cc", |
| 1266 "utility/screenshot_controller_unittest.cc", | 1318 "utility/screenshot_controller_unittest.cc", |
| 1267 "virtual_keyboard_controller_unittest.cc", | 1319 "virtual_keyboard_controller_unittest.cc", |
| 1268 "wm/always_on_top_controller_unittest.cc", | 1320 "wm/always_on_top_controller_unittest.cc", |
| 1269 "wm/ash_focus_rules_unittest.cc", | 1321 "wm/ash_focus_rules_unittest.cc", |
| 1270 "wm/ash_native_cursor_manager_unittest.cc", | 1322 "wm/ash_native_cursor_manager_unittest.cc", |
| 1271 "wm/dock/docked_window_layout_manager_unittest.cc", | 1323 "wm/dock/docked_window_layout_manager_unittest.cc", |
| 1272 "wm/dock/docked_window_resizer_unittest.cc", | 1324 "wm/dock/docked_window_resizer_unittest.cc", |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1308 "wm/workspace_controller_test_helper.h", | 1360 "wm/workspace_controller_test_helper.h", |
| 1309 "wm/workspace_controller_unittest.cc", | 1361 "wm/workspace_controller_unittest.cc", |
| 1310 ] | 1362 ] |
| 1311 configs += [ | 1363 configs += [ |
| 1312 "//build/config:precompiled_headers", | 1364 "//build/config:precompiled_headers", |
| 1313 "//build/config/compiler:no_size_t_to_int_warning", | 1365 "//build/config/compiler:no_size_t_to_int_warning", |
| 1314 ] | 1366 ] |
| 1315 | 1367 |
| 1316 deps = [ | 1368 deps = [ |
| 1317 ":ash", | 1369 ":ash", |
| 1370 ":common_unittests", |
| 1318 "//ash/autoclick/common:autoclick", | 1371 "//ash/autoclick/common:autoclick", |
| 1319 "//ash/common:unittests", | |
| 1320 "//ash/common/strings", | 1372 "//ash/common/strings", |
| 1321 "//ash/common/test:test_support", | 1373 "//ash/common/test:test_support", |
| 1322 "//ash/public/cpp:ash_public_cpp", | 1374 "//ash/public/cpp:ash_public_cpp", |
| 1323 "//ash/public/interfaces", | 1375 "//ash/public/interfaces", |
| 1324 "//ash/resources", | 1376 "//ash/resources", |
| 1325 "//ash/resources/vector_icons", | 1377 "//ash/resources/vector_icons", |
| 1326 "//ash/test:ash_with_aura_test_support", | 1378 "//ash/test:ash_with_aura_test_support", |
| 1327 "//ash/test:test_support_without_content", | 1379 "//ash/test:test_support_without_content", |
| 1328 "//ash/touch_hud", | 1380 "//ash/touch_hud", |
| 1329 "//base", | 1381 "//base", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1357 "//ui/display", | 1409 "//ui/display", |
| 1358 "//ui/display:test_support", | 1410 "//ui/display:test_support", |
| 1359 "//ui/display/types", | 1411 "//ui/display/types", |
| 1360 "//ui/events", | 1412 "//ui/events", |
| 1361 "//ui/events:gesture_detection", | 1413 "//ui/events:gesture_detection", |
| 1362 "//ui/events:test_support", | 1414 "//ui/events:test_support", |
| 1363 "//ui/events/devices", | 1415 "//ui/events/devices", |
| 1364 "//ui/gfx", | 1416 "//ui/gfx", |
| 1365 "//ui/gfx:test_support", | 1417 "//ui/gfx:test_support", |
| 1366 "//ui/gfx/geometry", | 1418 "//ui/gfx/geometry", |
| 1419 "//ui/gl:test_support", |
| 1367 "//ui/keyboard", | 1420 "//ui/keyboard", |
| 1368 "//ui/message_center", | 1421 "//ui/message_center", |
| 1369 "//ui/message_center:test_support", | 1422 "//ui/message_center:test_support", |
| 1370 "//ui/resources", | 1423 "//ui/resources", |
| 1371 "//ui/strings", | 1424 "//ui/strings", |
| 1372 "//ui/views", | 1425 "//ui/views", |
| 1373 "//ui/views:test_support", | 1426 "//ui/views:test_support", |
| 1374 "//ui/wm", | 1427 "//ui/wm", |
| 1375 "//ui/wm:test_support", | 1428 "//ui/wm:test_support", |
| 1376 "//url", | 1429 "//url", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1409 "//content/public/app:both", | 1462 "//content/public/app:both", |
| 1410 "//device/bluetooth", | 1463 "//device/bluetooth", |
| 1411 ] | 1464 ] |
| 1412 | 1465 |
| 1413 data_deps = [ | 1466 data_deps = [ |
| 1414 "//ash/common/strings:ash_test_strings", | 1467 "//ash/common/strings:ash_test_strings", |
| 1415 "//ash/resources:ash_test_resources_with_content_100_percent", | 1468 "//ash/resources:ash_test_resources_with_content_100_percent", |
| 1416 "//ash/resources:ash_test_resources_200_percent", | 1469 "//ash/resources:ash_test_resources_200_percent", |
| 1417 ] | 1470 ] |
| 1418 } | 1471 } |
| OLD | NEW |