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 | 7 |
7 shared_library("view_manager") { | 8 mojo_binary_application("view_manager") { |
8 sources = [ | 9 sources = [ |
9 "access_policy.h", | 10 "access_policy.h", |
10 "access_policy_delegate.h", | 11 "access_policy_delegate.h", |
11 "connection_manager.cc", | 12 "connection_manager.cc", |
12 "connection_manager.h", | 13 "connection_manager.h", |
13 "connection_manager_delegate.h", | 14 "connection_manager_delegate.h", |
14 "default_access_policy.cc", | 15 "default_access_policy.cc", |
15 "default_access_policy.h", | 16 "default_access_policy.h", |
16 "display_manager.cc", | 17 "display_manager.cc", |
17 "display_manager.h", | 18 "display_manager.h", |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 "//mojo/shell:test_support", | 80 "//mojo/shell:test_support", |
80 "//testing/gtest", | 81 "//testing/gtest", |
81 "//ui/gfx/geometry", | 82 "//ui/gfx/geometry", |
82 ] | 83 ] |
83 | 84 |
84 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. | 85 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
85 deps += [ "//third_party/mesa:osmesa" ] | 86 deps += [ "//third_party/mesa:osmesa" ] |
86 } | 87 } |
87 } | 88 } |
88 | 89 |
89 shared_library("view_manager_server_apptests") { | 90 mojo_binary_application("view_manager_server_apptests") { |
90 testonly = true | 91 testonly = true |
91 | 92 |
92 sources = [ | 93 sources = [ |
93 "test_change_tracker.cc", | 94 "test_change_tracker.cc", |
94 "test_change_tracker.h", | 95 "test_change_tracker.h", |
95 "view_manager_server_apptest.cc", | 96 "view_manager_server_apptest.cc", |
96 ] | 97 ] |
97 | 98 |
98 deps = [ | 99 deps = [ |
99 "//base", | 100 "//base", |
100 "//mojo/application", | 101 "//mojo/application", |
101 "//mojo/application:test_support", | 102 "//mojo/application:test_support", |
102 "//mojo/common", | 103 "//mojo/common", |
103 "//mojo/public/c/system:for_shared_library", | 104 "//mojo/public/c/system:for_shared_library", |
104 "//mojo/public/cpp/bindings", | 105 "//mojo/public/cpp/bindings", |
105 "//mojo/services/public/interfaces/geometry", | 106 "//mojo/services/public/interfaces/geometry", |
106 "//mojo/services/public/interfaces/view_manager", | 107 "//mojo/services/public/interfaces/view_manager", |
107 "//mojo/services/public/interfaces/window_manager", | 108 "//mojo/services/public/interfaces/window_manager", |
108 ] | 109 ] |
109 } | 110 } |
OLD | NEW |