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