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",
23 "//mojo/application/public/interfaces",
25 "//mojo/converters/geometry",
26 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings",
28 "//ui/mojo/events:interfaces",
31 data_deps = [ "//components/view_manager" ]
34 # A basic window manager with a default delegate used for testing.
35 mojo_native_application("test_window_manager") {
46 "//components/view_manager/public/cpp",
48 "//mojo/common:tracing_impl",
52 mojo_native_application("apptests") {
53 output_name = "window_manager_apptests"
57 "window_manager_apptest.cc",
62 "//components/view_manager/public/cpp",
63 "//components/window_manager/public/interfaces",
65 "//mojo/application:test_support",
66 "//mojo/environment:chromium",
67 "//third_party/mojo/src/mojo/public/cpp/system:system",
70 data_deps = [ ":test_window_manager($default_toolchain)" ]