| 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', |
| 11 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"', | 11 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"', |
| 12 ], | 12 ], |
| 13 }], | 13 }], |
| 14 ], | 14 ], |
| 15 }, | 15 }, |
| 16 'variables': { | |
| 17 'chromium_code': 1, | |
| 18 'mojo_shell_debug_url%': "", | |
| 19 'conditions': [ | |
| 20 # | |
| 21 # The following mojo_system-prefixed variables are used to express a | |
| 22 # dependency on the mojo system APIs. | |
| 23 # | |
| 24 # In a component == "shared_library" build, everything can link against | |
| 25 # mojo_system_impl because it is built as a shared library. However, in a | |
| 26 # component != "shared_library" build, mojo_system_impl is linked into an | |
| 27 # executable (e.g., mojo_shell), and must be injected into other shared | |
| 28 # libraries (i.e., Mojo Apps) that need the mojo system API. | |
| 29 # | |
| 30 # For component targets, add <(mojo_system_for_component) to your | |
| 31 # dependencies section. For loadable module targets (e.g., a Mojo App), | |
| 32 # add <(mojo_system_for_loadable_module) to your dependencies section. | |
| 33 # | |
| 34 # NOTE: component != "shared_library" implies that we are generating a | |
| 35 # static library, and in that case, it is expected that the target | |
| 36 # listing the component as a dependency will specify either mojo_system | |
| 37 # or mojo_system_impl to link against. This enables multiple targets to | |
| 38 # link against the same component library without having to agree on | |
| 39 # which Mojo system library they are using. | |
| 40 # | |
| 41 ['component=="shared_library"', { | |
| 42 'mojo_system_for_component': "mojo_system_impl", | |
| 43 'mojo_system_for_loadable_module': "mojo_system_impl", | |
| 44 }, { | |
| 45 'mojo_system_for_component': "mojo_none", | |
| 46 'mojo_system_for_loadable_module': "mojo_system", | |
| 47 }], | |
| 48 ], | |
| 49 }, | |
| 50 'includes': [ | 16 'includes': [ |
| 51 'mojo_apps.gypi', | 17 'mojo_apps.gypi', |
| 52 'mojo_examples.gypi', | 18 'mojo_examples.gypi', |
| 53 'mojo_public.gypi', | |
| 54 'mojo_public_tests.gypi', | |
| 55 'mojo_services.gypi', | 19 'mojo_services.gypi', |
| 20 'mojo_variables.gypi', |
| 56 ], | 21 ], |
| 57 'targets': [ | 22 'targets': [ |
| 58 { | 23 { |
| 59 'target_name': 'mojo', | 24 'target_name': 'mojo', |
| 60 'type': 'none', | 25 'type': 'none', |
| 61 'dependencies': [ | 26 'dependencies': [ |
| 27 'mojo_base.gyp:mojo_base', |
| 62 'mojo_apps_js_unittests', | 28 'mojo_apps_js_unittests', |
| 63 'mojo_compositor_app', | 29 'mojo_compositor_app', |
| 64 'mojo_common_lib', | |
| 65 'mojo_common_unittests', | |
| 66 'mojo_cpp_bindings', | |
| 67 'mojo_echo_client', | 30 'mojo_echo_client', |
| 68 'mojo_echo_service', | 31 'mojo_echo_service', |
| 69 'mojo_geometry_lib', | 32 'mojo_geometry_lib', |
| 70 'mojo_html_viewer', | 33 'mojo_html_viewer', |
| 71 'mojo_js', | 34 'mojo_js', |
| 72 'mojo_js_bindings', | |
| 73 'mojo_js_unittests', | |
| 74 'mojo_launcher', | 35 'mojo_launcher', |
| 75 'mojo_message_generator', | |
| 76 'mojo_native_viewport_service', | 36 'mojo_native_viewport_service', |
| 77 'mojo_network_service', | 37 'mojo_network_service', |
| 78 'mojo_pepper_container_app', | 38 'mojo_pepper_container_app', |
| 79 'mojo_png_viewer', | 39 'mojo_png_viewer', |
| 80 'mojo_public_application_unittests', | |
| 81 'mojo_public_test_utils', | |
| 82 'mojo_public_bindings_unittests', | |
| 83 'mojo_public_environment_unittests', | |
| 84 'mojo_public_system_perftests', | |
| 85 'mojo_public_system_unittests', | |
| 86 'mojo_public_utility_unittests', | |
| 87 'mojo_sample_app', | 40 'mojo_sample_app', |
| 88 'mojo_service_manager', | 41 'mojo_service_manager', |
| 89 'mojo_service_manager_unittests', | 42 'mojo_service_manager_unittests', |
| 90 'mojo_shell', | 43 'mojo_shell', |
| 91 'mojo_shell_lib', | 44 'mojo_shell_lib', |
| 92 'mojo_shell_tests', | 45 'mojo_shell_tests', |
| 93 'mojo_surfaces_app', | 46 'mojo_surfaces_app', |
| 94 'mojo_surfaces_child_app', | 47 'mojo_surfaces_child_app', |
| 95 'mojo_surfaces_lib', | 48 'mojo_surfaces_lib', |
| 96 'mojo_surfaces_lib_unittests', | 49 'mojo_surfaces_lib_unittests', |
| 97 'mojo_surfaces_app', | 50 'mojo_surfaces_app', |
| 98 'mojo_surfaces_service', | 51 'mojo_surfaces_service', |
| 99 'mojo_system', | |
| 100 'mojo_system_impl', | |
| 101 'mojo_system_unittests', | |
| 102 'mojo_test_app', | 52 'mojo_test_app', |
| 103 'mojo_test_request_tracker_app', | 53 'mojo_test_request_tracker_app', |
| 104 'mojo_utility', | |
| 105 'mojo_view_manager_lib', | 54 'mojo_view_manager_lib', |
| 106 'mojo_view_manager_lib_unittests', | 55 'mojo_view_manager_lib_unittests', |
| 107 'mojo_wget', | 56 'mojo_wget', |
| 108 ], | 57 ], |
| 109 'conditions': [ | 58 'conditions': [ |
| 110 ['use_aura==1', { | 59 ['use_aura==1', { |
| 111 'dependencies': [ | 60 'dependencies': [ |
| 112 'mojo_aura_demo', | 61 'mojo_aura_demo', |
| 113 'mojo_aura_demo_init', | 62 'mojo_aura_demo_init', |
| 114 'mojo_browser', | 63 'mojo_browser', |
| 115 'mojo_core_window_manager', | 64 'mojo_core_window_manager', |
| 116 'mojo_core_window_manager_unittests', | 65 'mojo_core_window_manager_unittests', |
| 117 'mojo_demo_launcher', | 66 'mojo_demo_launcher', |
| 118 'mojo_embedded_app', | 67 'mojo_embedded_app', |
| 119 'mojo_keyboard', | 68 'mojo_keyboard', |
| 120 'mojo_media_viewer', | 69 'mojo_media_viewer', |
| 121 'mojo_nesting_app', | 70 'mojo_nesting_app', |
| 122 'mojo_window_manager', | 71 'mojo_window_manager', |
| 123 'mojo_wm_flow_app', | 72 'mojo_wm_flow_app', |
| 124 'mojo_wm_flow_init', | 73 'mojo_wm_flow_init', |
| 125 'mojo_wm_flow_wm', | 74 'mojo_wm_flow_wm', |
| 126 'mojo_view_manager', | 75 'mojo_view_manager', |
| 127 'mojo_view_manager_unittests', | 76 'mojo_view_manager_unittests', |
| 128 ], | 77 ], |
| 129 }], | 78 }], |
| 130 ['OS == "android"', { | |
| 131 'dependencies': [ | |
| 132 'mojo_bindings_java', | |
| 133 'mojo_public_java', | |
| 134 'mojo_system_java', | |
| 135 'libmojo_system_java', | |
| 136 'mojo_test_apk', | |
| 137 ], | |
| 138 }], | |
| 139 ['OS == "linux"', { | 79 ['OS == "linux"', { |
| 140 'dependencies': [ | 80 'dependencies': [ |
| 141 'mojo_dbus_echo', | 81 'mojo_dbus_echo', |
| 142 'mojo_dbus_echo_service', | 82 'mojo_dbus_echo_service', |
| 143 ], | 83 ], |
| 144 }], | 84 }], |
| 145 ] | 85 ] |
| 146 }, | 86 }, |
| 147 { | 87 { |
| 148 'target_name': 'mojo_none', | |
| 149 'type': 'none', | |
| 150 }, | |
| 151 { | |
| 152 # GN version: //mojo/shell:external_service_bindings | 88 # GN version: //mojo/shell:external_service_bindings |
| 153 'target_name': 'mojo_external_service_bindings', | 89 'target_name': 'mojo_external_service_bindings', |
| 154 'type': 'static_library', | 90 'type': 'static_library', |
| 155 'sources': [ | 91 'sources': [ |
| 156 'shell/external_service.mojom', | 92 'shell/external_service.mojom', |
| 157 ], | 93 ], |
| 158 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 94 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 159 'export_dependent_settings': [ | 95 'export_dependent_settings': [ |
| 160 'mojo_cpp_bindings', | 96 'mojo_base.gyp:mojo_cpp_bindings', |
| 161 ], | 97 ], |
| 162 'dependencies': [ | 98 'dependencies': [ |
| 163 'mojo_cpp_bindings', | 99 'mojo_base.gyp:mojo_cpp_bindings', |
| 164 ], | 100 ], |
| 165 }, | 101 }, |
| 166 { | 102 { |
| 167 'target_name': 'mojo_run_all_unittests', | |
| 168 'type': 'static_library', | |
| 169 'dependencies': [ | |
| 170 '../base/base.gyp:base', | |
| 171 '../base/base.gyp:test_support_base', | |
| 172 '../testing/gtest.gyp:gtest', | |
| 173 'mojo_system_impl', | |
| 174 'mojo_test_support', | |
| 175 'mojo_test_support_impl', | |
| 176 ], | |
| 177 'sources': [ | |
| 178 'common/test/run_all_unittests.cc', | |
| 179 ], | |
| 180 }, | |
| 181 { | |
| 182 'target_name': 'mojo_run_all_perftests', | |
| 183 'type': 'static_library', | |
| 184 'dependencies': [ | |
| 185 '../base/base.gyp:test_support_base', | |
| 186 'mojo_system_impl', | |
| 187 'mojo_test_support', | |
| 188 'mojo_test_support_impl', | |
| 189 ], | |
| 190 'sources': [ | |
| 191 'common/test/run_all_perftests.cc', | |
| 192 ], | |
| 193 }, | |
| 194 { | |
| 195 # GN version: //mojo/system | |
| 196 'target_name': 'mojo_system_impl', | |
| 197 'type': '<(component)', | |
| 198 'dependencies': [ | |
| 199 '../base/base.gyp:base', | |
| 200 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 201 ], | |
| 202 'defines': [ | |
| 203 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | |
| 204 'MOJO_SYSTEM_IMPLEMENTATION', | |
| 205 'MOJO_USE_SYSTEM_IMPL', | |
| 206 ], | |
| 207 'sources': [ | |
| 208 'embedder/channel_init.cc', | |
| 209 'embedder/channel_init.h', | |
| 210 'embedder/embedder.cc', | |
| 211 'embedder/embedder.h', | |
| 212 'embedder/platform_channel_pair.cc', | |
| 213 'embedder/platform_channel_pair.h', | |
| 214 'embedder/platform_channel_pair_posix.cc', | |
| 215 'embedder/platform_channel_pair_win.cc', | |
| 216 'embedder/platform_channel_utils_posix.cc', | |
| 217 'embedder/platform_channel_utils_posix.h', | |
| 218 'embedder/platform_handle.cc', | |
| 219 'embedder/platform_handle.h', | |
| 220 'embedder/platform_handle_utils.h', | |
| 221 'embedder/platform_handle_utils_posix.cc', | |
| 222 'embedder/platform_handle_utils_win.cc', | |
| 223 'embedder/platform_handle_vector.h', | |
| 224 'embedder/scoped_platform_handle.h', | |
| 225 'system/channel.cc', | |
| 226 'system/channel.h', | |
| 227 'system/constants.h', | |
| 228 'system/core.cc', | |
| 229 'system/core.h', | |
| 230 'system/data_pipe.cc', | |
| 231 'system/data_pipe.h', | |
| 232 'system/data_pipe_consumer_dispatcher.cc', | |
| 233 'system/data_pipe_consumer_dispatcher.h', | |
| 234 'system/data_pipe_producer_dispatcher.cc', | |
| 235 'system/data_pipe_producer_dispatcher.h', | |
| 236 'system/dispatcher.cc', | |
| 237 'system/dispatcher.h', | |
| 238 'system/entrypoints.cc', | |
| 239 'system/handle_signals_state.h', | |
| 240 'system/handle_table.cc', | |
| 241 'system/handle_table.h', | |
| 242 'system/local_data_pipe.cc', | |
| 243 'system/local_data_pipe.h', | |
| 244 'system/local_message_pipe_endpoint.cc', | |
| 245 'system/local_message_pipe_endpoint.h', | |
| 246 'system/mapping_table.cc', | |
| 247 'system/mapping_table.h', | |
| 248 'system/memory.cc', | |
| 249 'system/memory.h', | |
| 250 'system/message_in_transit.cc', | |
| 251 'system/message_in_transit.h', | |
| 252 'system/message_in_transit_queue.cc', | |
| 253 'system/message_in_transit_queue.h', | |
| 254 'system/message_pipe.cc', | |
| 255 'system/message_pipe.h', | |
| 256 'system/message_pipe_dispatcher.cc', | |
| 257 'system/message_pipe_dispatcher.h', | |
| 258 'system/message_pipe_endpoint.cc', | |
| 259 'system/message_pipe_endpoint.h', | |
| 260 'system/options_validation.h', | |
| 261 'system/platform_handle_dispatcher.cc', | |
| 262 'system/platform_handle_dispatcher.h', | |
| 263 'system/proxy_message_pipe_endpoint.cc', | |
| 264 'system/proxy_message_pipe_endpoint.h', | |
| 265 'system/raw_channel.cc', | |
| 266 'system/raw_channel.h', | |
| 267 'system/raw_channel_posix.cc', | |
| 268 'system/raw_channel_win.cc', | |
| 269 'system/raw_shared_buffer.cc', | |
| 270 'system/raw_shared_buffer.h', | |
| 271 'system/raw_shared_buffer_posix.cc', | |
| 272 'system/raw_shared_buffer_win.cc', | |
| 273 'system/shared_buffer_dispatcher.cc', | |
| 274 'system/shared_buffer_dispatcher.h', | |
| 275 'system/simple_dispatcher.cc', | |
| 276 'system/simple_dispatcher.h', | |
| 277 'system/transport_data.cc', | |
| 278 'system/transport_data.h', | |
| 279 'system/waiter.cc', | |
| 280 'system/waiter.h', | |
| 281 'system/waiter_list.cc', | |
| 282 'system/waiter_list.h', | |
| 283 # Test-only code: | |
| 284 # TODO(vtl): It's a little unfortunate that these end up in the same | |
| 285 # component as non-test-only code. In the static build, this code should | |
| 286 # hopefully be dead-stripped. | |
| 287 'embedder/test_embedder.cc', | |
| 288 'embedder/test_embedder.h', | |
| 289 ], | |
| 290 'all_dependent_settings': { | |
| 291 # Ensures that dependent projects import the core functions on Windows. | |
| 292 'defines': ['MOJO_USE_SYSTEM_IMPL'], | |
| 293 } | |
| 294 }, | |
| 295 { | |
| 296 'target_name': 'mojo_system_unittests', | |
| 297 'type': 'executable', | |
| 298 'dependencies': [ | |
| 299 '../base/base.gyp:base', | |
| 300 '../testing/gtest.gyp:gtest', | |
| 301 'mojo_common_test_support', | |
| 302 'mojo_system_impl', | |
| 303 ], | |
| 304 'sources': [ | |
| 305 'embedder/embedder_unittest.cc', | |
| 306 'embedder/platform_channel_pair_posix_unittest.cc', | |
| 307 'system/channel_unittest.cc', | |
| 308 'system/core_unittest.cc', | |
| 309 'system/core_test_base.cc', | |
| 310 'system/core_test_base.h', | |
| 311 'system/data_pipe_unittest.cc', | |
| 312 'system/dispatcher_unittest.cc', | |
| 313 'system/local_data_pipe_unittest.cc', | |
| 314 'system/memory_unittest.cc', | |
| 315 'system/message_pipe_dispatcher_unittest.cc', | |
| 316 'system/message_pipe_unittest.cc', | |
| 317 'system/multiprocess_message_pipe_unittest.cc', | |
| 318 'system/options_validation_unittest.cc', | |
| 319 'system/platform_handle_dispatcher_unittest.cc', | |
| 320 'system/raw_channel_unittest.cc', | |
| 321 'system/raw_shared_buffer_unittest.cc', | |
| 322 'system/remote_message_pipe_unittest.cc', | |
| 323 'system/run_all_unittests.cc', | |
| 324 'system/shared_buffer_dispatcher_unittest.cc', | |
| 325 'system/simple_dispatcher_unittest.cc', | |
| 326 'system/test_utils.cc', | |
| 327 'system/test_utils.h', | |
| 328 'system/waiter_list_unittest.cc', | |
| 329 'system/waiter_test_utils.cc', | |
| 330 'system/waiter_test_utils.h', | |
| 331 'system/waiter_unittest.cc', | |
| 332 ], | |
| 333 }, | |
| 334 { | |
| 335 # GN version: //mojo/gles2 | 103 # GN version: //mojo/gles2 |
| 336 'target_name': 'mojo_gles2_impl', | 104 'target_name': 'mojo_gles2_impl', |
| 337 'type': '<(component)', | 105 'type': '<(component)', |
| 338 'dependencies': [ | 106 'dependencies': [ |
| 339 '../base/base.gyp:base', | 107 '../base/base.gyp:base', |
| 340 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 108 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 341 '../gpu/gpu.gyp:command_buffer_client', | 109 '../gpu/gpu.gyp:command_buffer_client', |
| 342 '../gpu/gpu.gyp:command_buffer_common', | 110 '../gpu/gpu.gyp:command_buffer_common', |
| 343 '../gpu/gpu.gyp:gles2_cmd_helper', | 111 '../gpu/gpu.gyp:gles2_cmd_helper', |
| 344 '../gpu/gpu.gyp:gles2_implementation', | 112 '../gpu/gpu.gyp:gles2_implementation', |
| 113 'mojo_base.gyp:mojo_environment_chromium', |
| 345 'mojo_gles2', | 114 'mojo_gles2', |
| 346 'mojo_gles2_bindings', | 115 'mojo_gles2_bindings', |
| 347 'mojo_environment_chromium', | |
| 348 '<(mojo_system_for_component)', | 116 '<(mojo_system_for_component)', |
| 349 ], | 117 ], |
| 350 'defines': [ | 118 'defines': [ |
| 351 'MOJO_GLES2_IMPL_IMPLEMENTATION', | 119 'MOJO_GLES2_IMPL_IMPLEMENTATION', |
| 352 ], | 120 ], |
| 353 'sources': [ | 121 'sources': [ |
| 354 'gles2/command_buffer_client_impl.cc', | 122 'gles2/command_buffer_client_impl.cc', |
| 355 'gles2/command_buffer_client_impl.h', | 123 'gles2/command_buffer_client_impl.h', |
| 356 'gles2/gles2_impl_export.h', | 124 'gles2/gles2_impl_export.h', |
| 357 'gles2/gles2_support_impl.cc', | 125 'gles2/gles2_support_impl.cc', |
| 358 'gles2/gles2_support_impl.h', | 126 'gles2/gles2_support_impl.h', |
| 359 'gles2/gles2_context.cc', | 127 'gles2/gles2_context.cc', |
| 360 'gles2/gles2_context.h', | 128 'gles2/gles2_context.h', |
| 361 ], | 129 ], |
| 362 }, | 130 }, |
| 363 { | 131 { |
| 364 'target_name': 'mojo_test_support_impl', | |
| 365 'type': 'static_library', | |
| 366 'dependencies': [ | |
| 367 '../base/base.gyp:base', | |
| 368 ], | |
| 369 'sources': [ | |
| 370 'common/test/test_support_impl.cc', | |
| 371 'common/test/test_support_impl.h', | |
| 372 ], | |
| 373 }, | |
| 374 { | |
| 375 # GN version: //mojo/common | |
| 376 'target_name': 'mojo_common_lib', | |
| 377 'type': '<(component)', | |
| 378 'defines': [ | |
| 379 'MOJO_COMMON_IMPLEMENTATION', | |
| 380 ], | |
| 381 'dependencies': [ | |
| 382 '../base/base.gyp:base', | |
| 383 '../url/url.gyp:url_lib', | |
| 384 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 385 '<(mojo_system_for_component)', | |
| 386 ], | |
| 387 'export_dependent_settings': [ | |
| 388 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 389 ], | |
| 390 'sources': [ | |
| 391 'common/common_type_converters.cc', | |
| 392 'common/common_type_converters.h', | |
| 393 'common/data_pipe_utils.cc', | |
| 394 'common/data_pipe_utils.h', | |
| 395 'common/handle_watcher.cc', | |
| 396 'common/handle_watcher.h', | |
| 397 'common/message_pump_mojo.cc', | |
| 398 'common/message_pump_mojo.h', | |
| 399 'common/message_pump_mojo_handler.h', | |
| 400 'common/time_helper.cc', | |
| 401 'common/time_helper.h', | |
| 402 ], | |
| 403 }, | |
| 404 { | |
| 405 'target_name': 'mojo_common_test_support', | |
| 406 'type': 'static_library', | |
| 407 'dependencies': [ | |
| 408 '../base/base.gyp:base', | |
| 409 '../base/base.gyp:test_support_base', | |
| 410 '../testing/gtest.gyp:gtest', | |
| 411 'mojo_system_impl', | |
| 412 ], | |
| 413 'sources': [ | |
| 414 'common/test/multiprocess_test_helper.cc', | |
| 415 'common/test/multiprocess_test_helper.h', | |
| 416 'common/test/test_utils.h', | |
| 417 'common/test/test_utils_posix.cc', | |
| 418 'common/test/test_utils_win.cc', | |
| 419 ], | |
| 420 }, | |
| 421 { | |
| 422 'target_name': 'mojo_common_unittests', | |
| 423 'type': 'executable', | |
| 424 'dependencies': [ | |
| 425 '../base/base.gyp:base', | |
| 426 '../base/base.gyp:base_message_loop_tests', | |
| 427 '../testing/gtest.gyp:gtest', | |
| 428 '../url/url.gyp:url_lib', | |
| 429 'mojo_cpp_bindings', | |
| 430 'mojo_environment_chromium', | |
| 431 'mojo_common_lib', | |
| 432 'mojo_common_test_support', | |
| 433 'mojo_public_test_utils', | |
| 434 'mojo_run_all_unittests', | |
| 435 ], | |
| 436 'sources': [ | |
| 437 'common/common_type_converters_unittest.cc', | |
| 438 'common/handle_watcher_unittest.cc', | |
| 439 'common/message_pump_mojo_unittest.cc', | |
| 440 'common/test/multiprocess_test_helper_unittest.cc', | |
| 441 ], | |
| 442 }, | |
| 443 { | |
| 444 # GN version: //mojo/environment:chromium | |
| 445 'target_name': 'mojo_environment_chromium', | |
| 446 'type': 'static_library', | |
| 447 'dependencies': [ | |
| 448 'mojo_environment_chromium_impl', | |
| 449 ], | |
| 450 'sources': [ | |
| 451 'environment/environment.cc', | |
| 452 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) | |
| 453 "public/cpp/environment/logging.h", | |
| 454 "public/cpp/environment/lib/logging.cc", | |
| 455 ], | |
| 456 'include_dirs': [ | |
| 457 '..', | |
| 458 ], | |
| 459 'export_dependent_settings': [ | |
| 460 'mojo_environment_chromium_impl', | |
| 461 ], | |
| 462 }, | |
| 463 { | |
| 464 # GN version: //mojo/environment:chromium_impl | |
| 465 'target_name': 'mojo_environment_chromium_impl', | |
| 466 'type': '<(component)', | |
| 467 'defines': [ | |
| 468 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', | |
| 469 ], | |
| 470 'dependencies': [ | |
| 471 '../base/base.gyp:base', | |
| 472 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 473 'mojo_common_lib', | |
| 474 '<(mojo_system_for_component)', | |
| 475 ], | |
| 476 'sources': [ | |
| 477 'environment/default_async_waiter_impl.cc', | |
| 478 'environment/default_async_waiter_impl.h', | |
| 479 'environment/default_logger_impl.cc', | |
| 480 'environment/default_logger_impl.h', | |
| 481 ], | |
| 482 'include_dirs': [ | |
| 483 '..', | |
| 484 ], | |
| 485 }, | |
| 486 { | |
| 487 # GN version: //mojo/service_manager | |
| 488 'target_name': 'mojo_service_manager', | |
| 489 'type': '<(component)', | |
| 490 'defines': [ | |
| 491 'MOJO_SERVICE_MANAGER_IMPLEMENTATION', | |
| 492 ], | |
| 493 'dependencies': [ | |
| 494 '../base/base.gyp:base', | |
| 495 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 496 '../net/net.gyp:net', | |
| 497 '../url/url.gyp:url_lib', | |
| 498 'mojo_common_lib', | |
| 499 'mojo_environment_chromium', | |
| 500 'mojo_service_provider_bindings', | |
| 501 '<(mojo_system_for_component)', | |
| 502 ], | |
| 503 'sources': [ | |
| 504 'service_manager/background_service_loader.cc', | |
| 505 'service_manager/background_service_loader.h', | |
| 506 'service_manager/service_loader.h', | |
| 507 'service_manager/service_manager.cc', | |
| 508 'service_manager/service_manager.h', | |
| 509 'service_manager/service_manager_export.h', | |
| 510 ], | |
| 511 'export_dependent_settings': [ | |
| 512 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 513 'mojo_service_provider_bindings', | |
| 514 ], | |
| 515 }, | |
| 516 { | |
| 517 'target_name': 'mojo_spy', | 132 'target_name': 'mojo_spy', |
| 518 'type': 'static_library', | 133 'type': 'static_library', |
| 519 'dependencies': [ | 134 'dependencies': [ |
| 520 '../base/base.gyp:base', | 135 '../base/base.gyp:base', |
| 521 '../base/base.gyp:base_static', | 136 '../base/base.gyp:base_static', |
| 522 '../net/net.gyp:http_server', | 137 '../net/net.gyp:http_server', |
| 523 '../url/url.gyp:url_lib', | 138 '../url/url.gyp:url_lib', |
| 524 'mojo_service_manager', | 139 'mojo_service_manager', |
| 525 ], | 140 ], |
| 526 'variables': { | 141 'variables': { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 541 { | 156 { |
| 542 # GN version: //mojo/shell:lib | 157 # GN version: //mojo/shell:lib |
| 543 'target_name': 'mojo_shell_lib', | 158 'target_name': 'mojo_shell_lib', |
| 544 'type': 'static_library', | 159 'type': 'static_library', |
| 545 'dependencies': [ | 160 'dependencies': [ |
| 546 '../base/base.gyp:base', | 161 '../base/base.gyp:base', |
| 547 '../base/base.gyp:base_static', | 162 '../base/base.gyp:base_static', |
| 548 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 163 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 549 '../net/net.gyp:net', | 164 '../net/net.gyp:net', |
| 550 '../url/url.gyp:url_lib', | 165 '../url/url.gyp:url_lib', |
| 551 'mojo_application', | 166 'mojo_base.gyp:mojo_common_lib', |
| 552 'mojo_common_lib', | 167 'mojo_base.gyp:mojo_service_provider_bindings', |
| 168 'mojo_base.gyp:mojo_system_impl', |
| 169 'mojo_base.gyp:mojo_application', |
| 553 'mojo_external_service_bindings', | 170 'mojo_external_service_bindings', |
| 554 'mojo_gles2_impl', | 171 'mojo_gles2_impl', |
| 555 'mojo_native_viewport_service', | 172 'mojo_native_viewport_service', |
| 556 'mojo_network_bindings', | 173 'mojo_network_bindings', |
| 557 'mojo_service_manager', | 174 'mojo_service_manager', |
| 558 'mojo_service_provider_bindings', | |
| 559 'mojo_spy', | 175 'mojo_spy', |
| 560 'mojo_system_impl', | |
| 561 ], | 176 ], |
| 562 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 177 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 563 'sources': [ | 178 'sources': [ |
| 564 'shell/app_child_process.cc', | 179 'shell/app_child_process.cc', |
| 565 'shell/app_child_process.h', | 180 'shell/app_child_process.h', |
| 566 'shell/app_child_process.mojom', | 181 'shell/app_child_process.mojom', |
| 567 'shell/app_child_process_host.cc', | 182 'shell/app_child_process_host.cc', |
| 568 'shell/app_child_process_host.h', | 183 'shell/app_child_process_host.h', |
| 569 'shell/child_process.cc', | 184 'shell/child_process.cc', |
| 570 'shell/child_process.h', | 185 'shell/child_process.h', |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 }], | 247 }], |
| 633 ], | 248 ], |
| 634 }, | 249 }, |
| 635 { | 250 { |
| 636 'target_name': 'mojo_shell_test_support', | 251 'target_name': 'mojo_shell_test_support', |
| 637 'type': 'static_library', | 252 'type': 'static_library', |
| 638 'dependencies': [ | 253 'dependencies': [ |
| 639 '../base/base.gyp:base', | 254 '../base/base.gyp:base', |
| 640 '../base/base.gyp:base_static', | 255 '../base/base.gyp:base_static', |
| 641 '../url/url.gyp:url_lib', | 256 '../url/url.gyp:url_lib', |
| 257 'mojo_base.gyp:mojo_system_impl', |
| 642 'mojo_service_manager', | 258 'mojo_service_manager', |
| 643 'mojo_shell_lib', | 259 'mojo_shell_lib', |
| 644 'mojo_system_impl', | |
| 645 ], | 260 ], |
| 646 'sources': [ | 261 'sources': [ |
| 647 'shell/shell_test_helper.cc', | 262 'shell/shell_test_helper.cc', |
| 648 'shell/shell_test_helper.h', | 263 'shell/shell_test_helper.h', |
| 649 ], | 264 ], |
| 650 }, | 265 }, |
| 651 { | 266 { |
| 652 # GN version: //mojo/shell | 267 # GN version: //mojo/shell |
| 653 'target_name': 'mojo_shell', | 268 'target_name': 'mojo_shell', |
| 654 'type': 'executable', | 269 'type': 'executable', |
| 655 'dependencies': [ | 270 'dependencies': [ |
| 656 '../base/base.gyp:base', | 271 '../base/base.gyp:base', |
| 657 '../ui/gl/gl.gyp:gl', | 272 '../ui/gl/gl.gyp:gl', |
| 658 '../url/url.gyp:url_lib', | 273 '../url/url.gyp:url_lib', |
| 659 'mojo_common_lib', | 274 'mojo_base.gyp:mojo_common_lib', |
| 660 'mojo_environment_chromium', | 275 'mojo_base.gyp:mojo_environment_chromium', |
| 276 'mojo_base.gyp:mojo_system_impl', |
| 661 'mojo_service_manager', | 277 'mojo_service_manager', |
| 662 'mojo_shell_lib', | 278 'mojo_shell_lib', |
| 663 'mojo_system_impl', | |
| 664 ], | 279 ], |
| 665 'conditions': [ | 280 'conditions': [ |
| 666 ['use_ozone==1', { | 281 ['use_ozone==1', { |
| 667 'dependencies': [ | 282 'dependencies': [ |
| 668 '../ui/ozone/ozone.gyp:ozone', | 283 '../ui/ozone/ozone.gyp:ozone', |
| 669 ], | 284 ], |
| 670 }], | 285 }], |
| 671 ], | 286 ], |
| 672 'sources': [ | 287 'sources': [ |
| 673 'shell/desktop/mojo_main.cc', | 288 'shell/desktop/mojo_main.cc', |
| 674 ], | 289 ], |
| 675 }, | 290 }, |
| 676 { | 291 { |
| 677 'target_name': 'mojo_shell_tests', | 292 'target_name': 'mojo_shell_tests', |
| 678 'type': '<(gtest_target_type)', | 293 'type': '<(gtest_target_type)', |
| 679 'dependencies': [ | 294 'dependencies': [ |
| 680 '../base/base.gyp:base', | 295 '../base/base.gyp:base', |
| 681 '../base/base.gyp:base_i18n', | 296 '../base/base.gyp:base_i18n', |
| 682 '../base/base.gyp:test_support_base', | 297 '../base/base.gyp:test_support_base', |
| 683 '../testing/gtest.gyp:gtest', | 298 '../testing/gtest.gyp:gtest', |
| 684 '../net/net.gyp:net_test_support', | 299 '../net/net.gyp:net_test_support', |
| 685 # TODO(vtl): We don't currently need this, but I imagine we will soon. | 300 # TODO(vtl): We don't currently need this, but I imagine we will soon. |
| 686 # '../ui/gl/gl.gyp:gl', | 301 # '../ui/gl/gl.gyp:gl', |
| 687 '../url/url.gyp:url_lib', | 302 '../url/url.gyp:url_lib', |
| 688 'mojo_common_lib', | 303 'mojo_base.gyp:mojo_common_lib', |
| 689 'mojo_environment_chromium', | 304 'mojo_base.gyp:mojo_environment_chromium', |
| 305 'mojo_base.gyp:mojo_system_impl', |
| 690 'mojo_service_manager', | 306 'mojo_service_manager', |
| 691 'mojo_shell_lib', | 307 'mojo_shell_lib', |
| 692 'mojo_system_impl', | |
| 693 'mojo_test_app', | 308 'mojo_test_app', |
| 694 'mojo_test_request_tracker_app', | 309 'mojo_test_request_tracker_app', |
| 695 'mojo_test_service_bindings', | 310 'mojo_test_service_bindings', |
| 696 ], | 311 ], |
| 697 'sources': [ | 312 'sources': [ |
| 698 'shell/child_process_host_unittest.cc', | 313 'shell/child_process_host_unittest.cc', |
| 699 'shell/dynamic_service_loader_unittest.cc', | 314 'shell/dynamic_service_loader_unittest.cc', |
| 700 'shell/in_process_dynamic_service_runner_unittest.cc', | 315 'shell/in_process_dynamic_service_runner_unittest.cc', |
| 701 'shell/shell_test_base.cc', | 316 'shell/shell_test_base.cc', |
| 702 'shell/shell_test_base.h', | 317 'shell/shell_test_base.h', |
| 703 'shell/shell_test_base_unittest.cc', | 318 'shell/shell_test_base_unittest.cc', |
| 704 'shell/shell_test_main.cc', | 319 'shell/shell_test_main.cc', |
| 705 ], | 320 ], |
| 706 'conditions': [ | 321 'conditions': [ |
| 707 ['OS == "android"', { | 322 ['OS == "android"', { |
| 708 'dependencies': [ | 323 'dependencies': [ |
| 709 '../testing/android/native_test.gyp:native_test_native_code', | 324 '../testing/android/native_test.gyp:native_test_native_code', |
| 710 ], | 325 ], |
| 711 }], | 326 }], |
| 712 ], | 327 ], |
| 713 }, | 328 }, |
| 714 { | 329 { |
| 330 # GN version: //mojo/service_manager |
| 331 'target_name': 'mojo_service_manager', |
| 332 'type': '<(component)', |
| 333 'defines': [ |
| 334 'MOJO_SERVICE_MANAGER_IMPLEMENTATION', |
| 335 ], |
| 336 'dependencies': [ |
| 337 '../base/base.gyp:base', |
| 338 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 339 '../net/net.gyp:net', |
| 340 '../url/url.gyp:url_lib', |
| 341 'mojo_base.gyp:mojo_common_lib', |
| 342 'mojo_base.gyp:mojo_environment_chromium', |
| 343 'mojo_base.gyp:mojo_service_provider_bindings', |
| 344 '<(mojo_system_for_component)', |
| 345 ], |
| 346 'sources': [ |
| 347 'service_manager/background_service_loader.cc', |
| 348 'service_manager/background_service_loader.h', |
| 349 'service_manager/service_loader.h', |
| 350 'service_manager/service_manager.cc', |
| 351 'service_manager/service_manager.h', |
| 352 'service_manager/service_manager_export.h', |
| 353 ], |
| 354 'export_dependent_settings': [ |
| 355 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 356 'mojo_base.gyp:mojo_service_provider_bindings', |
| 357 ], |
| 358 }, |
| 359 { |
| 715 'target_name': 'mojo_service_manager_unittests', | 360 'target_name': 'mojo_service_manager_unittests', |
| 716 'type': 'executable', | 361 'type': 'executable', |
| 717 'dependencies': [ | 362 'dependencies': [ |
| 718 '../base/base.gyp:base', | 363 '../base/base.gyp:base', |
| 719 '../testing/gtest.gyp:gtest', | 364 '../testing/gtest.gyp:gtest', |
| 720 '../url/url.gyp:url_lib', | 365 '../url/url.gyp:url_lib', |
| 721 'mojo_common_lib', | 366 'mojo_base.gyp:mojo_common_lib', |
| 722 'mojo_cpp_bindings', | 367 'mojo_base.gyp:mojo_cpp_bindings', |
| 723 'mojo_environment_chromium', | 368 'mojo_base.gyp:mojo_environment_chromium', |
| 724 'mojo_run_all_unittests', | 369 'mojo_base.gyp:mojo_run_all_unittests', |
| 370 'mojo_base.gyp:mojo_application', |
| 725 'mojo_service_manager', | 371 'mojo_service_manager', |
| 726 'mojo_application', | |
| 727 ], | 372 ], |
| 728 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 373 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 729 'sources': [ | 374 'sources': [ |
| 730 'service_manager/service_manager_unittest.cc', | 375 'service_manager/service_manager_unittest.cc', |
| 731 'service_manager/test.mojom', | 376 'service_manager/test.mojom', |
| 732 ], | 377 ], |
| 733 }, | 378 }, |
| 734 { | 379 { |
| 735 # GN version: //mojo/bindings/js | |
| 736 'target_name': 'mojo_js_bindings_lib', | |
| 737 'type': 'static_library', | |
| 738 'dependencies': [ | |
| 739 '../base/base.gyp:base', | |
| 740 '../gin/gin.gyp:gin', | |
| 741 '../v8/tools/gyp/v8.gyp:v8', | |
| 742 'mojo_common_lib', | |
| 743 ], | |
| 744 'export_dependent_settings': [ | |
| 745 '../base/base.gyp:base', | |
| 746 '../gin/gin.gyp:gin', | |
| 747 'mojo_common_lib', | |
| 748 ], | |
| 749 'sources': [ | |
| 750 # Sources list duplicated in GN build. | |
| 751 'bindings/js/core.cc', | |
| 752 'bindings/js/core.h', | |
| 753 'bindings/js/handle.cc', | |
| 754 'bindings/js/handle.h', | |
| 755 'bindings/js/support.cc', | |
| 756 'bindings/js/support.h', | |
| 757 'bindings/js/waiting_callback.cc', | |
| 758 'bindings/js/waiting_callback.h', | |
| 759 ], | |
| 760 }, | |
| 761 { | |
| 762 'target_name': 'mojo_message_generator', | |
| 763 'type': 'executable', | |
| 764 'dependencies': [ | |
| 765 '../base/base.gyp:base', | |
| 766 '../testing/gtest.gyp:gtest', | |
| 767 'mojo_common_lib', | |
| 768 'mojo_cpp_bindings', | |
| 769 'mojo_environment_chromium', | |
| 770 'mojo_system_impl', | |
| 771 ], | |
| 772 'sources': [ | |
| 773 'tools/message_generator.cc', | |
| 774 ], | |
| 775 }, | |
| 776 { | |
| 777 # GN version: //mojo/cc | 380 # GN version: //mojo/cc |
| 778 'target_name': 'mojo_cc_support', | 381 'target_name': 'mojo_cc_support', |
| 779 'type': 'static_library', | 382 'type': 'static_library', |
| 780 'dependencies': [ | 383 'dependencies': [ |
| 781 '../base/base.gyp:base', | 384 '../base/base.gyp:base', |
| 782 '../cc/cc.gyp:cc', | 385 '../cc/cc.gyp:cc', |
| 783 '../skia/skia.gyp:skia', | 386 '../skia/skia.gyp:skia', |
| 784 '../gpu/gpu.gyp:gles2_implementation', | 387 '../gpu/gpu.gyp:gles2_implementation', |
| 785 'mojo_gles2', | 388 'mojo_gles2', |
| 786 ], | 389 ], |
| 787 'sources': [ | 390 'sources': [ |
| 788 'cc/context_provider_mojo.cc', | 391 'cc/context_provider_mojo.cc', |
| 789 'cc/context_provider_mojo.h', | 392 'cc/context_provider_mojo.h', |
| 790 ], | 393 ], |
| 791 }, | 394 }, |
| 792 ], | 395 ], |
| 793 'conditions': [ | 396 'conditions': [ |
| 794 ['OS=="android"', { | 397 ['OS=="android"', { |
| 795 'targets': [ | 398 'targets': [ |
| 796 { | 399 { |
| 797 'target_name': 'mojo_jni_headers', | |
| 798 'type': 'none', | |
| 799 'dependencies': [ | |
| 800 'mojo_java_set_jni_headers', | |
| 801 ], | |
| 802 'sources': [ | |
| 803 'android/javatests/src/org/chromium/mojo/MojoTestCase.java', | |
| 804 'android/system/src/org/chromium/mojo/system/impl/CoreImpl.java', | |
| 805 'services/native_viewport/android/src/org/chromium/mojo/NativeViewpo
rtAndroid.java', | |
| 806 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java', | |
| 807 ], | |
| 808 'variables': { | |
| 809 'jni_gen_package': 'mojo', | |
| 810 }, | |
| 811 'includes': [ '../build/jni_generator.gypi' ], | |
| 812 }, | |
| 813 { | |
| 814 'target_name': 'mojo_system_java', | |
| 815 'type': 'none', | |
| 816 'dependencies': [ | |
| 817 '../base/base.gyp:base_java', | |
| 818 'mojo_public_java', | |
| 819 ], | |
| 820 'variables': { | |
| 821 'java_in_dir': '<(DEPTH)/mojo/android/system', | |
| 822 }, | |
| 823 'includes': [ '../build/java.gypi' ], | |
| 824 }, | |
| 825 { | |
| 826 'target_name': 'libmojo_system_java', | |
| 827 'type': 'static_library', | |
| 828 'dependencies': [ | |
| 829 '../base/base.gyp:base', | |
| 830 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | |
| 831 'mojo_common_lib', | |
| 832 'mojo_environment_chromium', | |
| 833 'mojo_jni_headers', | |
| 834 'mojo_service_provider_bindings', | |
| 835 'mojo_shell_lib', | |
| 836 ], | |
| 837 'sources': [ | |
| 838 'android/system/core_impl.cc', | |
| 839 'android/system/core_impl.h', | |
| 840 ], | |
| 841 }, | |
| 842 { | |
| 843 'target_name': 'libmojo_java_unittest', | |
| 844 'type': 'shared_library', | |
| 845 'dependencies': [ | |
| 846 '../base/base.gyp:base', | |
| 847 '../base/base.gyp:test_support_base', | |
| 848 'libmojo_system_java', | |
| 849 'mojo_jni_headers', | |
| 850 ], | |
| 851 'defines': [ | |
| 852 'UNIT_TEST' # As exported from testing/gtest.gyp:gtest. | |
| 853 ], | |
| 854 'sources': [ | |
| 855 'android/javatests/mojo_test_case.cc', | |
| 856 'android/javatests/mojo_test_case.h', | |
| 857 'android/javatests/init_library.cc', | |
| 858 ], | |
| 859 }, | |
| 860 { | |
| 861 'target_name': 'mojo_test_apk', | |
| 862 'type': 'none', | |
| 863 'dependencies': [ | |
| 864 'mojo_bindings_java', | |
| 865 'mojo_public_test_interfaces', | |
| 866 'mojo_system_java', | |
| 867 '../base/base.gyp:base_java_test_support', | |
| 868 ], | |
| 869 'variables': { | |
| 870 'apk_name': 'MojoTest', | |
| 871 'java_in_dir': '<(DEPTH)/mojo/android/javatests', | |
| 872 'resource_dir': '<(DEPTH)/mojo/android/javatests/apk', | |
| 873 'native_lib_target': 'libmojo_java_unittest', | |
| 874 'is_test_apk': 1, | |
| 875 # Given that this apk tests itself, it needs to bring emma with it | |
| 876 # when instrumented. | |
| 877 'conditions': [ | |
| 878 ['emma_coverage != 0', { | |
| 879 'emma_instrument': 1, | |
| 880 }], | |
| 881 ], | |
| 882 }, | |
| 883 'includes': [ '../build/java_apk.gypi' ], | |
| 884 }, | |
| 885 { | |
| 886 'target_name': 'mojo_native_viewport_java', | 400 'target_name': 'mojo_native_viewport_java', |
| 887 'type': 'none', | 401 'type': 'none', |
| 888 'dependencies': [ | 402 'dependencies': [ |
| 889 '../base/base.gyp:base_java', | 403 '../base/base.gyp:base_java', |
| 890 ], | 404 ], |
| 891 'variables': { | 405 'variables': { |
| 892 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', | 406 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', |
| 893 }, | 407 }, |
| 894 'includes': [ '../build/java.gypi' ], | 408 'includes': [ '../build/java.gypi' ], |
| 895 }, | 409 }, |
| 896 { | 410 { |
| 897 'target_name': 'mojo_java_set_jni_headers', | |
| 898 'type': 'none', | |
| 899 'variables': { | |
| 900 'jni_gen_package': 'mojo', | |
| 901 'input_java_class': 'java/util/HashSet.class', | |
| 902 }, | |
| 903 'includes': [ '../build/jar_file_jni_generator.gypi' ], | |
| 904 }, | |
| 905 { | |
| 906 'target_name': 'libmojo_shell', | 411 'target_name': 'libmojo_shell', |
| 907 'type': 'shared_library', | 412 'type': 'shared_library', |
| 908 'dependencies': [ | 413 'dependencies': [ |
| 909 '../base/base.gyp:base', | 414 '../base/base.gyp:base', |
| 910 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 415 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
| 911 '../ui/gfx/gfx.gyp:gfx', | 416 '../ui/gfx/gfx.gyp:gfx', |
| 912 '../ui/gfx/gfx.gyp:gfx_geometry', | 417 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 913 '../ui/gl/gl.gyp:gl', | 418 '../ui/gl/gl.gyp:gl', |
| 914 'mojo_common_lib', | 419 'mojo_base.gyp:mojo_common_lib', |
| 915 'mojo_environment_chromium', | 420 'mojo_base.gyp:mojo_environment_chromium', |
| 916 'mojo_jni_headers', | 421 'mojo_base.gyp:mojo_jni_headers', |
| 917 'mojo_service_provider_bindings', | 422 'mojo_base.gyp:mojo_service_provider_bindings', |
| 918 'mojo_shell_lib', | 423 'mojo_shell_lib', |
| 919 ], | 424 ], |
| 920 'sources': [ | 425 'sources': [ |
| 921 'shell/android/library_loader.cc', | 426 'shell/android/library_loader.cc', |
| 922 'shell/android/mojo_main.cc', | 427 'shell/android/mojo_main.cc', |
| 923 'shell/android/mojo_main.h', | 428 'shell/android/mojo_main.h', |
| 924 ], | 429 ], |
| 925 }, | 430 }, |
| 926 { | 431 { |
| 927 'target_name': 'mojo_shell_apk', | 432 'target_name': 'mojo_shell_apk', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 944 }], | 449 }], |
| 945 ['OS=="linux"', { | 450 ['OS=="linux"', { |
| 946 'targets': [ | 451 'targets': [ |
| 947 { | 452 { |
| 948 'target_name': 'mojo_dbus_service', | 453 'target_name': 'mojo_dbus_service', |
| 949 'type': 'static_library', | 454 'type': 'static_library', |
| 950 'dependencies': [ | 455 'dependencies': [ |
| 951 '../base/base.gyp:base', | 456 '../base/base.gyp:base', |
| 952 '../build/linux/system.gyp:dbus', | 457 '../build/linux/system.gyp:dbus', |
| 953 '../dbus/dbus.gyp:dbus', | 458 '../dbus/dbus.gyp:dbus', |
| 954 'mojo_common_lib', | 459 'mojo_base.gyp:mojo_application', |
| 460 'mojo_base.gyp:mojo_common_lib', |
| 461 'mojo_base.gyp:mojo_system_impl', |
| 955 'mojo_external_service_bindings', | 462 'mojo_external_service_bindings', |
| 956 'mojo_application', | |
| 957 'mojo_system_impl', | |
| 958 ], | 463 ], |
| 959 'sources': [ | 464 'sources': [ |
| 960 'dbus/dbus_external_service.h', | 465 'dbus/dbus_external_service.h', |
| 961 'dbus/dbus_external_service.cc', | 466 'dbus/dbus_external_service.cc', |
| 962 ], | 467 ], |
| 963 }, | 468 }, |
| 964 ], | 469 ], |
| 965 }], | 470 }], |
| 966 ['test_isolation_mode != "noop"', { | |
| 967 'targets': [ | |
| 968 { | |
| 969 'target_name': 'mojo_js_unittests_run', | |
| 970 'type': 'none', | |
| 971 'dependencies': [ | |
| 972 'mojo_js_unittests', | |
| 973 ], | |
| 974 'includes': [ | |
| 975 '../build/isolate.gypi', | |
| 976 'mojo_js_unittests.isolate', | |
| 977 ], | |
| 978 'sources': [ | |
| 979 'mojo_js_unittests.isolate', | |
| 980 ], | |
| 981 }, | |
| 982 ], | |
| 983 }], | |
| 984 ['use_aura==1', { | 471 ['use_aura==1', { |
| 985 'targets': [ | 472 'targets': [ |
| 986 { | 473 { |
| 987 'target_name': 'mojo_aura_support', | 474 'target_name': 'mojo_aura_support', |
| 988 'type': 'static_library', | 475 'type': 'static_library', |
| 989 'dependencies': [ | 476 'dependencies': [ |
| 990 '../cc/cc.gyp:cc', | 477 '../cc/cc.gyp:cc', |
| 991 '../ui/aura/aura.gyp:aura', | 478 '../ui/aura/aura.gyp:aura', |
| 992 '../ui/compositor/compositor.gyp:compositor', | 479 '../ui/compositor/compositor.gyp:compositor', |
| 993 '../ui/events/events.gyp:events', | 480 '../ui/events/events.gyp:events', |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 'views/views_init_internal.h', | 542 'views/views_init_internal.h', |
| 1056 ], | 543 ], |
| 1057 'defines': [ | 544 'defines': [ |
| 1058 'MOJO_VIEWS_IMPLEMENTATION', | 545 'MOJO_VIEWS_IMPLEMENTATION', |
| 1059 ], | 546 ], |
| 1060 }, | 547 }, |
| 1061 ], | 548 ], |
| 1062 }], | 549 }], |
| 1063 ], | 550 ], |
| 1064 } | 551 } |
| OLD | NEW |