Index: components/mus/ws/BUILD.gn |
diff --git a/components/mus/ws/BUILD.gn b/components/mus/ws/BUILD.gn |
deleted file mode 100644 |
index 4a7ccd1063fd062b9a9219cc4f57428e42c51a62..0000000000000000000000000000000000000000 |
--- a/components/mus/ws/BUILD.gn |
+++ /dev/null |
@@ -1,254 +0,0 @@ |
-# Copyright 2014 The Chromium Authors. All rights reserved. |
-# Use of this source code is governed by a BSD-style license that can be |
-# found in the LICENSE file. |
- |
-import("//build/config/ui.gni") |
-import("//testing/test.gni") |
-import("//mojo/public/mojo_application.gni") |
-import("//mojo/public/mojo_application_manifest.gni") |
- |
-source_set("lib") { |
- sources = [ |
- "accelerator.cc", |
- "accelerator.h", |
- "access_policy.h", |
- "access_policy_delegate.h", |
- "animation_runner.cc", |
- "animation_runner.h", |
- "animation_runner_observer.h", |
- "default_access_policy.cc", |
- "default_access_policy.h", |
- "display.cc", |
- "display.h", |
- "display_binding.cc", |
- "display_binding.h", |
- "display_manager.cc", |
- "display_manager.h", |
- "display_manager_delegate.h", |
- "event_dispatcher.cc", |
- "event_dispatcher.h", |
- "event_dispatcher_delegate.h", |
- "event_matcher.cc", |
- "event_matcher.h", |
- "focus_controller.cc", |
- "focus_controller.h", |
- "focus_controller_delegate.h", |
- "focus_controller_observer.h", |
- "modal_window_controller.cc", |
- "modal_window_controller.h", |
- "operation.cc", |
- "operation.h", |
- "platform_display.cc", |
- "platform_display.h", |
- "platform_display_delegate.h", |
- "platform_display_factory.h", |
- "platform_display_init_params.cc", |
- "platform_display_init_params.h", |
- "platform_screen.h", |
- "platform_screen_impl.cc", |
- "platform_screen_impl.h", |
- "scheduled_animation_group.cc", |
- "scheduled_animation_group.h", |
- "server_window.cc", |
- "server_window.h", |
- "server_window_delegate.h", |
- "server_window_drawn_tracker.cc", |
- "server_window_drawn_tracker.h", |
- "server_window_drawn_tracker_observer.h", |
- "server_window_observer.h", |
- "server_window_surface.cc", |
- "server_window_surface.h", |
- "server_window_surface_manager.cc", |
- "server_window_surface_manager.h", |
- "server_window_tracker.h", |
- "touch_controller.cc", |
- "touch_controller.h", |
- "user_activity_monitor.cc", |
- "user_activity_monitor.h", |
- "user_display_manager.cc", |
- "user_display_manager.h", |
- "user_id.h", |
- "user_id_tracker.cc", |
- "user_id_tracker.h", |
- "user_id_tracker_observer.h", |
- "window_coordinate_conversions.cc", |
- "window_coordinate_conversions.h", |
- "window_finder.cc", |
- "window_finder.h", |
- "window_manager_access_policy.cc", |
- "window_manager_access_policy.h", |
- "window_manager_display_root.cc", |
- "window_manager_display_root.h", |
- "window_manager_state.cc", |
- "window_manager_state.h", |
- "window_manager_window_tree_factory.cc", |
- "window_manager_window_tree_factory.h", |
- "window_manager_window_tree_factory_set.cc", |
- "window_manager_window_tree_factory_set.h", |
- "window_manager_window_tree_factory_set_observer.h", |
- "window_server.cc", |
- "window_server.h", |
- "window_server_delegate.cc", |
- "window_server_delegate.h", |
- "window_tree.cc", |
- "window_tree.h", |
- "window_tree_binding.cc", |
- "window_tree_binding.h", |
- "window_tree_factory.cc", |
- "window_tree_factory.h", |
- "window_tree_host_factory.cc", |
- "window_tree_host_factory.h", |
- ] |
- |
- public_deps = [ |
- "//base", |
- "//cc", |
- "//cc/ipc:interfaces", |
- "//cc/surfaces", |
- "//cc/surfaces:surface_id", |
- "//components/mus/common:mus_common", |
- "//components/mus/gles2", |
- "//components/mus/public/interfaces", |
- "//components/mus/surfaces", |
- "//mojo/common:common_base", |
- "//mojo/public/cpp/bindings", |
- "//services/shell/public/cpp", |
- "//services/shell/public/interfaces", |
- "//services/tracing/public/cpp", |
- "//ui/base", |
- "//ui/display", |
- "//ui/events", |
- "//ui/events/devices", |
- "//ui/events/platform", |
- "//ui/gfx", |
- "//ui/gfx/geometry", |
- "//ui/gfx/geometry/mojo", |
- "//ui/gl", |
- "//ui/platform_window", |
- "//ui/platform_window:platform_impls", |
- "//ui/platform_window/mojo", |
- ] |
- |
- if (use_ozone) { |
- sources -= [ |
- "platform_screen_impl.cc", |
- "platform_screen_impl.h", |
- ] |
- sources += [ |
- "platform_screen_impl_ozone.cc", |
- "platform_screen_impl_ozone.h", |
- ] |
- public_deps += [ "//ui/ozone:ozone" ] |
- } |
-} |
- |
-source_set("test_interface") { |
- sources = [ |
- "window_server_test_impl.cc", |
- "window_server_test_impl.h", |
- ] |
- |
- deps = [ |
- ":lib", |
- "//components/mus/public/interfaces", |
- "//mojo/public/cpp/bindings:bindings", |
- "//ui/gfx", |
- ] |
-} |
- |
-source_set("test_support") { |
- testonly = true |
- |
- sources = [ |
- "test_change_tracker.cc", |
- "test_change_tracker.h", |
- ] |
- |
- deps = [ |
- "//base", |
- "//components/mus/common:mus_common", |
- "//components/mus/public/cpp", |
- "//components/mus/public/interfaces", |
- "//mojo/common", |
- "//mojo/public/cpp/bindings:bindings", |
- "//ui/gfx/geometry/mojo", |
- ] |
-} |
- |
-group("tests") { |
- testonly = true |
- deps = [ |
- ":mus_ws_unittests", |
- ] |
- if (!is_android) { |
- deps += [ "//components/mus/public/cpp/tests:mus_public_unittests" ] |
- } |
-} |
- |
-test("mus_ws_unittests") { |
- sources = [ |
- "animation_runner_unittest.cc", |
- "cursor_unittest.cc", |
- "display_unittest.cc", |
- "event_dispatcher_unittest.cc", |
- "event_matcher_unittest.cc", |
- "focus_controller_unittest.cc", |
- "scheduled_animation_group_unittest.cc", |
- "server_window_drawn_tracker_unittest.cc", |
- "server_window_surface_manager_test_api.cc", |
- "server_window_surface_manager_test_api.h", |
- "test_server_window_delegate.cc", |
- "test_server_window_delegate.h", |
- "test_utils.cc", |
- "test_utils.h", |
- "transient_windows_unittest.cc", |
- "user_activity_monitor_unittest.cc", |
- "user_display_manager_unittest.cc", |
- "window_coordinate_conversions_unittest.cc", |
- "window_finder_unittest.cc", |
- "window_manager_client_unittest.cc", |
- "window_manager_state_unittest.cc", |
- "window_tree_client_unittest.cc", |
- "window_tree_unittest.cc", |
- ] |
- |
- deps = [ |
- ":lib", |
- ":test_support", |
- "//base", |
- "//base/test:test_config", |
- "//base/test:test_support", |
- "//cc:cc", |
- "//components/mus/common:mus_common", |
- "//components/mus/public/cpp", |
- "//components/mus/public/cpp/tests:test_support", |
- "//components/mus/public/interfaces", |
- "//components/mus/surfaces", |
- "//mojo/public/cpp/bindings:bindings", |
- "//services/shell/public/cpp:shell_test_support", |
- "//services/shell/public/cpp:sources", |
- "//services/shell/public/cpp/test:run_all_shelltests", |
- "//services/shell/public/interfaces", |
- "//testing/gtest", |
- "//third_party/mesa:osmesa", |
- "//ui/events", |
- "//ui/gfx", |
- "//ui/gfx:test_support", |
- "//ui/gfx/geometry", |
- "//ui/gfx/geometry/mojo", |
- "//ui/gl", |
- ] |
- |
- if (use_x11) { |
- deps += [ "//tools/xdisplaycheck" ] |
- } |
- |
- data_deps = [ |
- ":mus_ws_unittests_app_manifest", |
- ] |
-} |
- |
-mojo_application_manifest("mus_ws_unittests_app_manifest") { |
- application_name = "mus_ws_unittests_app" |
- source = "mus_ws_unittests_app_manifest.json" |
-} |