OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 | 7 |
8 mojo_native_application("window_manager") { | 8 mojo_native_application("window_manager") { |
9 sources = [ | 9 sources = [ |
10 "main.cc", | 10 "main.cc", |
11 ] | 11 ] |
12 | 12 |
13 public_deps = [ | 13 public_deps = [ |
14 ":lib", | 14 ":lib", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//mojo/application", | 19 "//mojo/application", |
20 "//mojo/common:tracing_impl", | 20 "//mojo/common:tracing_impl", |
21 "//mojo/services/public/cpp/view_manager", | 21 "//mojo/services/view_manager/public/cpp", |
22 ] | 22 ] |
23 } | 23 } |
24 | 24 |
25 source_set("lib") { | 25 source_set("lib") { |
26 sources = [ | 26 sources = [ |
27 "basic_focus_rules.cc", | 27 "basic_focus_rules.cc", |
28 "basic_focus_rules.h", | 28 "basic_focus_rules.h", |
29 "focus_controller.cc", | 29 "focus_controller.cc", |
30 "focus_controller.h", | 30 "focus_controller.h", |
31 "focus_controller_observer.h", | 31 "focus_controller_observer.h", |
(...skipping 18 matching lines...) Expand all Loading... |
50 "//ui/base", | 50 "//ui/base", |
51 "//ui/events", | 51 "//ui/events", |
52 "//ui/gfx", | 52 "//ui/gfx", |
53 "//ui/gfx/geometry", | 53 "//ui/gfx/geometry", |
54 "//mojo/application", | 54 "//mojo/application", |
55 "//mojo/common", | 55 "//mojo/common", |
56 "//mojo/converters/geometry", | 56 "//mojo/converters/geometry", |
57 "//mojo/converters/input_events", | 57 "//mojo/converters/input_events", |
58 "//mojo/public/cpp/bindings:bindings", | 58 "//mojo/public/cpp/bindings:bindings", |
59 "//mojo/public/interfaces/application", | 59 "//mojo/public/interfaces/application", |
60 "//mojo/services/public/cpp/view_manager", | |
61 "//mojo/services/public/interfaces/native_viewport", | 60 "//mojo/services/public/interfaces/native_viewport", |
| 61 "//mojo/services/view_manager/public/cpp", |
62 "//mojo/services/window_manager/public/interfaces", | 62 "//mojo/services/window_manager/public/interfaces", |
63 ] | 63 ] |
64 } | 64 } |
65 | 65 |
66 test("window_manager_unittests") { | 66 test("window_manager_unittests") { |
67 sources = [ | 67 sources = [ |
68 "focus_controller_unittest.cc", | 68 "focus_controller_unittest.cc", |
69 "view_target_unittest.cc", | 69 "view_target_unittest.cc", |
70 "view_targeter_unittest.cc", | 70 "view_targeter_unittest.cc", |
71 "window_manager_api_unittest.cc", | 71 "window_manager_api_unittest.cc", |
72 "window_manager_test_util.cc", | 72 "window_manager_test_util.cc", |
73 "window_manager_test_util.h", | 73 "window_manager_test_util.h", |
74 "window_manager_unittests.cc", | 74 "window_manager_unittests.cc", |
75 ] | 75 ] |
76 | 76 |
77 public_deps = [ | 77 public_deps = [ |
78 ":lib", | 78 ":lib", |
79 ] | 79 ] |
80 | 80 |
81 deps = [ | 81 deps = [ |
82 "//base/test:test_support", | 82 "//base/test:test_support", |
83 "//mojo/application_manager", | 83 "//mojo/application_manager", |
84 "//mojo/converters/geometry", | 84 "//mojo/converters/geometry", |
85 "//mojo/edk/system", | 85 "//mojo/edk/system", |
86 "//mojo/environment:chromium", | 86 "//mojo/environment:chromium", |
87 "//mojo/public/cpp/application", | 87 "//mojo/public/cpp/application", |
88 "//mojo/services/public/cpp/view_manager", | 88 "//mojo/services/view_manager/public/cpp", |
89 "//mojo/services/public/interfaces/view_manager", | 89 "//mojo/services/view_manager/public/interfaces", |
90 "//mojo/services/window_manager/public/interfaces", | 90 "//mojo/services/window_manager/public/interfaces", |
91 "//shell:test_support", | 91 "//shell:test_support", |
92 "//testing/gtest", | 92 "//testing/gtest", |
93 "//ui/events:test_support", | 93 "//ui/events:test_support", |
94 "//ui/gfx", | 94 "//ui/gfx", |
95 "//ui/gfx:test_support", | 95 "//ui/gfx:test_support", |
96 "//ui/gl", | 96 "//ui/gl", |
97 ] | 97 ] |
98 | 98 |
99 if (use_x11) { | 99 if (use_x11) { |
100 deps += [ "//ui/gfx/x" ] | 100 deps += [ "//ui/gfx/x" ] |
101 } | 101 } |
102 } | 102 } |
OLD | NEW |