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