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

Unified Diff: ash/test/BUILD.gn

Issue 2559713003: Remove non-chromeos support from src/ash BUILD.gn files (Closed)
Patch Set: rebase, nit 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/BUILD.gn
diff --git a/ash/test/BUILD.gn b/ash/test/BUILD.gn
index 02de42f0c1a15fe1ddf5dbcb8d728e363f3bf3d8..d90861d7fdc95cc0a923e7b2c79d7340be6819ba 100644
--- a/ash/test/BUILD.gn
+++ b/ash/test/BUILD.gn
@@ -68,6 +68,11 @@ static_library("test_support_common") {
testonly = true
visibility = [ ":*" ]
sources = [
+ # TODO(jamescook): Move these files into ash/test.
+ "../laser/laser_pointer_controller_test_api.cc",
+ "../laser/laser_pointer_controller_test_api.h",
+ "../laser/laser_pointer_points_test_api.cc",
+ "../laser/laser_pointer_points_test_api.h",
"../shell/toplevel_window.cc",
"../shell/toplevel_window.h",
"ash_md_test_base.cc",
@@ -121,6 +126,8 @@ static_library("test_support_common") {
"test_system_tray_item.h",
"test_wallpaper_delegate.cc",
"test_wallpaper_delegate.h",
+ "tray_cast_test_api.cc",
+ "tray_cast_test_api.h",
"ui_controls_factory_ash.cc",
"ui_controls_factory_ash.h",
"user_metrics_recorder_test_api.cc",
@@ -139,6 +146,7 @@ static_library("test_support_common") {
"//ash/resources",
"//base:i18n",
"//base/test:test_support",
+ "//chromeos",
"//components/signin/core/account_id",
"//components/user_manager:user_manager",
"//device/bluetooth",
@@ -152,6 +160,7 @@ static_library("test_support_common") {
"//ui/aura:test_support",
"//ui/base:test_support",
"//ui/compositor:test_support",
+ "//ui/display",
"//ui/display/types",
"//ui/events:events_base",
"//ui/events:test_support",
@@ -165,29 +174,9 @@ static_library("test_support_common") {
"//ui/wm",
]
- if (is_win) {
- deps += [ "//ui/platform_window/win" ]
- }
-
if (use_x11) {
deps += [ "//ui/gfx/x" ]
}
-
- if (is_chromeos) {
- deps += [
- "//chromeos",
- "//ui/display",
- ]
-
- sources += [
- "../laser/laser_pointer_controller_test_api.cc",
- "../laser/laser_pointer_controller_test_api.h",
- "../laser/laser_pointer_points_test_api.cc",
- "../laser/laser_pointer_points_test_api.h",
- "tray_cast_test_api.cc",
- "tray_cast_test_api.h",
- ]
- }
}
static_library("interactive_ui_test_support") {
« no previous file with comments | « ash/mus/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698