OLD | NEW |
| (Empty) |
1 # Copyright (c) 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 { | |
6 'targets': [ | |
7 { | |
8 # GN version: //mojo/services/clipboard/ | |
9 'target_name': 'mojo_clipboard', | |
10 'type': 'loadable_module', | |
11 'dependencies': [ | |
12 '../base/base.gyp:base', | |
13 'mojo_base.gyp:mojo_application_chromium', | |
14 'mojo_base.gyp:mojo_common_lib', | |
15 'services/public/mojo_services_public.gyp:mojo_clipboard_bindings', | |
16 'public/mojo_public.gyp:mojo_cpp_bindings', | |
17 'public/mojo_public.gyp:mojo_utility', | |
18 '<(mojo_system_for_loadable_module)', | |
19 ], | |
20 'sources': [ | |
21 'services/clipboard/clipboard_standalone_impl.cc', | |
22 'services/clipboard/clipboard_standalone_impl.h', | |
23 'services/clipboard/main.cc', | |
24 ], | |
25 }, | |
26 { | |
27 # GN version: //mojo/services/clipboard:mojo_clipboard_unittests | |
28 'target_name': 'mojo_clipboard_unittests', | |
29 'type': 'executable', | |
30 'dependencies': [ | |
31 '../base/base.gyp:base', | |
32 '../base/base.gyp:test_support_base', | |
33 '../testing/gtest.gyp:gtest', | |
34 'edk/mojo_edk.gyp:mojo_run_all_unittests', | |
35 'edk/mojo_edk.gyp:mojo_system_impl', | |
36 'mojo_application_manager', | |
37 'mojo_base.gyp:mojo_application_chromium', | |
38 'services/public/mojo_services_public.gyp:mojo_clipboard_bindings', | |
39 'mojo_shell_test_support', | |
40 ], | |
41 'sources': [ | |
42 'services/clipboard/clipboard_standalone_unittest.cc', | |
43 ], | |
44 }, | |
45 { | |
46 # GN version: //mojo/services/gles2:lib | |
47 'target_name': 'mojo_gles2_lib', | |
48 'type': 'static_library', | |
49 'sources': [ | |
50 'services/gles2/command_buffer_type_conversions.cc', | |
51 'services/gles2/command_buffer_type_conversions.h', | |
52 'services/gles2/mojo_buffer_backing.cc', | |
53 'services/gles2/mojo_buffer_backing.h', | |
54 ], | |
55 'dependencies': [ | |
56 '../gpu/gpu.gyp:command_buffer_common', | |
57 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', | |
58 'public/mojo_public.gyp:mojo_cpp_bindings', | |
59 ], | |
60 'export_dependent_settings': [ | |
61 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', | |
62 'public/mojo_public.gyp:mojo_cpp_bindings', | |
63 ], | |
64 }, | |
65 { | |
66 # GN version: //mojo/services/gles2 | |
67 'target_name': 'mojo_gles2_service', | |
68 'type': 'static_library', | |
69 'dependencies': [ | |
70 '../base/base.gyp:base', | |
71 '../gpu/gpu.gyp:command_buffer_service', | |
72 '../ui/gfx/gfx.gyp:gfx', | |
73 '../ui/gfx/gfx.gyp:gfx_geometry', | |
74 '../ui/gl/gl.gyp:gl', | |
75 'mojo_gles2_lib', | |
76 ], | |
77 'export_dependent_settings': [ | |
78 'mojo_gles2_lib', | |
79 ], | |
80 'sources': [ | |
81 'services/gles2/command_buffer_impl.cc', | |
82 'services/gles2/command_buffer_impl.h', | |
83 ], | |
84 }, | |
85 { | |
86 # GN version: //mojo/services/native_viewport | |
87 'target_name': 'mojo_native_viewport_service_lib', | |
88 'type': 'static_library', | |
89 'dependencies': [ | |
90 '../base/base.gyp:base', | |
91 '../cc/cc.gyp:cc_surfaces', | |
92 '../skia/skia.gyp:skia', | |
93 '../ui/events/events.gyp:events', | |
94 '../ui/gfx/gfx.gyp:gfx', | |
95 '../ui/gfx/gfx.gyp:gfx_geometry', | |
96 'mojo_base.gyp:mojo_application_chromium', | |
97 'mojo_base.gyp:mojo_common_lib', | |
98 'mojo_geometry_lib', | |
99 'mojo_gles2_service', | |
100 'mojo_input_events_lib', | |
101 'mojo_native_viewport_service_args', | |
102 'mojo_surfaces_lib', | |
103 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', | |
104 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', | |
105 'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings'
, | |
106 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', | |
107 ], | |
108 'export_dependent_settings': [ | |
109 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', | |
110 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', | |
111 'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings'
, | |
112 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', | |
113 ], | |
114 'sources': [ | |
115 'services/native_viewport/gpu_impl.cc', | |
116 'services/native_viewport/gpu_impl.h', | |
117 'services/native_viewport/native_viewport_impl.cc', | |
118 'services/native_viewport/native_viewport_impl.h', | |
119 'services/native_viewport/platform_viewport.h', | |
120 'services/native_viewport/platform_viewport_android.cc', | |
121 'services/native_viewport/platform_viewport_headless.cc', | |
122 'services/native_viewport/platform_viewport_headless.h', | |
123 'services/native_viewport/platform_viewport_mac.mm', | |
124 'services/native_viewport/platform_viewport_ozone.cc', | |
125 'services/native_viewport/platform_viewport_stub.cc', | |
126 'services/native_viewport/platform_viewport_win.cc', | |
127 'services/native_viewport/platform_viewport_x11.cc', | |
128 'services/native_viewport/viewport_surface.cc', | |
129 'services/native_viewport/viewport_surface.h', | |
130 ], | |
131 'conditions': [ | |
132 ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', { | |
133 'sources!': [ | |
134 'services/native_viewport/platform_viewport_stub.cc', | |
135 ], | |
136 }], | |
137 ['OS=="android"', { | |
138 'dependencies': [ | |
139 'mojo_base.gyp:mojo_jni_headers', | |
140 ], | |
141 }], | |
142 ['OS=="win"', { | |
143 'dependencies': [ | |
144 '../ui/platform_window/win/win_window.gyp:win_window', | |
145 ], | |
146 }], | |
147 ['use_x11==1', { | |
148 'dependencies': [ | |
149 '../ui/platform_window/x11/x11_window.gyp:x11_window', | |
150 '../ui/events/platform/x11/x11_events_platform.gyp:x11_events_platfo
rm', | |
151 ], | |
152 }], | |
153 ['use_ozone==1', { | |
154 'dependencies': [ | |
155 '../ui/ozone/ozone.gyp:ozone', | |
156 ], | |
157 }], | |
158 ], | |
159 }, | |
160 { | |
161 'target_name': 'mojo_native_viewport_service', | |
162 'type': 'loadable_module', | |
163 'dependencies': [ | |
164 'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings'
, | |
165 'mojo_native_viewport_service_lib', | |
166 '<(mojo_system_for_loadable_module)', | |
167 ], | |
168 'export_dependent_settings': [ | |
169 'services/public/mojo_services_public.gyp:mojo_native_viewport_bindings'
, | |
170 ], | |
171 'sources': [ | |
172 'services/native_viewport/main.cc', | |
173 ], | |
174 }, | |
175 { | |
176 # GN version: //mojo/services/network:lib | |
177 'target_name': 'mojo_network_service_lib', | |
178 'type': 'static_library', | |
179 'dependencies': [ | |
180 '../base/base.gyp:base', | |
181 '../net/net.gyp:net', | |
182 '../url/url.gyp:url_lib', | |
183 'mojo_base.gyp:mojo_common_lib', | |
184 'mojo_base.gyp:mojo_application_chromium', | |
185 'services/public/mojo_services_public.gyp:mojo_network_bindings', | |
186 ], | |
187 'export_dependent_settings': [ | |
188 'services/public/mojo_services_public.gyp:mojo_network_bindings', | |
189 ], | |
190 'sources': [ | |
191 'services/network/cookie_store_impl.cc', | |
192 'services/network/cookie_store_impl.h', | |
193 'services/network/net_adapters.cc', | |
194 'services/network/net_adapters.h', | |
195 'services/network/net_address_type_converters.cc', | |
196 'services/network/net_address_type_converters.h', | |
197 'services/network/network_context.cc', | |
198 'services/network/network_context.h', | |
199 'services/network/network_service_impl.cc', | |
200 'services/network/network_service_impl.h', | |
201 'services/network/tcp_bound_socket_impl.cc', | |
202 'services/network/tcp_bound_socket_impl.h', | |
203 'services/network/tcp_connected_socket_impl.cc', | |
204 'services/network/tcp_connected_socket_impl.h', | |
205 'services/network/tcp_server_socket_impl.cc', | |
206 'services/network/tcp_server_socket_impl.h', | |
207 'services/network/udp_socket_impl.cc', | |
208 'services/network/udp_socket_impl.h', | |
209 'services/network/url_loader_impl.cc', | |
210 'services/network/url_loader_impl.h', | |
211 'services/network/web_socket_impl.cc', | |
212 'services/network/web_socket_impl.h', | |
213 'services/public/cpp/network/web_socket_read_queue.cc', | |
214 'services/public/cpp/network/web_socket_read_queue.h', | |
215 'services/public/cpp/network/web_socket_write_queue.cc', | |
216 'services/public/cpp/network/web_socket_write_queue.h', | |
217 ], | |
218 }, | |
219 { | |
220 # GN version: //mojo/services/network | |
221 'target_name': 'mojo_network_service', | |
222 'type': 'loadable_module', | |
223 'dependencies': [ | |
224 'services/public/mojo_services_public.gyp:mojo_network_bindings', | |
225 'mojo_network_service_lib', | |
226 '<(mojo_system_for_loadable_module)', | |
227 ], | |
228 'export_dependent_settings': [ | |
229 'services/public/mojo_services_public.gyp:mojo_network_bindings', | |
230 ], | |
231 'sources': [ | |
232 'services/network/main.cc', | |
233 ], | |
234 }, | |
235 { | |
236 # GN version: //mojo/services/network:unittests | |
237 'target_name': 'mojo_network_service_unittests', | |
238 'type': 'executable', | |
239 'dependencies': [ | |
240 '../base/base.gyp:base', | |
241 '../base/base.gyp:test_support_base', | |
242 '../testing/gtest.gyp:gtest', | |
243 'edk/mojo_edk.gyp:mojo_run_all_unittests', | |
244 'edk/mojo_edk.gyp:mojo_system_impl', | |
245 'mojo_application_manager', | |
246 'mojo_base.gyp:mojo_environment_chromium', | |
247 'mojo_network_service', | |
248 'mojo_shell_test_support', | |
249 'services/public/mojo_services_public.gyp:mojo_network_bindings', | |
250 ], | |
251 'sources': [ | |
252 'services/network/udp_socket_unittest.cc', | |
253 ], | |
254 }, | |
255 { | |
256 # GN version: //mojo/services/surfaces | |
257 'target_name': 'mojo_surfaces_service', | |
258 'type': 'loadable_module', | |
259 'dependencies': [ | |
260 '../base/base.gyp:base', | |
261 '../cc/cc.gyp:cc', | |
262 '../cc/cc.gyp:cc_surfaces', | |
263 '../ui/gfx/gfx.gyp:gfx_geometry', | |
264 'mojo_base.gyp:mojo_application_chromium', | |
265 'mojo_cc_support', | |
266 'mojo_geometry_lib', | |
267 'mojo_surfaces_lib', | |
268 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', | |
269 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', | |
270 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', | |
271 '<(mojo_system_for_loadable_module)', | |
272 ], | |
273 'includes': [ | |
274 'mojo_public_gles2_for_loadable_module.gypi', | |
275 ], | |
276 'sources': [ | |
277 'services/surfaces/surfaces_impl.cc', | |
278 'services/surfaces/surfaces_impl.h', | |
279 'services/surfaces/surfaces_service_application.cc', | |
280 'services/surfaces/surfaces_service_application.h', | |
281 'services/surfaces/surfaces_service_impl.cc', | |
282 'services/surfaces/surfaces_service_impl.h', | |
283 ], | |
284 }, | |
285 { | |
286 # GN version: //mojo/services/test_service:bindings | |
287 'target_name': 'mojo_test_service_bindings', | |
288 'type': 'static_library', | |
289 'sources': [ | |
290 # TODO(tim): Move to services/public/interfaces? | |
291 'services/test_service/test_request_tracker.mojom', | |
292 'services/test_service/test_service.mojom', | |
293 ], | |
294 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | |
295 'export_dependent_settings': [ | |
296 'public/mojo_public.gyp:mojo_cpp_bindings', | |
297 ], | |
298 'dependencies': [ | |
299 'public/mojo_public.gyp:mojo_cpp_bindings', | |
300 ], | |
301 }, | |
302 { | |
303 # GN version: //mojo/services/test_service | |
304 'target_name': 'mojo_test_app', | |
305 'type': 'loadable_module', | |
306 'dependencies': [ | |
307 '../base/base.gyp:base', | |
308 'mojo_test_service_bindings', | |
309 'public/mojo_public.gyp:mojo_application_standalone', | |
310 'public/mojo_public.gyp:mojo_utility', | |
311 '<(mojo_system_for_loadable_module)', | |
312 ], | |
313 'sources': [ | |
314 'services/test_service/test_request_tracker_client_impl.cc', | |
315 'services/test_service/test_request_tracker_client_impl.h', | |
316 'services/test_service/test_service_application.cc', | |
317 'services/test_service/test_service_application.h', | |
318 'services/test_service/test_service_impl.cc', | |
319 'services/test_service/test_service_impl.h', | |
320 'services/test_service/test_time_service_impl.cc', | |
321 'services/test_service/test_time_service_impl.h', | |
322 ], | |
323 }, | |
324 { | |
325 # GN version: //mojo/services/test_service:request_tracker | |
326 'target_name': 'mojo_test_request_tracker_app', | |
327 'type': 'loadable_module', | |
328 'dependencies': [ | |
329 '../base/base.gyp:base', | |
330 'mojo_test_service_bindings', | |
331 'public/mojo_public.gyp:mojo_application_standalone', | |
332 'public/mojo_public.gyp:mojo_utility', | |
333 '<(mojo_system_for_loadable_module)', | |
334 ], | |
335 'sources': [ | |
336 'services/test_service/test_request_tracker_client_impl.cc', | |
337 'services/test_service/test_request_tracker_client_impl.h', | |
338 'services/test_service/test_request_tracker_application.cc', | |
339 'services/test_service/test_request_tracker_application.h', | |
340 'services/test_service/test_time_service_impl.cc', | |
341 'services/test_service/test_time_service_impl.h', | |
342 'services/test_service/test_request_tracker_impl.cc', | |
343 'services/test_service/test_request_tracker_impl.h', | |
344 ], | |
345 }, | |
346 { | |
347 # GN version: //mojo/services/public/cpp/native_viewport:args | |
348 'target_name': 'mojo_native_viewport_service_args', | |
349 'type': 'static_library', | |
350 'sources': [ | |
351 'services/public/cpp/native_viewport/lib/args.cc', | |
352 'services/public/cpp/native_viewport/args.h', | |
353 ], | |
354 'include_dirs': [ | |
355 '..' | |
356 ], | |
357 }, | |
358 ], | |
359 } | |
OLD | NEW |