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") | |
6 | |
7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager | 5 # GYP version: mojo/mojo_services.gypi:mojo_view_manager |
8 component("view_manager") { | 6 component("view_manager") { |
9 deps = [ | 7 deps = [ |
10 "//base", | 8 "//base", |
11 "//cc/surfaces", | 9 "//cc/surfaces", |
12 "//mojo/application", | 10 "//mojo/application", |
13 "//mojo/common", | 11 "//mojo/common", |
14 "//mojo/environment:chromium", | 12 "//mojo/environment:chromium", |
15 "//mojo/public/c/system:for_component", | 13 "//mojo/public/c/system:for_component", |
16 "//mojo/services/public/cpp/geometry", | 14 "//mojo/services/public/cpp/geometry", |
(...skipping 18 matching lines...) Expand all Loading... |
35 | 33 |
36 sources = [ | 34 sources = [ |
37 "access_policy.h", | 35 "access_policy.h", |
38 "access_policy_delegate.h", | 36 "access_policy_delegate.h", |
39 "connection_manager.cc", | 37 "connection_manager.cc", |
40 "connection_manager.h", | 38 "connection_manager.h", |
41 "default_access_policy.cc", | 39 "default_access_policy.cc", |
42 "default_access_policy.h", | 40 "default_access_policy.h", |
43 "display_manager.cc", | 41 "display_manager.cc", |
44 "display_manager.h", | 42 "display_manager.h", |
| 43 "ids.h", |
45 "main.cc", | 44 "main.cc", |
46 "server_view.cc", | 45 "server_view.cc", |
47 "server_view.h", | 46 "server_view.h", |
48 "server_view_delegate.h", | 47 "server_view_delegate.h", |
49 "view_manager_export.h", | 48 "view_manager_export.h", |
50 "view_manager_init_service_context.cc", | 49 "view_manager_init_service_context.cc", |
51 "view_manager_init_service_context.h", | 50 "view_manager_init_service_context.h", |
52 "view_manager_init_service_impl.cc", | 51 "view_manager_init_service_impl.cc", |
53 "view_manager_init_service_impl.h", | 52 "view_manager_init_service_impl.h", |
54 "view_manager_service_impl.cc", | 53 "view_manager_service_impl.cc", |
55 "view_manager_service_impl.h", | 54 "view_manager_service_impl.h", |
56 "window_manager_access_policy.cc", | 55 "window_manager_access_policy.cc", |
57 "window_manager_access_policy.h", | 56 "window_manager_access_policy.h", |
58 ] | 57 ] |
59 } | 58 } |
60 | 59 |
61 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests | 60 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_unittests |
62 test("mojo_view_manager_unittests") { | 61 test("mojo_view_manager_unittests") { |
63 deps = [ | 62 deps = [ |
64 "//base", | 63 "//base", |
65 "//base/test:test_support", | 64 "//base/test:test_support", |
66 "//mojo/application", | 65 "//mojo/application", |
67 "//mojo/application_manager", | 66 "//mojo/application_manager", |
68 "//mojo/environment:chromium", | 67 "//mojo/environment:chromium", |
| 68 "//mojo/services/public/cpp/input_events", |
69 "//mojo/services/public/cpp/geometry", | 69 "//mojo/services/public/cpp/geometry", |
70 "//mojo/services/public/cpp/view_manager", | 70 "//mojo/services/public/cpp/view_manager", |
71 "//mojo/services/public/cpp/view_manager/lib:run_unittests", | 71 "//mojo/services/public/cpp/view_manager/lib:run_unittests", |
72 "//mojo/services/public/cpp/view_manager:common", | 72 "//mojo/services/public/cpp/view_manager:common", |
| 73 "//mojo/services/public/interfaces/input_events", |
| 74 "//mojo/services/public/interfaces/geometry", |
| 75 "//mojo/services/public/interfaces/view_manager", |
73 "//mojo/shell:test_support", | 76 "//mojo/shell:test_support", |
74 "//mojo/system", | 77 "//mojo/system", |
75 "//testing/gtest", | 78 "//testing/gtest", |
76 "//ui/gfx/geometry", | |
77 ] | 79 ] |
78 | 80 |
79 if (use_x11) { | |
80 deps += ["//ui/gfx/x"] | |
81 } | |
82 | |
83 if (is_component_build) { | |
84 deps += ["//ui/gl"] | |
85 } | |
86 | |
87 sources = [ | 81 sources = [ |
88 "test_change_tracker.cc", | 82 "test_change_tracker.cc", |
89 "test_change_tracker.h", | 83 "test_change_tracker.h", |
90 "view_manager_unittest.cc", | 84 "view_manager_unittest.cc", |
91 ] | 85 ] |
92 } | 86 } |
OLD | NEW |