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

Side by Side Diff: ash/BUILD.gn

Issue 2694623016: chromeos: Makes AshTestBase/Helper target mash when appropriate (Closed)
Patch Set: cleanup Created 3 years, 10 months 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/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
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
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 # This target includes the tests that are run by both ash and mash. Eventually
1156 # the majority of tests in |ash_unittests| should move here.
1157 source_set("common_unittests") {
James Cook 2017/02/18 02:23:20 Does this duplicate the list in ash/common/BUILD.g
sky 2017/02/18 18:00:56 It does indeed and includes one new file. The plan
1158 testonly = true
1159 sources = [
1160 "accelerators/accelerator_controller_unittest.cc",
1161 "common/accelerators/accelerator_table_unittest.cc",
1162 "common/drag_drop/drag_image_view_unittest.cc",
1163 "common/mus_property_mirror_ash_unittest.cc",
1164 "common/system/chromeos/audio/tray_audio_unittest.cc",
1165 "common/system/chromeos/brightness/tray_brightness_unittest.cc",
1166 "common/system/chromeos/network/vpn_list_unittest.cc",
1167 "common/system/chromeos/screen_security/screen_tray_item_unittest.cc",
1168 "common/system/chromeos/supervised/tray_supervised_user_unittest.cc",
1169 "common/system/date/date_view_unittest.cc",
1170 "common/system/update/tray_update_unittest.cc",
1171 "common/wm/container_finder_unittest.cc",
1172 "common/wm/mru_window_tracker_unittest.cc",
1173 "common/wm/workspace/workspace_layout_manager_unittest.cc",
1174 "common/wm_window_unittest.cc",
1175 "common/wm_window_user_data_unittest.cc",
1176 "test/ash_test_environment_default.cc",
1177 ]
1178 deps = [
1179 "//ash",
1180 "//ash/common/test:test_support",
1181 "//ash/public/cpp:ash_public_cpp",
1182 "//ash/public/interfaces",
1183 "//ash/test:test_support_without_content",
1184 "//base",
1185 "//base/test:test_support",
1186 "//services/ui/public/interfaces",
1187 "//ui/app_list/presenter",
1188 "//ui/app_list/presenter:test_support",
1189 "//ui/aura",
1190 "//ui/aura:test_support",
1191 "//ui/base",
1192 "//ui/base:test_support",
1193 "//ui/display",
1194 "//ui/events:test_support",
1195 "//ui/keyboard",
1196 "//ui/message_center",
1197 "//ui/views",
1198 "//ui/wm",
1199 ]
1200 public_deps = [
1201 "//ash/test:test_support_without_content",
1202 ]
1203 }
1204
1152 test("ash_unittests") { 1205 test("ash_unittests") {
1153 sources = [ 1206 sources = [
1154 "accelerators/accelerator_commands_unittest.cc", 1207 "accelerators/accelerator_commands_unittest.cc",
1155 "accelerators/accelerator_controller_unittest.cc",
1156 "accelerators/accelerator_filter_unittest.cc", 1208 "accelerators/accelerator_filter_unittest.cc",
1157 "accelerators/magnifier_key_scroller_unittest.cc", 1209 "accelerators/magnifier_key_scroller_unittest.cc",
1158 "accelerators/spoken_feedback_toggler_unittest.cc", 1210 "accelerators/spoken_feedback_toggler_unittest.cc",
1159 "app_list/app_list_presenter_delegate_unittest.cc", 1211 "app_list/app_list_presenter_delegate_unittest.cc",
1160 "ash_touch_exploration_manager_chromeos_unittest.cc", 1212 "ash_touch_exploration_manager_chromeos_unittest.cc",
1161 "aura/pointer_watcher_adapter_unittest.cc", 1213 "aura/pointer_watcher_adapter_unittest.cc",
1162 "autoclick/autoclick_unittest.cc", 1214 "autoclick/autoclick_unittest.cc",
1163 "common/devtools/ash_devtools_unittest.cc", 1215 "common/devtools/ash_devtools_unittest.cc",
1164 "common/session/session_controller_unittest.cc", 1216 "common/session/session_controller_unittest.cc",
1165 1217
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 "sticky_keys/sticky_keys_unittest.cc", 1305 "sticky_keys/sticky_keys_unittest.cc",
1254 "system/chromeos/power/power_event_observer_unittest.cc", 1306 "system/chromeos/power/power_event_observer_unittest.cc",
1255 "system/chromeos/power/tablet_power_button_controller_unittest.cc", 1307 "system/chromeos/power/tablet_power_button_controller_unittest.cc",
1256 "system/chromeos/power/video_activity_notifier_unittest.cc", 1308 "system/chromeos/power/video_activity_notifier_unittest.cc",
1257 "system/chromeos/rotation/tray_rotation_lock_unittest.cc", 1309 "system/chromeos/rotation/tray_rotation_lock_unittest.cc",
1258 "system/chromeos/screen_layout_observer_unittest.cc", 1310 "system/chromeos/screen_layout_observer_unittest.cc",
1259 "system/overview/overview_button_tray_unittest.cc", 1311 "system/overview/overview_button_tray_unittest.cc",
1260 "system/toast/toast_manager_unittest.cc", 1312 "system/toast/toast_manager_unittest.cc",
1261 "system/web_notification/ash_popup_alignment_delegate_unittest.cc", 1313 "system/web_notification/ash_popup_alignment_delegate_unittest.cc",
1262 "system/web_notification/web_notification_tray_unittest.cc", 1314 "system/web_notification/web_notification_tray_unittest.cc",
1263 "test/ash_test_environment_default.cc",
1264 "test/ash_test_helper_unittest.cc", 1315 "test/ash_test_helper_unittest.cc",
1316 "test/ash_test_suite.cc",
1317 "test/ash_test_suite.h",
1265 "test/ash_unittests.cc", 1318 "test/ash_unittests.cc",
1266 "tooltips/tooltip_controller_unittest.cc", 1319 "tooltips/tooltip_controller_unittest.cc",
1267 "touch/touch_observer_hud_unittest.cc", 1320 "touch/touch_observer_hud_unittest.cc",
1268 "utility/screenshot_controller_unittest.cc", 1321 "utility/screenshot_controller_unittest.cc",
1269 "virtual_keyboard_controller_unittest.cc", 1322 "virtual_keyboard_controller_unittest.cc",
1270 "wm/always_on_top_controller_unittest.cc", 1323 "wm/always_on_top_controller_unittest.cc",
1271 "wm/ash_focus_rules_unittest.cc", 1324 "wm/ash_focus_rules_unittest.cc",
1272 "wm/ash_native_cursor_manager_unittest.cc", 1325 "wm/ash_native_cursor_manager_unittest.cc",
1273 "wm/dock/docked_window_layout_manager_unittest.cc", 1326 "wm/dock/docked_window_layout_manager_unittest.cc",
1274 "wm/dock/docked_window_resizer_unittest.cc", 1327 "wm/dock/docked_window_resizer_unittest.cc",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1310 "wm/workspace_controller_test_helper.h", 1363 "wm/workspace_controller_test_helper.h",
1311 "wm/workspace_controller_unittest.cc", 1364 "wm/workspace_controller_unittest.cc",
1312 ] 1365 ]
1313 configs += [ 1366 configs += [
1314 "//build/config:precompiled_headers", 1367 "//build/config:precompiled_headers",
1315 "//build/config/compiler:no_size_t_to_int_warning", 1368 "//build/config/compiler:no_size_t_to_int_warning",
1316 ] 1369 ]
1317 1370
1318 deps = [ 1371 deps = [
1319 ":ash", 1372 ":ash",
1373 ":common_unittests",
1320 "//ash/autoclick/common:autoclick", 1374 "//ash/autoclick/common:autoclick",
1321 "//ash/common:unittests",
1322 "//ash/common/strings", 1375 "//ash/common/strings",
1323 "//ash/common/test:test_support", 1376 "//ash/common/test:test_support",
1324 "//ash/public/cpp:ash_public_cpp", 1377 "//ash/public/cpp:ash_public_cpp",
1325 "//ash/public/interfaces", 1378 "//ash/public/interfaces",
1326 "//ash/resources", 1379 "//ash/resources",
1327 "//ash/resources/vector_icons", 1380 "//ash/resources/vector_icons",
1328 "//ash/test:ash_with_aura_test_support", 1381 "//ash/test:ash_with_aura_test_support",
1329 "//ash/test:test_support_without_content", 1382 "//ash/test:test_support_without_content",
1330 "//ash/touch_hud", 1383 "//ash/touch_hud",
1331 "//base", 1384 "//base",
(...skipping 27 matching lines...) Expand all
1359 "//ui/display", 1412 "//ui/display",
1360 "//ui/display:test_support", 1413 "//ui/display:test_support",
1361 "//ui/display/types", 1414 "//ui/display/types",
1362 "//ui/events", 1415 "//ui/events",
1363 "//ui/events:gesture_detection", 1416 "//ui/events:gesture_detection",
1364 "//ui/events:test_support", 1417 "//ui/events:test_support",
1365 "//ui/events/devices", 1418 "//ui/events/devices",
1366 "//ui/gfx", 1419 "//ui/gfx",
1367 "//ui/gfx:test_support", 1420 "//ui/gfx:test_support",
1368 "//ui/gfx/geometry", 1421 "//ui/gfx/geometry",
1422 "//ui/gl:test_support",
1369 "//ui/keyboard", 1423 "//ui/keyboard",
1370 "//ui/message_center", 1424 "//ui/message_center",
1371 "//ui/message_center:test_support", 1425 "//ui/message_center:test_support",
1372 "//ui/resources", 1426 "//ui/resources",
1373 "//ui/strings", 1427 "//ui/strings",
1374 "//ui/views", 1428 "//ui/views",
1375 "//ui/views:test_support", 1429 "//ui/views:test_support",
1376 "//ui/wm", 1430 "//ui/wm",
1377 "//ui/wm:test_support", 1431 "//ui/wm:test_support",
1378 "//url", 1432 "//url",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 "//content/public/app:both", 1465 "//content/public/app:both",
1412 "//device/bluetooth", 1466 "//device/bluetooth",
1413 ] 1467 ]
1414 1468
1415 data_deps = [ 1469 data_deps = [
1416 "//ash/common/strings:ash_test_strings", 1470 "//ash/common/strings:ash_test_strings",
1417 "//ash/resources:ash_test_resources_with_content_100_percent", 1471 "//ash/resources:ash_test_resources_with_content_100_percent",
1418 "//ash/resources:ash_test_resources_200_percent", 1472 "//ash/resources:ash_test_resources_200_percent",
1419 ] 1473 ]
1420 } 1474 }
OLDNEW
« no previous file with comments | « no previous file | ash/accelerators/accelerator_controller_unittest.cc » ('j') | ash/mus/bridge/wm_shell_mus.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698