Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: mojo/services/window_manager/BUILD.gn

Issue 765753003: Move window_manager service implementation to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/services/BUILD.gn ('k') | mojo/services/window_manager/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo_application.gni")
7
8 mojo_native_application("window_manager") {
9 sources = [ "main.cc" ]
10
11 public_deps = [
12 ":lib",
13 ]
14
15 deps = [
16 "//base",
17 "//mojo/application",
18 "//mojo/common:tracing_impl",
19 "//mojo/public/c/system:for_shared_library",
20 "//mojo/services/public/cpp/view_manager",
21 ]
22 }
23
24 source_set("lib") {
25 sources = [
26 "basic_focus_rules.cc",
27 "basic_focus_rules.h",
28 "focus_controller.cc",
29 "focus_controller.h",
30 "focus_controller_observer.h",
31 "focus_rules.h",
32 "native_viewport_event_dispatcher_impl.cc",
33 "native_viewport_event_dispatcher_impl.h",
34 "window_manager_app.cc",
35 "window_manager_app.h",
36 "window_manager_delegate.h",
37 "window_manager_impl.cc",
38 "window_manager_impl.h",
39 "view_event_dispatcher.cc",
40 "view_event_dispatcher.h",
41 "view_target.cc",
42 "view_target.h",
43 "view_targeter.cc",
44 "view_targeter.h",
45 ]
46
47 deps = [
48 "//base",
49 "//ui/base",
50 "//ui/events",
51 "//ui/gfx",
52 "//ui/gfx/geometry",
53 "//mojo/application",
54 "//mojo/common",
55 "//mojo/converters/geometry",
56 "//mojo/converters/input_events",
57 "//mojo/public/cpp/bindings:bindings",
58 "//mojo/public/interfaces/application",
59 "//mojo/services/public/cpp/view_manager",
60 "//mojo/services/public/interfaces/native_viewport",
61 "//mojo/services/public/interfaces/window_manager",
62 ]
63 }
64
65 test("window_manager_unittests") {
66 sources = [
67 "focus_controller_unittest.cc",
68 "view_target_unittest.cc",
69 "view_targeter_unittest.cc",
70 "window_manager_api_unittest.cc",
71 "window_manager_test_util.cc",
72 "window_manager_test_util.h",
73 "window_manager_unittests.cc",
74 ]
75
76 public_deps = [
77 ":lib",
78 ]
79
80 deps = [
81 "//base/test:test_support",
82 "//mojo/application_manager",
83 "//mojo/converters/geometry",
84 "//mojo/edk/system",
85 "//mojo/environment:chromium",
86 "//mojo/public/cpp/application",
87 "//mojo/services/public/cpp/view_manager",
88 "//mojo/services/public/interfaces/view_manager",
89 "//mojo/services/public/interfaces/window_manager",
90 "//mojo/shell:test_support",
91 "//testing/gtest",
92 "//ui/events:test_support",
93 "//ui/gfx",
94 "//ui/gfx:test_support",
95 "//ui/gl",
96 ]
97
98 if (use_x11) {
99 deps += [ "//ui/gfx/x" ]
100 }
101 }
OLDNEW
« no previous file with comments | « mojo/services/BUILD.gn ('k') | mojo/services/window_manager/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698