'target_name': 'mojo_base',
'type': 'none',
'dependencies': [
+ # NOTE: If adding a new dependency here, please consider whether it
+ # should also be added to the list of Mojo-related dependencies of
+ # build/all.gyp:All on iOS, as All cannot depend on the mojo_base
+ # target on iOS due to the presence of the js targets, which cause v8
+ # to be built.
'mojo_common_lib',
'mojo_common_unittests',
'mojo_cpp_bindings',
'mojo_js_bindings',
'mojo_js_unittests',
'mojo_message_generator',
+ 'mojo_message_pipe_perftests',
'mojo_public_application_unittests',
'mojo_public_test_utils',
'mojo_public_bindings_unittests',
'type': 'none',
},
{
+ # GN version: //mojo/common/test:run_all_unittests
'target_name': 'mojo_run_all_unittests',
'type': 'static_library',
'dependencies': [
],
},
{
+ # GN version: //mojo/common/test:run_all_perftests
'target_name': 'mojo_run_all_perftests',
'type': 'static_library',
'dependencies': [
'embedder/simple_platform_support.h',
'system/channel.cc',
'system/channel.h',
+ 'system/channel_endpoint.cc',
+ 'system/channel_endpoint.h',
'system/constants.h',
'system/core.cc',
'system/core.h',
}
},
{
+ # GN version: //mojo/system:mojo_system_unittests
'target_name': 'mojo_system_unittests',
'type': 'executable',
'dependencies': [
'system/local_data_pipe_unittest.cc',
'system/memory_unittest.cc',
'system/message_pipe_dispatcher_unittest.cc',
+ 'system/message_pipe_test_utils.h',
+ 'system/message_pipe_test_utils.cc',
'system/message_pipe_unittest.cc',
'system/multiprocess_message_pipe_unittest.cc',
'system/options_validation_unittest.cc',
'system/waiter_test_utils.h',
'system/waiter_unittest.cc',
],
+ 'conditions': [
+ ['OS=="ios"', {
+ 'sources!': [
+ 'embedder/embedder_unittest.cc',
+ 'system/multiprocess_message_pipe_unittest.cc',
+ ],
+ }],
+ ],
+ },
+ {
+ # GN version: //mojo/system:mojo_message_pipe_perftests
+ 'target_name': 'mojo_message_pipe_perftests',
+ 'type': 'executable',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/base.gyp:test_support_base',
+ '../base/base.gyp:test_support_perf',
+ '../testing/gtest.gyp:gtest',
+ 'mojo_common_test_support',
+ 'mojo_environment_chromium',
+ 'mojo_system_impl',
+ ],
+ 'sources': [
+ 'system/message_pipe_perftest.cc',
+ 'system/message_pipe_test_utils.h',
+ 'system/message_pipe_test_utils.cc',
+ 'system/test_utils.cc',
+ 'system/test_utils.h',
+ ],
},
{
+ # GN version: //mojo/common/test:test_support_impl
'target_name': 'mojo_test_support_impl',
'type': 'static_library',
'dependencies': [
],
},
{
+ # GN version: //mojo/common/test:test_support
'target_name': 'mojo_common_test_support',
'type': 'static_library',
'dependencies': [
'common/test/test_utils_posix.cc',
'common/test/test_utils_win.cc',
],
+ 'conditions': [
+ ['OS=="ios"', {
+ 'sources!': [
+ 'common/test/multiprocess_test_helper.cc',
+ ],
+ }],
+ ],
},
{
+ # GN version: //mojo/common:mojo_common_unittests
'target_name': 'mojo_common_unittests',
'type': 'executable',
'dependencies': [
'common/message_pump_mojo_unittest.cc',
'common/test/multiprocess_test_helper_unittest.cc',
],
+ 'conditions': [
+ ['OS=="ios"', {
+ 'sources!': [
+ 'common/test/multiprocess_test_helper_unittest.cc',
+ ],
+ }],
+ ],
},
{
# GN version: //mojo/environment:chromium
'GLES2_USE_MOJO',
],
},
+ 'export_dependent_settings': [
+ 'mojo_gles2_bindings',
+ ],
'sources': [
'gles2/command_buffer_client_impl.cc',
'gles2/command_buffer_client_impl.h',
}
},
{
+ # GN version: //mojo/application
'target_name': 'mojo_application_chromium',
'type': 'static_library',
'sources': [
- 'public/cpp/application/lib/application_impl_chromium.cc',
+ 'application/application_runner_chromium.cc',
+ 'application/application_runner_chromium.h',
],
'dependencies': [
'mojo_application_base',
+ 'mojo_common_lib',
+ 'mojo_environment_chromium',
],
'export_dependent_settings': [
'mojo_application_base',
# Sources list duplicated in GN build.
'bindings/js/core.cc',
'bindings/js/core.h',
+ 'bindings/js/drain_data.cc',
+ 'bindings/js/drain_data.h',
'bindings/js/handle.cc',
'bindings/js/handle.h',
+ 'bindings/js/handle_close_observer.h',
'bindings/js/support.cc',
'bindings/js/support.h',
'bindings/js/waiting_callback.cc',
],
},
{
+ # GN version: //mojo/tools:message_generator
'target_name': 'mojo_message_generator',
'type': 'executable',
'dependencies': [
],
'sources': [
'android/javatests/src/org/chromium/mojo/MojoTestCase.java',
+ 'android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java',
'android/system/src/org/chromium/mojo/system/impl/CoreImpl.java',
'services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAndroid.java',
'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java',
'../base/base.gyp:test_support_base',
'libmojo_system_java',
'mojo_jni_headers',
+ 'mojo_public_bindings_test_utils',
],
'defines': [
'UNIT_TEST' # As exported from testing/gtest.gyp:gtest.
'android/javatests/mojo_test_case.cc',
'android/javatests/mojo_test_case.h',
'android/javatests/init_library.cc',
+ 'android/javatests/validation_test_util.cc',
+ 'android/javatests/validation_test_util.h',
],
},
{