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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
6 import("//third_party/mojo/src/mojo/public/mojo_application.gni")
7 import("//testing/test.gni")
11 "window_manager_app.cc",
12 "window_manager_app.h",
13 "window_manager_delegate.h",
14 "window_manager_impl.cc",
15 "window_manager_impl.h",
20 "//components/view_manager/public/cpp",
21 "//components/window_manager/public/interfaces",
24 "//mojo/converters/geometry",
25 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings",
26 "//third_party/mojo/src/mojo/public/interfaces/application",
28 "//ui/mojo/events:interfaces",
32 # A basic window manager with a default delegate used for testing.
33 mojo_native_application("test_window_manager") {
44 "//components/view_manager/public/cpp",
46 "//mojo/common:tracing_impl",
50 mojo_native_application("apptests") {
51 output_name = "window_manager_apptests"
55 "window_manager_apptest.cc",
60 "//components/view_manager/public/cpp",
61 "//components/window_manager/public/interfaces",
63 "//mojo/application:test_support",
64 "//mojo/environment:chromium",
65 "//third_party/mojo/src/mojo/public/cpp/system:system",
68 data_deps = [ ":test_window_manager($default_toolchain)" ]