| Index: gpu/gpu.gyp
|
| diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
|
| index a72904e515bd952791de5f43348bee1f91cbd1ce..6447ca799bb88b70c72e5c2c5067ce3cda4faa73 100644
|
| --- a/gpu/gpu.gyp
|
| +++ b/gpu/gpu.gyp
|
| @@ -285,6 +285,44 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| + # GN version: //gpu/ipc/service:gpu_ipc_service_unittests
|
| + 'target_name': 'gpu_ipc_service_unittests',
|
| + 'type': '<(gtest_target_type)',
|
| + 'dependencies': [
|
| + '../url/url.gyp:url_lib',
|
| + '../base/base.gyp:base',
|
| + '../base/base.gyp:run_all_unittests',
|
| + '../base/base.gyp:test_support_base',
|
| + '../ipc/ipc.gyp:test_support_ipc',
|
| + '../testing/gtest.gyp:gtest',
|
| + 'gpu_ipc_service',
|
| + ],
|
| + 'sources': [
|
| + 'ipc/service/gpu_channel_manager_unittest.cc',
|
| + 'ipc/service/gpu_channel_test_common.cc',
|
| + 'ipc/service/gpu_channel_test_common.h',
|
| + 'ipc/service/gpu_channel_unittest.cc',
|
| + ],
|
| + 'conditions': [
|
| + ['OS == "android"', {
|
| + 'sources': [
|
| + 'ipc/service/gpu_memory_buffer_factory_surface_texture_unittest.cc',
|
| + ],
|
| + }],
|
| + ['OS == "mac"', {
|
| + 'sources': [
|
| + 'ipc/service/ca_layer_tree_unittest_mac.mm',
|
| + 'ipc/service/gpu_memory_buffer_factory_io_surface_unittest.cc',
|
| + ],
|
| + }],
|
| + ['use_ozone == 1', {
|
| + 'sources': [
|
| + 'ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc',
|
| + ],
|
| + }],
|
| + ],
|
| + },
|
| + {
|
| # GN version: //gpu/gpu_perftests
|
| 'target_name': 'gpu_perftests',
|
| 'type': '<(gtest_target_type)',
|
| @@ -421,6 +459,19 @@
|
| ],
|
| },
|
| {
|
| + # GN version: //gpu/ipc/service:test_support
|
| + 'target_name': 'gpu_ipc_service_test_support',
|
| + 'type': 'static_library',
|
| + 'dependencies': [
|
| + ],
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'sources': [
|
| + 'gpu/ipc/service/gpu_memory_buffer_factory_test_template.h',
|
| + ],
|
| + },
|
| + {
|
| # GN version: //gpu:command_buffer_gles2
|
| 'target_name': 'command_buffer_gles2',
|
| 'type': 'shared_library',
|
| @@ -446,17 +497,17 @@
|
| 'gles2_conform_support/egl/test_support.cc',
|
| 'gles2_conform_support/egl/test_support.h',
|
| ],
|
| - 'defines': [
|
| + 'defines': [
|
| 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY',
|
| 'EGLAPIENTRY=',
|
| - ],
|
| + ],
|
| 'conditions': [
|
| ['OS=="win"', {
|
| 'defines': [
|
| 'EGLAPI=__declspec(dllexport)',
|
| ],
|
| }, { # OS!="win"
|
| - 'defines': [
|
| + 'defines': [
|
| 'EGLAPI=__attribute__((visibility(\"default\")))'
|
| ],
|
| }],
|
| @@ -479,7 +530,7 @@
|
| 'command_buffer/tests/command_buffer_gles2_tests_main.cc',
|
| 'command_buffer/tests/egl_test.cc',
|
| ],
|
| - 'defines': [
|
| + 'defines': [
|
| 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY',
|
| 'EGLAPIENTRY=',
|
| ],
|
| @@ -489,10 +540,10 @@
|
| 'EGLAPI=__declspec(dllimport)',
|
| ],
|
| }, { # OS!="win"
|
| - 'defines': [
|
| + 'defines': [
|
| 'EGLAPI=',
|
| ],
|
| - }],
|
| + }],
|
| ['OS == "android"', {
|
| 'dependencies': [
|
| '../testing/android/native_test.gyp:native_test_native_code',
|
| @@ -526,6 +577,7 @@
|
| 'gles2_cmd_helper',
|
| 'gpu_config',
|
| 'gpu_ipc_common',
|
| + 'gpu_ipc_service',
|
| ],
|
| 'sources': [
|
| 'gpu_export.h',
|
| @@ -614,6 +666,17 @@
|
| ],
|
| },
|
| {
|
| + # GN version: //gpu/ipc/service
|
| + 'target_name': 'gpu_ipc_service',
|
| + 'type': 'static_library',
|
| + 'includes': [
|
| + 'gpu_ipc_service.gypi',
|
| + ],
|
| + 'dependencies': [
|
| + 'command_buffer_traits',
|
| + ],
|
| + },
|
| + {
|
| 'target_name': 'gpu_config',
|
| 'type': 'static_library',
|
| 'includes': [
|
| @@ -647,6 +710,7 @@
|
| 'gles2_cmd_helper.gypi',
|
| 'gpu_config.gypi',
|
| 'gpu_ipc_common.gypi',
|
| + 'gpu_ipc_service.gypi',
|
| '../build/android/increase_size_for_speed.gypi',
|
| ],
|
| 'defines': [
|
| @@ -714,6 +778,14 @@
|
| 'gpu',
|
| ],
|
| },
|
| + {
|
| + # GN version: //gpu/ipc/service
|
| + 'target_name': 'gpu_ipc_service',
|
| + 'type': 'none',
|
| + 'dependencies': [
|
| + 'gpu',
|
| + ],
|
| + },
|
| ],
|
| }],
|
| ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', {
|
|
|