Index: mash/wm/BUILD.gn |
diff --git a/mash/wm/BUILD.gn b/mash/wm/BUILD.gn |
index 6548409c0b54a4433f16e24fa04be109e86e6672..283de718237dee5613fd295c984667300e12a6c3 100644 |
--- a/mash/wm/BUILD.gn |
+++ b/mash/wm/BUILD.gn |
@@ -8,13 +8,6 @@ import("//mojo/public/mojo_application_manifest.gni") |
import("//mojo/public/tools/bindings/mojom.gni") |
import("//tools/grit/repack.gni") |
-group("tests") { |
- testonly = true |
- deps = [ |
- ":apptests", |
- ] |
-} |
- |
source_set("lib") { |
sources = [ |
"accelerator_registrar_impl.cc", |
@@ -140,50 +133,14 @@ repack("resources") { |
] |
} |
-mojo_native_application("apptests") { |
- output_name = "mash_wm_apptests" |
- testonly = true |
- |
- sources = [ |
- "accelerator_registrar_apptest.cc", |
- "window_manager_apptest.cc", |
- ] |
- |
- deps = [ |
- "//base", |
- "//base/test:test_config", |
- "//components/mus/public/cpp", |
- "//components/mus/public/interfaces", |
- "//mojo/common:common_base", |
- "//mojo/converters/geometry", |
- "//mojo/converters/input_events", |
- "//mojo/shell/public/cpp:sources", |
- "//mojo/shell/public/cpp:test_support", |
- "//ui/mojo/geometry:interfaces", |
- "//ui/mojo/geometry:util", |
- ] |
- |
- data_deps = [ |
- ":apptest_manifest", |
- ":wm", |
- ] |
- |
- if (use_x11) { |
- deps += [ "//tools/xdisplaycheck" ] |
- } |
-} |
- |
-mojo_application_manifest("apptest_manifest") { |
- application_name = "mash_wm_apptests" |
- source = "apptest_manifest.json" |
-} |
- |
source_set("unittests") { |
testonly = true |
sources = [ |
+ "accelerator_registrar_unittest.cc", |
"frame/move_loop_unittest.cc", |
"layout_manager_unittest.cc", |
+ "window_manager_unittest.cc", |
] |
deps = [ |
@@ -192,12 +149,14 @@ source_set("unittests") { |
"//base/test:test_config", |
"//components/mus/public/cpp", |
"//components/mus/public/cpp/tests:unittest_support", |
+ "//components/mus/public/interfaces", |
"//mojo/converters/geometry", |
"//mojo/converters/input_events", |
"//mojo/edk/system", |
"//mojo/gles2", |
"//mojo/platform_handle", |
"//mojo/public/cpp/system", |
+ "//mojo/shell/public/cpp:shell_test_support", |
"//testing/gtest", |
"//ui/base", |
"//ui/events", |