Update UI for WebStore bundle installs.
[chromium-blink-merge.git] / components / window_manager / BUILD.gn
blobd30da10dbbfec1d246c063ee3998e27b2001866d
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")
9 source_set("lib") {
10   sources = [
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",
16   ]
18   deps = [
19     "//base",
20     "//components/view_manager/public/cpp",
21     "//components/window_manager/public/interfaces",
22     "//mojo/application",
23     "//mojo/common",
24     "//mojo/converters/geometry",
25     "//third_party/mojo/src/mojo/public/cpp/bindings:bindings",
26     "//third_party/mojo/src/mojo/public/interfaces/application",
27     "//ui/gfx/geometry",
28     "//ui/mojo/events:interfaces",
29   ]
32 # A basic window manager with a default delegate used for testing.
33 mojo_native_application("test_window_manager") {
34   sources = [
35     "main.cc",
36   ]
38   public_deps = [
39     ":lib",
40   ]
42   deps = [
43     "//base",
44     "//components/view_manager/public/cpp",
45     "//mojo/application",
46     "//mojo/common:tracing_impl",
47   ]
50 mojo_native_application("apptests") {
51   output_name = "window_manager_apptests"
52   testonly = true
54   sources = [
55     "window_manager_apptest.cc",
56   ]
58   deps = [
59     "//base",
60     "//components/view_manager/public/cpp",
61     "//components/window_manager/public/interfaces",
62     "//mojo/application",
63     "//mojo/application:test_support",
64     "//mojo/environment:chromium",
65     "//third_party/mojo/src/mojo/public/cpp/system:system",
66   ]
68   data_deps = [ ":test_window_manager($default_toolchain)" ]