| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Essential components (and their tests) that are needed to build | 5 # Essential components (and their tests) that are needed to build |
| 6 # Chrome should be here. Other components that are useful only in | 6 # Chrome should be here. Other components that are useful only in |
| 7 # Mojo land like mojo_shell should be in mojo.gyp. | 7 # Mojo land like mojo_shell should be in mojo.gyp. |
| 8 { | 8 { |
| 9 'includes': [ | 9 'includes': [ |
| 10 'mojo_public.gypi', | 10 'mojo_public.gypi', |
| 11 'mojo_public_tests.gypi', | 11 'mojo_public_tests.gypi', |
| 12 'mojo_variables.gypi', | 12 'mojo_variables.gypi', |
| 13 ], | 13 ], |
| 14 'targets': [ | 14 'targets': [ |
| 15 { | 15 { |
| 16 'target_name': 'mojo_base', | 16 'target_name': 'mojo_base', |
| 17 'type': 'none', | 17 'type': 'none', |
| 18 'dependencies': [ | 18 'dependencies': [ |
| 19 # NOTE: If adding a new dependency here, please consider whether it |
| 20 # should also be added to the list of Mojo-related dependencies of |
| 21 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base |
| 22 # target on iOS due to the presence of the js targets, which cause v8 |
| 23 # to be built. |
| 19 'mojo_common_lib', | 24 'mojo_common_lib', |
| 20 'mojo_common_unittests', | 25 'mojo_common_unittests', |
| 21 'mojo_cpp_bindings', | 26 'mojo_cpp_bindings', |
| 22 'mojo_js_bindings', | 27 'mojo_js_bindings', |
| 23 'mojo_js_unittests', | 28 'mojo_js_unittests', |
| 24 'mojo_message_generator', | 29 'mojo_message_generator', |
| 25 'mojo_message_pipe_perftests', | 30 'mojo_message_pipe_perftests', |
| 26 'mojo_public_application_unittests', | 31 'mojo_public_application_unittests', |
| 27 'mojo_public_test_utils', | 32 'mojo_public_test_utils', |
| 28 'mojo_public_bindings_unittests', | 33 'mojo_public_bindings_unittests', |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 'system/run_all_unittests.cc', | 226 'system/run_all_unittests.cc', |
| 222 'system/shared_buffer_dispatcher_unittest.cc', | 227 'system/shared_buffer_dispatcher_unittest.cc', |
| 223 'system/simple_dispatcher_unittest.cc', | 228 'system/simple_dispatcher_unittest.cc', |
| 224 'system/test_utils.cc', | 229 'system/test_utils.cc', |
| 225 'system/test_utils.h', | 230 'system/test_utils.h', |
| 226 'system/waiter_list_unittest.cc', | 231 'system/waiter_list_unittest.cc', |
| 227 'system/waiter_test_utils.cc', | 232 'system/waiter_test_utils.cc', |
| 228 'system/waiter_test_utils.h', | 233 'system/waiter_test_utils.h', |
| 229 'system/waiter_unittest.cc', | 234 'system/waiter_unittest.cc', |
| 230 ], | 235 ], |
| 236 'conditions': [ |
| 237 ['OS=="ios"', { |
| 238 'sources!': [ |
| 239 'embedder/embedder_unittest.cc', |
| 240 'system/multiprocess_message_pipe_unittest.cc', |
| 241 ], |
| 242 }], |
| 243 ], |
| 231 }, | 244 }, |
| 232 { | 245 { |
| 233 # GN version: //mojo/system:mojo_message_pipe_perftests | 246 # GN version: //mojo/system:mojo_message_pipe_perftests |
| 234 'target_name': 'mojo_message_pipe_perftests', | 247 'target_name': 'mojo_message_pipe_perftests', |
| 235 'type': 'executable', | 248 'type': 'executable', |
| 236 'dependencies': [ | 249 'dependencies': [ |
| 237 '../base/base.gyp:base', | 250 '../base/base.gyp:base', |
| 238 '../base/base.gyp:test_support_base', | 251 '../base/base.gyp:test_support_base', |
| 239 '../base/base.gyp:test_support_perf', | 252 '../base/base.gyp:test_support_perf', |
| 240 '../testing/gtest.gyp:gtest', | 253 '../testing/gtest.gyp:gtest', |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 '../testing/gtest.gyp:gtest', | 315 '../testing/gtest.gyp:gtest', |
| 303 'mojo_system_impl', | 316 'mojo_system_impl', |
| 304 ], | 317 ], |
| 305 'sources': [ | 318 'sources': [ |
| 306 'common/test/multiprocess_test_helper.cc', | 319 'common/test/multiprocess_test_helper.cc', |
| 307 'common/test/multiprocess_test_helper.h', | 320 'common/test/multiprocess_test_helper.h', |
| 308 'common/test/test_utils.h', | 321 'common/test/test_utils.h', |
| 309 'common/test/test_utils_posix.cc', | 322 'common/test/test_utils_posix.cc', |
| 310 'common/test/test_utils_win.cc', | 323 'common/test/test_utils_win.cc', |
| 311 ], | 324 ], |
| 325 'conditions': [ |
| 326 ['OS=="ios"', { |
| 327 'sources!': [ |
| 328 'common/test/multiprocess_test_helper.cc', |
| 329 ], |
| 330 }], |
| 331 ], |
| 312 }, | 332 }, |
| 313 { | 333 { |
| 314 # GN version: //mojo/common:mojo_common_unittests | 334 # GN version: //mojo/common:mojo_common_unittests |
| 315 'target_name': 'mojo_common_unittests', | 335 'target_name': 'mojo_common_unittests', |
| 316 'type': 'executable', | 336 'type': 'executable', |
| 317 'dependencies': [ | 337 'dependencies': [ |
| 318 '../base/base.gyp:base', | 338 '../base/base.gyp:base', |
| 319 '../base/base.gyp:base_message_loop_tests', | 339 '../base/base.gyp:base_message_loop_tests', |
| 320 '../testing/gtest.gyp:gtest', | 340 '../testing/gtest.gyp:gtest', |
| 321 '../url/url.gyp:url_lib', | 341 '../url/url.gyp:url_lib', |
| 322 'mojo_cpp_bindings', | 342 'mojo_cpp_bindings', |
| 323 'mojo_environment_chromium', | 343 'mojo_environment_chromium', |
| 324 'mojo_common_lib', | 344 'mojo_common_lib', |
| 325 'mojo_common_test_support', | 345 'mojo_common_test_support', |
| 326 'mojo_public_test_utils', | 346 'mojo_public_test_utils', |
| 327 'mojo_run_all_unittests', | 347 'mojo_run_all_unittests', |
| 328 ], | 348 ], |
| 329 'sources': [ | 349 'sources': [ |
| 330 'common/common_type_converters_unittest.cc', | 350 'common/common_type_converters_unittest.cc', |
| 331 'common/handle_watcher_unittest.cc', | 351 'common/handle_watcher_unittest.cc', |
| 332 'common/message_pump_mojo_unittest.cc', | 352 'common/message_pump_mojo_unittest.cc', |
| 333 'common/test/multiprocess_test_helper_unittest.cc', | 353 'common/test/multiprocess_test_helper_unittest.cc', |
| 334 ], | 354 ], |
| 355 'conditions': [ |
| 356 ['OS=="ios"', { |
| 357 'sources!': [ |
| 358 'common/test/multiprocess_test_helper_unittest.cc', |
| 359 ], |
| 360 }], |
| 361 ], |
| 335 }, | 362 }, |
| 336 { | 363 { |
| 337 # GN version: //mojo/environment:chromium | 364 # GN version: //mojo/environment:chromium |
| 338 'target_name': 'mojo_environment_chromium', | 365 'target_name': 'mojo_environment_chromium', |
| 339 'type': 'static_library', | 366 'type': 'static_library', |
| 340 'dependencies': [ | 367 'dependencies': [ |
| 341 'mojo_environment_chromium_impl', | 368 'mojo_environment_chromium_impl', |
| 342 ], | 369 ], |
| 343 'sources': [ | 370 'sources': [ |
| 344 'environment/environment.cc', | 371 'environment/environment.cc', |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 'mojo_js_unittests.isolate', | 647 'mojo_js_unittests.isolate', |
| 621 ], | 648 ], |
| 622 'sources': [ | 649 'sources': [ |
| 623 'mojo_js_unittests.isolate', | 650 'mojo_js_unittests.isolate', |
| 624 ], | 651 ], |
| 625 }, | 652 }, |
| 626 ], | 653 ], |
| 627 }], | 654 }], |
| 628 ] | 655 ] |
| 629 } | 656 } |
| OLD | NEW |