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