| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //media/gpu/ipc/common | 8 # GN version: //media/gpu/ipc/common |
| 9 'target_name': 'media_gpu_ipc_common', | 9 'target_name': 'media_gpu_ipc_common', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'dependencies': [ | 11 'dependencies': [ |
| 12 '../../media.gyp:media', | 12 '../../media.gyp:media', |
| 13 '../../media.gyp:media_features', | 13 '../../media.gyp:media_features', |
| 14 '../../../base/base.gyp:base', | 14 '../../../base/base.gyp:base', |
| 15 '../../../gpu/gpu.gyp:gpu_ipc_common', | 15 '../../../gpu/gpu.gyp:gpu_ipc_common', |
| 16 '../../../ipc/ipc.gyp:ipc', | 16 '../../../ipc/ipc.gyp:ipc', |
| 17 '../../../ui/gfx/gfx.gyp:gfx', | 17 '../../../ui/gfx/gfx.gyp:gfx', |
| 18 '../../../ui/gfx/gfx.gyp:gfx_geometry', | 18 '../../../ui/gfx/gfx.gyp:gfx_geometry', |
| 19 '../../../ui/gfx/ipc/geometry/gfx_ipc_geometry.gyp:gfx_ipc_geometry', |
| 19 '../../../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | 20 '../../../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
| 20 ], | 21 ], |
| 21 # This sources list is duplicated in //media/gpu/ipc/common/BUILD.gn | 22 # This sources list is duplicated in //media/gpu/ipc/common/BUILD.gn |
| 22 'sources': [ | 23 'sources': [ |
| 23 'common/create_video_encoder_params.cc', | 24 'common/create_video_encoder_params.cc', |
| 24 'common/create_video_encoder_params.h', | 25 'common/create_video_encoder_params.h', |
| 25 'common/gpu_video_accelerator_util.cc', | |
| 26 'common/gpu_video_accelerator_util.h', | |
| 27 'common/media_message_generator.cc', | 26 'common/media_message_generator.cc', |
| 28 'common/media_message_generator.h', | 27 'common/media_message_generator.h', |
| 29 'common/media_messages.cc', | 28 'common/media_messages.cc', |
| 30 'common/media_messages.h', | 29 'common/media_messages.h', |
| 31 'common/media_param_traits.h', | 30 'common/media_param_traits.h', |
| 32 'common/media_param_traits.cc', | 31 'common/media_param_traits.cc', |
| 33 'common/media_param_traits_macros.h', | 32 'common/media_param_traits_macros.h', |
| 34 ], | 33 ], |
| 35 }, | 34 }, |
| 36 { | 35 { |
| 37 # GN version: //media/gpu/ipc/client | 36 # GN version: //media/gpu/ipc/client |
| 38 'target_name': 'media_gpu_ipc_client', | 37 'target_name': 'media_gpu_ipc_client', |
| 39 'type': 'static_library', | 38 'type': 'static_library', |
| 40 'dependencies': [ | 39 'dependencies': [ |
| 41 '../../media.gyp:media', | 40 '../../media.gyp:media', |
| 42 '../../media.gyp:media_features', | 41 '../../media.gyp:media_features', |
| 42 '../../media.gyp:media_gpu', |
| 43 '../../../base/base.gyp:base', | 43 '../../../base/base.gyp:base', |
| 44 '../../../gpu/gpu.gyp:gpu_ipc_common', | 44 '../../../gpu/gpu.gyp:gpu_ipc_common', |
| 45 '../../../ipc/ipc.gyp:ipc', | 45 '../../../ipc/ipc.gyp:ipc', |
| 46 '../../../ui/gfx/gfx.gyp:gfx', | 46 '../../../ui/gfx/gfx.gyp:gfx', |
| 47 '../../../ui/gfx/gfx.gyp:gfx_geometry', | 47 '../../../ui/gfx/gfx.gyp:gfx_geometry', |
| 48 '../../../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | 48 '../../../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
| 49 ], | 49 ], |
| 50 # This sources list is duplicated in //media/gpu/ipc/client/BUILD.gn | 50 # This sources list is duplicated in //media/gpu/ipc/client/BUILD.gn |
| 51 'sources': [ | 51 'sources': [ |
| 52 'client/gpu_jpeg_decode_accelerator_host.cc', | 52 'client/gpu_jpeg_decode_accelerator_host.cc', |
| 53 'client/gpu_jpeg_decode_accelerator_host.h', | 53 'client/gpu_jpeg_decode_accelerator_host.h', |
| 54 'client/gpu_video_decode_accelerator_host.cc', | 54 'client/gpu_video_decode_accelerator_host.cc', |
| 55 'client/gpu_video_decode_accelerator_host.h', | 55 'client/gpu_video_decode_accelerator_host.h', |
| 56 'client/gpu_video_encode_accelerator_host.cc', | 56 'client/gpu_video_encode_accelerator_host.cc', |
| 57 'client/gpu_video_encode_accelerator_host.h', | 57 'client/gpu_video_encode_accelerator_host.h', |
| 58 ], | 58 ], |
| 59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 60 'msvs_disabled_warnings': [4267, ], | 60 'msvs_disabled_warnings': [ 4267 ], |
| 61 }, | 61 }, |
| 62 { |
| 63 # GN version: //media/gpu/ipc/service |
| 64 'target_name': 'media_gpu_ipc_service', |
| 65 'type': 'static_library', |
| 66 'dependencies': [ |
| 67 '../../../base/base.gyp:base', |
| 68 '../../../gpu/gpu.gyp:gpu_config', |
| 69 '../../../gpu/gpu.gyp:gpu_ipc_service', |
| 70 '../../../ipc/ipc.gyp:ipc', |
| 71 '../../../third_party/mesa/mesa.gyp:mesa_headers', |
| 72 '../../media.gyp:media', |
| 73 '../../media.gyp:media_gpu', |
| 74 'media_gpu_ipc_common', |
| 75 ], |
| 76 'sources': [ |
| 77 'service/gpu_jpeg_decode_accelerator.cc', |
| 78 'service/gpu_jpeg_decode_accelerator.h', |
| 79 'service/gpu_video_decode_accelerator.cc', |
| 80 'service/gpu_video_decode_accelerator.h', |
| 81 'service/gpu_video_encode_accelerator.cc', |
| 82 'service/gpu_video_encode_accelerator.h', |
| 83 'service/media_channel.cc', |
| 84 'service/media_channel.h', |
| 85 'service/media_service.cc', |
| 86 'service/media_service.h', |
| 87 ], |
| 88 'include_dirs': [ |
| 89 '<(DEPTH)/third_party/libva', |
| 90 '<(DEPTH)/third_party/mesa/src/include', |
| 91 ], |
| 92 'conditions': [ |
| 93 ['OS == "win" and target_arch == "x64"', { |
| 94 'msvs_settings': { |
| 95 'VCCLCompilerTool': { |
| 96 'AdditionalOptions': [ |
| 97 '/wd4267', # Conversion from 'size_t' to 'type', possible loss o
f data |
| 98 ], |
| 99 }, |
| 100 }, |
| 101 }], |
| 102 ], |
| 103 } |
| 62 ] | 104 ] |
| 63 } | 105 } |
| OLD | NEW |