OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'target_defaults': { | 6 'target_defaults': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['mojo_shell_debug_url != ""', { | 8 ['mojo_shell_debug_url != ""', { |
9 'defines': [ | 9 'defines': [ |
10 'MOJO_SHELL_DEBUG=1', | 10 'MOJO_SHELL_DEBUG=1', |
(...skipping 22 matching lines...) Expand all Loading... |
33 'mojo_clipboard_unittests', | 33 'mojo_clipboard_unittests', |
34 'mojo_compositor_app', | 34 'mojo_compositor_app', |
35 'mojo_content_handler_demo', | 35 'mojo_content_handler_demo', |
36 'mojo_echo_client', | 36 'mojo_echo_client', |
37 'mojo_echo_service', | 37 'mojo_echo_service', |
38 'mojo_example_apptests', | 38 'mojo_example_apptests', |
39 'mojo_example_service', | 39 'mojo_example_service', |
40 'mojo_geometry_lib', | 40 'mojo_geometry_lib', |
41 'mojo_html_viewer', | 41 'mojo_html_viewer', |
42 'mojo_js', | 42 'mojo_js', |
43 'mojo_native_viewport_service_lib', | 43 'mojo_native_viewport_service', |
44 'mojo_network_service', | 44 'mojo_network_service', |
45 'mojo_pepper_container_app', | 45 'mojo_pepper_container_app', |
46 'mojo_png_viewer', | 46 'mojo_png_viewer', |
47 'mojo_sample_app', | 47 'mojo_sample_app', |
48 'mojo_shell', | 48 'mojo_shell', |
49 'mojo_shell_lib', | 49 'mojo_shell_lib', |
50 'mojo_shell_tests', | 50 'mojo_shell_tests', |
51 'mojo_surfaces_app', | 51 'mojo_surfaces_app', |
52 'mojo_surfaces_app', | 52 'mojo_surfaces_app', |
53 'mojo_surfaces_child_app', | 53 'mojo_surfaces_child_app', |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 ], | 141 ], |
142 }, | 142 }, |
143 { | 143 { |
144 # GN version: //mojo/shell:lib | 144 # GN version: //mojo/shell:lib |
145 'target_name': 'mojo_shell_lib', | 145 'target_name': 'mojo_shell_lib', |
146 'type': 'static_library', | 146 'type': 'static_library', |
147 'dependencies': [ | 147 'dependencies': [ |
148 '../base/base.gyp:base', | 148 '../base/base.gyp:base', |
149 '../base/base.gyp:base_static', | 149 '../base/base.gyp:base_static', |
150 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 150 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
151 '../net/net.gyp:net', | |
152 '../url/url.gyp:url_lib', | |
153 'mojo_application_manager', | 151 'mojo_application_manager', |
154 'mojo_base.gyp:mojo_application_bindings', | 152 'mojo_base.gyp:mojo_application_bindings', |
155 'mojo_base.gyp:mojo_common_lib', | 153 'mojo_base.gyp:mojo_common_lib', |
156 'mojo_base.gyp:mojo_gles2_impl', | 154 'mojo_base.gyp:mojo_gles2_impl', |
157 'mojo_base.gyp:mojo_system_impl', | 155 'mojo_base.gyp:mojo_system_impl', |
158 'mojo_base.gyp:mojo_application_chromium', | 156 'mojo_base.gyp:mojo_application_chromium', |
159 'mojo_external_service_bindings', | 157 'mojo_external_service_bindings', |
160 'mojo_native_viewport_service_lib', | |
161 'mojo_network_bindings', | 158 'mojo_network_bindings', |
162 'mojo_spy', | 159 'mojo_spy', |
163 ], | 160 ], |
164 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 161 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
165 'sources': [ | 162 'sources': [ |
166 'shell/app_child_process.cc', | 163 'shell/app_child_process.cc', |
167 'shell/app_child_process.h', | 164 'shell/app_child_process.h', |
168 'shell/app_child_process.mojom', | 165 'shell/app_child_process.mojom', |
169 'shell/app_child_process_host.cc', | 166 'shell/app_child_process_host.cc', |
170 'shell/app_child_process_host.h', | 167 'shell/app_child_process_host.h', |
(...skipping 17 matching lines...) Expand all Loading... |
188 'shell/out_of_process_dynamic_service_runner.cc', | 185 'shell/out_of_process_dynamic_service_runner.cc', |
189 'shell/out_of_process_dynamic_service_runner.h', | 186 'shell/out_of_process_dynamic_service_runner.h', |
190 'shell/switches.cc', | 187 'shell/switches.cc', |
191 'shell/switches.h', | 188 'shell/switches.h', |
192 'shell/task_runners.cc', | 189 'shell/task_runners.cc', |
193 'shell/task_runners.h', | 190 'shell/task_runners.h', |
194 'shell/test_child_process.cc', | 191 'shell/test_child_process.cc', |
195 'shell/test_child_process.h', | 192 'shell/test_child_process.h', |
196 'shell/ui_application_loader_android.cc', | 193 'shell/ui_application_loader_android.cc', |
197 'shell/ui_application_loader_android.h', | 194 'shell/ui_application_loader_android.h', |
198 'shell/view_manager_loader.cc', | |
199 'shell/view_manager_loader.h', | |
200 ], | 195 ], |
201 'conditions': [ | 196 'conditions': [ |
| 197 ['component=="shared_library"', { |
| 198 'dependencies': [ |
| 199 '../ui/gl/gl.gyp:gl', |
| 200 ], |
| 201 }], |
202 ['OS=="linux"', { | 202 ['OS=="linux"', { |
203 'dependencies': [ | 203 'dependencies': [ |
204 '../build/linux/system.gyp:dbus', | 204 '../build/linux/system.gyp:dbus', |
205 '../dbus/dbus.gyp:dbus', | 205 '../dbus/dbus.gyp:dbus', |
206 ], | 206 ], |
207 }], | 207 }], |
208 ['OS=="android"', { | 208 ['OS=="android"', { |
209 'dependencies': [ | 209 'dependencies': [ |
210 'mojo_network_service_lib', | 210 'mojo_network_service_lib', |
| 211 'mojo_native_viewport_service_lib', |
211 ], | 212 ], |
212 'sources': [ | 213 'sources': [ |
213 'shell/network_application_loader.cc', | 214 'shell/network_application_loader.cc', |
214 'shell/network_application_loader.h', | 215 'shell/network_application_loader.h', |
215 ], | 216 ], |
216 }], | 217 }], |
217 ['use_aura==1', { | |
218 'dependencies': [ | |
219 # These are only necessary as long as we hard code use of ViewManage
r. | |
220 '../skia/skia.gyp:skia', | |
221 'mojo_view_manager', | |
222 'mojo_view_manager_bindings', | |
223 ], | |
224 }, { # use_aura==0 | |
225 'sources!': [ | |
226 'shell/view_manager_loader.cc', | |
227 'shell/view_manager_loader.h', | |
228 ], | |
229 }], | |
230 ], | 218 ], |
231 }, | 219 }, |
232 { | 220 { |
233 # GN version: //mojo/shell:test_support | 221 # GN version: //mojo/shell:test_support |
234 'target_name': 'mojo_shell_test_support', | 222 'target_name': 'mojo_shell_test_support', |
235 'type': 'static_library', | 223 'type': 'static_library', |
236 'dependencies': [ | 224 'dependencies': [ |
237 '../base/base.gyp:base', | |
238 '../base/base.gyp:base_static', | 225 '../base/base.gyp:base_static', |
239 '../url/url.gyp:url_lib', | |
240 'mojo_application_manager', | |
241 'mojo_base.gyp:mojo_system_impl', | 226 'mojo_base.gyp:mojo_system_impl', |
242 'mojo_shell_lib', | 227 'mojo_shell_lib', |
243 ], | 228 ], |
244 'sources': [ | 229 'sources': [ |
245 'shell/shell_test_helper.cc', | 230 'shell/shell_test_helper.cc', |
246 'shell/shell_test_helper.h', | 231 'shell/shell_test_helper.h', |
247 ], | 232 ], |
248 }, | 233 }, |
249 { | 234 { |
250 # GN version: //mojo/shell | 235 # GN version: //mojo/shell |
251 'target_name': 'mojo_shell', | 236 'target_name': 'mojo_shell', |
252 'type': 'executable', | 237 'type': 'executable', |
253 'dependencies': [ | 238 'dependencies': [ |
254 '../base/base.gyp:base', | 239 '../base/base.gyp:base', |
255 '../ui/gl/gl.gyp:gl', | |
256 '../url/url.gyp:url_lib', | |
257 'mojo_application_manager', | |
258 'mojo_base.gyp:mojo_common_lib', | 240 'mojo_base.gyp:mojo_common_lib', |
259 'mojo_base.gyp:mojo_environment_chromium', | 241 'mojo_base.gyp:mojo_environment_chromium', |
260 'mojo_base.gyp:mojo_system_impl', | |
261 'mojo_shell_lib', | 242 'mojo_shell_lib', |
262 ], | 243 ], |
263 'conditions': [ | |
264 ['use_ozone==1', { | |
265 'dependencies': [ | |
266 '../ui/ozone/ozone.gyp:ozone', | |
267 ], | |
268 }], | |
269 ], | |
270 'sources': [ | 244 'sources': [ |
271 'shell/desktop/mojo_main.cc', | 245 'shell/desktop/mojo_main.cc', |
272 ], | 246 ], |
| 247 'conditions': [ |
| 248 ['component=="shared_library"', { |
| 249 'dependencies': [ |
| 250 '../ui/gfx/gfx.gyp:gfx', |
| 251 ], |
| 252 }], |
| 253 ], |
273 }, | 254 }, |
274 { | 255 { |
275 # GN version: //mojo/shell:mojo_shell_tests | 256 # GN version: //mojo/shell:mojo_shell_tests |
276 'target_name': 'mojo_shell_tests', | 257 'target_name': 'mojo_shell_tests', |
277 'type': '<(gtest_target_type)', | 258 'type': '<(gtest_target_type)', |
278 'dependencies': [ | 259 'dependencies': [ |
279 '../base/base.gyp:base', | 260 '../base/base.gyp:base', |
280 '../base/base.gyp:base_i18n', | 261 '../base/base.gyp:base_i18n', |
281 '../base/base.gyp:test_support_base', | 262 '../base/base.gyp:test_support_base', |
282 '../testing/gtest.gyp:gtest', | 263 '../testing/gtest.gyp:gtest', |
283 '../net/net.gyp:net_test_support', | 264 '../net/net.gyp:net_test_support', |
284 # TODO(vtl): We don't currently need this, but I imagine we will soon. | |
285 # '../ui/gl/gl.gyp:gl', | |
286 '../url/url.gyp:url_lib', | 265 '../url/url.gyp:url_lib', |
287 'mojo_application_manager', | 266 'mojo_application_manager', |
288 'mojo_base.gyp:mojo_common_lib', | 267 'mojo_base.gyp:mojo_common_lib', |
289 'mojo_base.gyp:mojo_environment_chromium', | 268 'mojo_base.gyp:mojo_environment_chromium', |
290 'mojo_base.gyp:mojo_system_impl', | 269 'mojo_base.gyp:mojo_system_impl', |
291 'mojo_shell_lib', | 270 'mojo_shell_lib', |
292 'mojo_test_app', | 271 'mojo_test_app', |
293 'mojo_test_request_tracker_app', | 272 'mojo_test_request_tracker_app', |
294 'mojo_test_service_bindings', | 273 'mojo_test_service_bindings', |
295 ], | 274 ], |
(...skipping 17 matching lines...) Expand all Loading... |
313 { | 292 { |
314 # GN version: //mojo/application_manager | 293 # GN version: //mojo/application_manager |
315 'target_name': 'mojo_application_manager', | 294 'target_name': 'mojo_application_manager', |
316 'type': '<(component)', | 295 'type': '<(component)', |
317 'defines': [ | 296 'defines': [ |
318 'MOJO_APPLICATION_MANAGER_IMPLEMENTATION', | 297 'MOJO_APPLICATION_MANAGER_IMPLEMENTATION', |
319 ], | 298 ], |
320 'dependencies': [ | 299 'dependencies': [ |
321 '../base/base.gyp:base', | 300 '../base/base.gyp:base', |
322 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 301 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
323 '../net/net.gyp:net', | |
324 '../url/url.gyp:url_lib', | 302 '../url/url.gyp:url_lib', |
325 'mojo_content_handler_bindings', | 303 'mojo_content_handler_bindings', |
326 'mojo_network_bindings', | 304 'mojo_network_bindings', |
327 'mojo_base.gyp:mojo_application_bindings', | 305 'mojo_base.gyp:mojo_application_bindings', |
328 'mojo_base.gyp:mojo_common_lib', | 306 'mojo_base.gyp:mojo_common_lib', |
329 'mojo_base.gyp:mojo_environment_chromium', | 307 'mojo_base.gyp:mojo_environment_chromium', |
330 '<(mojo_system_for_component)', | 308 '<(mojo_system_for_component)', |
331 ], | 309 ], |
332 'sources': [ | 310 'sources': [ |
333 'application_manager/application_loader.cc', | 311 'application_manager/application_loader.cc', |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 { | 453 { |
476 # GN version: //mojo/aura | 454 # GN version: //mojo/aura |
477 'target_name': 'mojo_aura_support', | 455 'target_name': 'mojo_aura_support', |
478 'type': 'static_library', | 456 'type': 'static_library', |
479 'dependencies': [ | 457 'dependencies': [ |
480 '../cc/cc.gyp:cc', | 458 '../cc/cc.gyp:cc', |
481 '../ui/aura/aura.gyp:aura', | 459 '../ui/aura/aura.gyp:aura', |
482 '../ui/compositor/compositor.gyp:compositor', | 460 '../ui/compositor/compositor.gyp:compositor', |
483 '../ui/events/events.gyp:events', | 461 '../ui/events/events.gyp:events', |
484 '../ui/events/events.gyp:events_base', | 462 '../ui/events/events.gyp:events_base', |
485 '../ui/gl/gl.gyp:gl', | |
486 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | 463 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
487 'mojo_cc_support', | 464 'mojo_cc_support', |
488 'mojo_native_viewport_bindings', | 465 'mojo_native_viewport_bindings', |
489 ], | 466 ], |
490 'includes': [ | 467 'includes': [ |
491 'mojo_public_gles2_for_loadable_module.gypi', | 468 'mojo_public_gles2_for_loadable_module.gypi', |
492 ], | 469 ], |
493 'sources': [ | 470 'sources': [ |
494 'aura/aura_init.cc', | 471 'aura/aura_init.cc', |
495 'aura/aura_init.h', | 472 'aura/aura_init.h', |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 'mojo_python_unittests.isolate', | 617 'mojo_python_unittests.isolate', |
641 ], | 618 ], |
642 'sources': [ | 619 'sources': [ |
643 'mojo_python_unittests.isolate', | 620 'mojo_python_unittests.isolate', |
644 ], | 621 ], |
645 }, | 622 }, |
646 ], | 623 ], |
647 }], | 624 }], |
648 ], | 625 ], |
649 } | 626 } |
OLD | NEW |