OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'shell_interfaces', | |
9 'type': 'none', | |
10 'variables': { | |
11 'mojom_files': [ | |
12 '../catalog/public/interfaces/catalog.mojom', | |
13 'public/interfaces/capabilities.mojom', | |
14 'public/interfaces/connector.mojom', | |
15 'public/interfaces/interface_provider.mojom', | |
16 'public/interfaces/shell.mojom', | |
17 'public/interfaces/shell_client.mojom', | |
18 'public/interfaces/shell_client_factory.mojom', | |
19 'public/interfaces/shell_resolver.mojom', | |
20 ], | |
21 'mojom_typemaps': [ | |
22 '<(DEPTH)/mojo/common/common_custom_types.typemap', | |
23 ], | |
24 }, | |
25 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], | |
26 'dependencies': [ | |
27 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_custom_types_mojom', | |
28 ], | |
29 'export_dependent_settings': [ | |
30 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_custom_types_mojom', | |
31 ], | |
32 }, | |
33 { | |
34 # GN version: //services/shell/public/cpp | |
35 'target_name': 'shell_public', | |
36 'type': 'static_library', | |
37 'sources': [ | |
38 'public/cpp/application_runner.h', | |
39 'public/cpp/capabilities.h', | |
40 'public/cpp/connect.h', | |
41 'public/cpp/connection.h', | |
42 'public/cpp/connector.h', | |
43 'public/cpp/identity.h', | |
44 'public/cpp/initialize_base_and_icu.cc', | |
45 'public/cpp/initialize_base_and_icu.h', | |
46 'public/cpp/interface_binder.h', | |
47 'public/cpp/interface_factory.h', | |
48 'public/cpp/interface_factory_impl.h', | |
49 'public/cpp/interface_registry.h', | |
50 'public/cpp/lib/application_runner.cc', | |
51 'public/cpp/lib/capabilities.cc', | |
52 'public/cpp/lib/connection_impl.cc', | |
53 'public/cpp/lib/connection_impl.h', | |
54 'public/cpp/lib/connector_impl.cc', | |
55 'public/cpp/lib/connector_impl.h', | |
56 'public/cpp/lib/identity.cc', | |
57 'public/cpp/lib/interface_factory_binder.h', | |
58 'public/cpp/lib/interface_registry.cc', | |
59 'public/cpp/lib/names.cc', | |
60 'public/cpp/lib/shell_client.cc', | |
61 'public/cpp/lib/shell_connection.cc', | |
62 'public/cpp/lib/shell_connection_ref.cc', | |
63 'public/cpp/names.h', | |
64 'public/cpp/shell_client.h', | |
65 'public/cpp/shell_connection.h', | |
66 'public/cpp/shell_connection_ref.h', | |
67 ], | |
68 'dependencies': [ | |
69 'shell_interfaces', | |
70 '<(DEPTH)/base/base.gyp:base_i18n', | |
71 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | |
72 ], | |
73 }, { | |
74 'target_name': 'shell_lib', | 8 'target_name': 'shell_lib', |
75 'type': 'static_library', | 9 'type': 'static_library', |
76 'sources': [ | 10 'sources': [ |
77 '../catalog/catalog.cc', | 11 '../catalog/catalog.cc', |
78 '../catalog/catalog.h', | 12 '../catalog/catalog.h', |
79 '../catalog/constants.cc', | 13 '../catalog/constants.cc', |
80 '../catalog/constants.h', | 14 '../catalog/constants.h', |
81 '../catalog/entry.cc', | 15 '../catalog/entry.cc', |
82 '../catalog/entry.h', | 16 '../catalog/entry.h', |
83 '../catalog/instance.cc', | 17 '../catalog/instance.cc', |
84 '../catalog/instance.h', | 18 '../catalog/instance.h', |
85 '../catalog/reader.cc', | 19 '../catalog/reader.cc', |
86 '../catalog/reader.h', | 20 '../catalog/reader.h', |
87 '../catalog/store.cc', | 21 '../catalog/store.cc', |
88 '../catalog/store.h', | 22 '../catalog/store.h', |
89 '../catalog/types.h', | 23 '../catalog/types.h', |
90 'connect_params.cc', | 24 'connect_params.cc', |
91 'connect_params.h', | 25 'connect_params.h', |
92 'connect_util.cc', | 26 'connect_util.cc', |
93 'connect_util.h', | 27 'connect_util.h', |
94 'native_runner.h', | 28 'native_runner.h', |
95 'native_runner_delegate.h', | 29 'native_runner_delegate.h', |
96 'shell.cc', | 30 'shell.cc', |
97 'shell.h', | 31 'shell.h', |
98 'switches.cc', | 32 'switches.cc', |
99 'switches.cc', | 33 'switches.cc', |
100 ], | 34 ], |
101 'dependencies': [ | 35 'dependencies': [ |
102 'shell_public', | |
103 '<(DEPTH)/base/base.gyp:base', | 36 '<(DEPTH)/base/base.gyp:base', |
104 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 37 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
105 '<(DEPTH)/components/filesystem/filesystem.gyp:filesystem_bindings', | 38 '<(DEPTH)/components/filesystem/filesystem.gyp:filesystem_bindings', |
106 '<(DEPTH)/components/filesystem/filesystem.gyp:filesystem_lib', | 39 '<(DEPTH)/components/filesystem/filesystem.gyp:filesystem_lib', |
107 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | 40 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
| 41 'shell_public.gyp:shell_public', |
108 ], | 42 ], |
109 'export_dependent_settings': [ | 43 'export_dependent_settings': [ |
110 'shell_public', | |
111 '<(DEPTH)/components/filesystem/filesystem.gyp:filesystem_bindings', | 44 '<(DEPTH)/components/filesystem/filesystem.gyp:filesystem_bindings', |
| 45 'shell_public.gyp:shell_public', |
112 ], | 46 ], |
113 'variables': { | 47 'variables': { |
114 'mojom_typemaps': [ | 48 'mojom_typemaps': [ |
115 '<(DEPTH)/mojo/common/common_custom_types.typemap', | 49 '<(DEPTH)/mojo/common/common_custom_types.typemap', |
116 ], | 50 ], |
117 } | 51 } |
118 }, { | 52 }, { |
119 'target_name': 'mojo_shell_unittests', | 53 'target_name': 'mojo_shell_unittests', |
120 'type': 'executable', | 54 'type': 'executable', |
121 'sources': [ | 55 'sources': [ |
122 'tests/placeholder_unittest.cc', | 56 'tests/placeholder_unittest.cc', |
123 ], | 57 ], |
124 'dependencies': [ | 58 'dependencies': [ |
125 'shell_lib', | 59 'shell_lib', |
126 'shell_public', | |
127 'shell_test_public', | 60 'shell_test_public', |
128 '<(DEPTH)/base/base.gyp:base', | 61 '<(DEPTH)/base/base.gyp:base', |
129 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | 62 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
130 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', | 63 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
131 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | 64 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
132 '<(DEPTH)/testing/gtest.gyp:gtest', | 65 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 66 'shell_public.gyp:shell_public', |
133 ] | 67 ] |
134 }, { | 68 }, { |
135 'target_name': 'shell_test_public', | 69 'target_name': 'shell_test_public', |
136 'type': 'static_library', | 70 'type': 'static_library', |
137 'dependencies': [ | 71 'dependencies': [ |
138 'shell_test_interfaces', | 72 'shell_test_interfaces', |
139 ], | 73 ], |
140 }, { | 74 }, { |
141 'target_name': 'shell_test_interfaces', | 75 'target_name': 'shell_test_interfaces', |
142 'type': 'none', | 76 'type': 'none', |
(...skipping 11 matching lines...) Expand all Loading... |
154 'sources': [ | 88 'sources': [ |
155 'runner/common/client_util.cc', | 89 'runner/common/client_util.cc', |
156 'runner/common/client_util.h', | 90 'runner/common/client_util.h', |
157 'runner/common/switches.cc', | 91 'runner/common/switches.cc', |
158 'runner/common/switches.h', | 92 'runner/common/switches.h', |
159 ], | 93 ], |
160 'include_dirs': [ | 94 'include_dirs': [ |
161 '..', | 95 '..', |
162 ], | 96 ], |
163 'dependencies': [ | 97 'dependencies': [ |
164 'shell_public', | |
165 '<(DEPTH)/base/base.gyp:base', | 98 '<(DEPTH)/base/base.gyp:base', |
166 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', | 99 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
167 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | 100 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
168 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_system', | 101 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_system', |
| 102 'shell_public.gyp:shell_public', |
169 ], | 103 ], |
170 'export_dependent_settings': [ | 104 'export_dependent_settings': [ |
171 'shell_public', | 105 'shell_public.gyp:shell_public', |
172 ], | 106 ], |
173 }, { | 107 }, { |
174 'target_name': 'shell_runner_host_lib', | 108 'target_name': 'shell_runner_host_lib', |
175 'type': 'static_library', | 109 'type': 'static_library', |
176 'sources': [ | 110 'sources': [ |
177 'runner/host/child_process.cc', | 111 'runner/host/child_process.cc', |
178 'runner/host/child_process.h', | 112 'runner/host/child_process.h', |
179 'runner/host/child_process_base.cc', | 113 'runner/host/child_process_base.cc', |
180 'runner/host/child_process_base.h', | 114 'runner/host/child_process_base.h', |
181 'runner/host/child_process_host.cc', | 115 'runner/host/child_process_host.cc', |
182 'runner/host/child_process_host.h', | 116 'runner/host/child_process_host.h', |
183 'runner/host/in_process_native_runner.cc', | 117 'runner/host/in_process_native_runner.cc', |
184 'runner/host/in_process_native_runner.h', | 118 'runner/host/in_process_native_runner.h', |
185 'runner/host/native_application_support.cc', | 119 'runner/host/native_application_support.cc', |
186 'runner/host/native_application_support.h', | 120 'runner/host/native_application_support.h', |
187 'runner/host/out_of_process_native_runner.cc', | 121 'runner/host/out_of_process_native_runner.cc', |
188 'runner/host/out_of_process_native_runner.h', | 122 'runner/host/out_of_process_native_runner.h', |
189 'runner/init.cc', | 123 'runner/init.cc', |
190 'runner/init.h', | 124 'runner/init.h', |
191 ], | 125 ], |
192 'dependencies': [ | 126 'dependencies': [ |
193 'shell_lib', | 127 'shell_lib', |
194 'shell_public', | |
195 'shell_runner_common_lib', | 128 'shell_runner_common_lib', |
196 '<(DEPTH)/base/base.gyp:base', | 129 '<(DEPTH)/base/base.gyp:base', |
197 '<(DEPTH)/base/base.gyp:base_i18n', | 130 '<(DEPTH)/base/base.gyp:base_i18n', |
198 '<(DEPTH)/base/base.gyp:base_static', | 131 '<(DEPTH)/base/base.gyp:base_static', |
199 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', | 132 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
200 '<(DEPTH)/mojo/mojo_platform_handle.gyp:platform_handle', | 133 '<(DEPTH)/mojo/mojo_platform_handle.gyp:platform_handle', |
| 134 'shell_public.gyp:shell_public', |
201 ], | 135 ], |
202 'export_dependent_settings': [ | 136 'export_dependent_settings': [ |
203 'shell_public', | 137 'shell_public.gyp:shell_public', |
204 ], | 138 ], |
205 'conditions': [ | 139 'conditions': [ |
206 ['OS=="linux"', { | 140 ['OS=="linux"', { |
207 'sources': [ | 141 'sources': [ |
208 'runner/host/linux_sandbox.cc', | 142 'runner/host/linux_sandbox.cc', |
209 'runner/host/linux_sandbox.h', | 143 'runner/host/linux_sandbox.h', |
210 ], | 144 ], |
211 'dependencies': [ | 145 'dependencies': [ |
212 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', | 146 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', |
213 '<(DEPTH)/sandbox/sandbox.gyp:sandbox_services', | 147 '<(DEPTH)/sandbox/sandbox.gyp:sandbox_services', |
(...skipping 19 matching lines...) Expand all Loading... |
233 }, | 167 }, |
234 'includes': [ | 168 'includes': [ |
235 '../../mojo/public/mojo_application_manifest.gypi', | 169 '../../mojo/public/mojo_application_manifest.gypi', |
236 ], | 170 ], |
237 'hard_dependency': 1, | 171 'hard_dependency': 1, |
238 }, { | 172 }, { |
239 # GN version: //services/shell/public/cpp/tests | 173 # GN version: //services/shell/public/cpp/tests |
240 'target_name': 'shell_client_lib_unittests', | 174 'target_name': 'shell_client_lib_unittests', |
241 'type': 'executable', | 175 'type': 'executable', |
242 'dependencies': [ | 176 'dependencies': [ |
243 'shell_public', | |
244 '<(DEPTH)/base/base.gyp:base', | 177 '<(DEPTH)/base/base.gyp:base', |
245 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', | 178 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
246 '<(DEPTH)/testing/gtest.gyp:gtest', | 179 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 180 'shell_public.gyp:shell_public', |
247 ], | 181 ], |
248 'sources': [ | 182 'sources': [ |
249 'public/cpp/tests/interface_registry_unittest.cc', | 183 'public/cpp/tests/interface_registry_unittest.cc', |
250 ], | 184 ], |
251 }], | 185 }], |
252 'conditions': [ | 186 'conditions': [ |
253 ['test_isolation_mode != "noop"', { | 187 ['test_isolation_mode != "noop"', { |
254 'targets': [ | 188 'targets': [ |
255 { | 189 { |
256 'target_name': 'mojo_shell_unittests_run', | 190 'target_name': 'mojo_shell_unittests_run', |
257 'type': 'none', | 191 'type': 'none', |
258 'dependencies': [ | 192 'dependencies': [ |
259 'mojo_shell_unittests', | 193 'mojo_shell_unittests', |
260 ], | 194 ], |
261 'includes': [ | 195 'includes': [ |
262 '../../build/isolate.gypi', | 196 '../../build/isolate.gypi', |
263 ], | 197 ], |
264 'sources': [ | 198 'sources': [ |
265 'mojo_shell_unittests.isolate', | 199 'mojo_shell_unittests.isolate', |
266 ], | 200 ], |
267 }, | 201 }, |
268 ], | 202 ], |
269 }], | 203 }], |
270 ], | 204 ], |
271 } | 205 } |
OLD | NEW |