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', | 43 'mojo_native_viewport_service_lib', |
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', |
151 'mojo_application_manager', | 153 'mojo_application_manager', |
152 'mojo_base.gyp:mojo_application_bindings', | 154 'mojo_base.gyp:mojo_application_bindings', |
153 'mojo_base.gyp:mojo_common_lib', | 155 'mojo_base.gyp:mojo_common_lib', |
154 'mojo_base.gyp:mojo_gles2_impl', | 156 'mojo_base.gyp:mojo_gles2_impl', |
155 'mojo_base.gyp:mojo_system_impl', | 157 'mojo_base.gyp:mojo_system_impl', |
156 'mojo_base.gyp:mojo_application_chromium', | 158 'mojo_base.gyp:mojo_application_chromium', |
157 'mojo_external_service_bindings', | 159 'mojo_external_service_bindings', |
| 160 'mojo_native_viewport_service_lib', |
158 'mojo_network_bindings', | 161 'mojo_network_bindings', |
159 'mojo_spy', | 162 'mojo_spy', |
160 ], | 163 ], |
161 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 164 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
162 'sources': [ | 165 'sources': [ |
163 'shell/app_child_process.cc', | 166 'shell/app_child_process.cc', |
164 'shell/app_child_process.h', | 167 'shell/app_child_process.h', |
165 'shell/app_child_process.mojom', | 168 'shell/app_child_process.mojom', |
166 'shell/app_child_process_host.cc', | 169 'shell/app_child_process_host.cc', |
167 'shell/app_child_process_host.h', | 170 'shell/app_child_process_host.h', |
(...skipping 17 matching lines...) Expand all Loading... |
185 'shell/out_of_process_dynamic_service_runner.cc', | 188 'shell/out_of_process_dynamic_service_runner.cc', |
186 'shell/out_of_process_dynamic_service_runner.h', | 189 'shell/out_of_process_dynamic_service_runner.h', |
187 'shell/switches.cc', | 190 'shell/switches.cc', |
188 'shell/switches.h', | 191 'shell/switches.h', |
189 'shell/task_runners.cc', | 192 'shell/task_runners.cc', |
190 'shell/task_runners.h', | 193 'shell/task_runners.h', |
191 'shell/test_child_process.cc', | 194 'shell/test_child_process.cc', |
192 'shell/test_child_process.h', | 195 'shell/test_child_process.h', |
193 'shell/ui_application_loader_android.cc', | 196 'shell/ui_application_loader_android.cc', |
194 'shell/ui_application_loader_android.h', | 197 'shell/ui_application_loader_android.h', |
| 198 'shell/view_manager_loader.cc', |
| 199 'shell/view_manager_loader.h', |
195 ], | 200 ], |
196 'conditions': [ | 201 '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', | |
212 ], | 211 ], |
213 'sources': [ | 212 'sources': [ |
214 'shell/network_application_loader.cc', | 213 'shell/network_application_loader.cc', |
215 'shell/network_application_loader.h', | 214 'shell/network_application_loader.h', |
216 ], | 215 ], |
217 }], | 216 }], |
| 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 }], |
218 ], | 230 ], |
219 }, | 231 }, |
220 { | 232 { |
221 # GN version: //mojo/shell:test_support | 233 # GN version: //mojo/shell:test_support |
222 'target_name': 'mojo_shell_test_support', | 234 'target_name': 'mojo_shell_test_support', |
223 'type': 'static_library', | 235 'type': 'static_library', |
224 'dependencies': [ | 236 'dependencies': [ |
| 237 '../base/base.gyp:base', |
225 '../base/base.gyp:base_static', | 238 '../base/base.gyp:base_static', |
| 239 '../url/url.gyp:url_lib', |
| 240 'mojo_application_manager', |
226 'mojo_base.gyp:mojo_system_impl', | 241 'mojo_base.gyp:mojo_system_impl', |
227 'mojo_shell_lib', | 242 'mojo_shell_lib', |
228 ], | 243 ], |
229 'sources': [ | 244 'sources': [ |
230 'shell/shell_test_helper.cc', | 245 'shell/shell_test_helper.cc', |
231 'shell/shell_test_helper.h', | 246 'shell/shell_test_helper.h', |
232 ], | 247 ], |
233 }, | 248 }, |
234 { | 249 { |
235 # GN version: //mojo/shell | 250 # GN version: //mojo/shell |
236 'target_name': 'mojo_shell', | 251 'target_name': 'mojo_shell', |
237 'type': 'executable', | 252 'type': 'executable', |
238 'dependencies': [ | 253 'dependencies': [ |
239 '../base/base.gyp:base', | 254 '../base/base.gyp:base', |
| 255 '../ui/gl/gl.gyp:gl', |
| 256 '../url/url.gyp:url_lib', |
| 257 'mojo_application_manager', |
240 'mojo_base.gyp:mojo_common_lib', | 258 'mojo_base.gyp:mojo_common_lib', |
241 'mojo_base.gyp:mojo_environment_chromium', | 259 'mojo_base.gyp:mojo_environment_chromium', |
| 260 'mojo_base.gyp:mojo_system_impl', |
242 'mojo_shell_lib', | 261 'mojo_shell_lib', |
243 ], | 262 ], |
| 263 'conditions': [ |
| 264 ['use_ozone==1', { |
| 265 'dependencies': [ |
| 266 '../ui/ozone/ozone.gyp:ozone', |
| 267 ], |
| 268 }], |
| 269 ], |
244 'sources': [ | 270 'sources': [ |
245 'shell/desktop/mojo_main.cc', | 271 'shell/desktop/mojo_main.cc', |
246 ], | 272 ], |
247 'conditions': [ | |
248 ['component=="shared_library"', { | |
249 'dependencies': [ | |
250 '../ui/gfx/gfx.gyp:gfx', | |
251 ], | |
252 }], | |
253 ], | |
254 }, | 273 }, |
255 { | 274 { |
256 # GN version: //mojo/shell:mojo_shell_tests | 275 # GN version: //mojo/shell:mojo_shell_tests |
257 'target_name': 'mojo_shell_tests', | 276 'target_name': 'mojo_shell_tests', |
258 'type': '<(gtest_target_type)', | 277 'type': '<(gtest_target_type)', |
259 'dependencies': [ | 278 'dependencies': [ |
260 '../base/base.gyp:base', | 279 '../base/base.gyp:base', |
261 '../base/base.gyp:base_i18n', | 280 '../base/base.gyp:base_i18n', |
262 '../base/base.gyp:test_support_base', | 281 '../base/base.gyp:test_support_base', |
263 '../testing/gtest.gyp:gtest', | 282 '../testing/gtest.gyp:gtest', |
264 '../net/net.gyp:net_test_support', | 283 '../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', |
265 '../url/url.gyp:url_lib', | 286 '../url/url.gyp:url_lib', |
266 'mojo_application_manager', | 287 'mojo_application_manager', |
267 'mojo_base.gyp:mojo_common_lib', | 288 'mojo_base.gyp:mojo_common_lib', |
268 'mojo_base.gyp:mojo_environment_chromium', | 289 'mojo_base.gyp:mojo_environment_chromium', |
269 'mojo_base.gyp:mojo_system_impl', | 290 'mojo_base.gyp:mojo_system_impl', |
270 'mojo_shell_lib', | 291 'mojo_shell_lib', |
271 'mojo_test_app', | 292 'mojo_test_app', |
272 'mojo_test_request_tracker_app', | 293 'mojo_test_request_tracker_app', |
273 'mojo_test_service_bindings', | 294 'mojo_test_service_bindings', |
274 ], | 295 ], |
(...skipping 17 matching lines...) Expand all Loading... |
292 { | 313 { |
293 # GN version: //mojo/application_manager | 314 # GN version: //mojo/application_manager |
294 'target_name': 'mojo_application_manager', | 315 'target_name': 'mojo_application_manager', |
295 'type': '<(component)', | 316 'type': '<(component)', |
296 'defines': [ | 317 'defines': [ |
297 'MOJO_APPLICATION_MANAGER_IMPLEMENTATION', | 318 'MOJO_APPLICATION_MANAGER_IMPLEMENTATION', |
298 ], | 319 ], |
299 'dependencies': [ | 320 'dependencies': [ |
300 '../base/base.gyp:base', | 321 '../base/base.gyp:base', |
301 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 322 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 323 '../net/net.gyp:net', |
302 '../url/url.gyp:url_lib', | 324 '../url/url.gyp:url_lib', |
303 'mojo_content_handler_bindings', | 325 'mojo_content_handler_bindings', |
304 'mojo_network_bindings', | 326 'mojo_network_bindings', |
305 'mojo_base.gyp:mojo_application_bindings', | 327 'mojo_base.gyp:mojo_application_bindings', |
306 'mojo_base.gyp:mojo_common_lib', | 328 'mojo_base.gyp:mojo_common_lib', |
307 'mojo_base.gyp:mojo_environment_chromium', | 329 'mojo_base.gyp:mojo_environment_chromium', |
308 '<(mojo_system_for_component)', | 330 '<(mojo_system_for_component)', |
309 ], | 331 ], |
310 'sources': [ | 332 'sources': [ |
311 'application_manager/application_loader.cc', | 333 'application_manager/application_loader.cc', |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 { | 475 { |
454 # GN version: //mojo/aura | 476 # GN version: //mojo/aura |
455 'target_name': 'mojo_aura_support', | 477 'target_name': 'mojo_aura_support', |
456 'type': 'static_library', | 478 'type': 'static_library', |
457 'dependencies': [ | 479 'dependencies': [ |
458 '../cc/cc.gyp:cc', | 480 '../cc/cc.gyp:cc', |
459 '../ui/aura/aura.gyp:aura', | 481 '../ui/aura/aura.gyp:aura', |
460 '../ui/compositor/compositor.gyp:compositor', | 482 '../ui/compositor/compositor.gyp:compositor', |
461 '../ui/events/events.gyp:events', | 483 '../ui/events/events.gyp:events', |
462 '../ui/events/events.gyp:events_base', | 484 '../ui/events/events.gyp:events_base', |
| 485 '../ui/gl/gl.gyp:gl', |
463 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | 486 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
464 'mojo_cc_support', | 487 'mojo_cc_support', |
465 'mojo_native_viewport_bindings', | 488 'mojo_native_viewport_bindings', |
466 ], | 489 ], |
467 'includes': [ | 490 'includes': [ |
468 'mojo_public_gles2_for_loadable_module.gypi', | 491 'mojo_public_gles2_for_loadable_module.gypi', |
469 ], | 492 ], |
470 'sources': [ | 493 'sources': [ |
471 'aura/aura_init.cc', | 494 'aura/aura_init.cc', |
472 'aura/aura_init.h', | 495 'aura/aura_init.h', |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 'mojo_python_unittests.isolate', | 640 'mojo_python_unittests.isolate', |
618 ], | 641 ], |
619 'sources': [ | 642 'sources': [ |
620 'mojo_python_unittests.isolate', | 643 'mojo_python_unittests.isolate', |
621 ], | 644 ], |
622 }, | 645 }, |
623 ], | 646 ], |
624 }], | 647 }], |
625 ], | 648 ], |
626 } | 649 } |
OLD | NEW |