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', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 # This sources list is duplicated in //media/gpu/ipc/client/BUILD.gn | 48 # This sources list is duplicated in //media/gpu/ipc/client/BUILD.gn |
49 'sources': [ | 49 'sources': [ |
50 'client/gpu_jpeg_decode_accelerator_host.cc', | 50 'client/gpu_jpeg_decode_accelerator_host.cc', |
51 'client/gpu_jpeg_decode_accelerator_host.h', | 51 'client/gpu_jpeg_decode_accelerator_host.h', |
52 'client/gpu_video_decode_accelerator_host.cc', | 52 'client/gpu_video_decode_accelerator_host.cc', |
53 'client/gpu_video_decode_accelerator_host.h', | 53 'client/gpu_video_decode_accelerator_host.h', |
54 'client/gpu_video_encode_accelerator_host.cc', | 54 'client/gpu_video_encode_accelerator_host.cc', |
55 'client/gpu_video_encode_accelerator_host.h', | 55 'client/gpu_video_encode_accelerator_host.h', |
56 ], | 56 ], |
57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
58 'msvs_disabled_warnings': [4267, ], | 58 'msvs_disabled_warnings': [ 4267 ], |
59 }, | 59 }, |
| 60 { |
| 61 # GN version: //media/gpu/ipc/service |
| 62 'target_name': 'media_gpu_ipc_service', |
| 63 'type': 'static_library', |
| 64 'dependencies': [ |
| 65 '../../../base/base.gyp:base', |
| 66 '../../../gpu/gpu.gyp:gpu_config', |
| 67 '../../../gpu/gpu.gyp:gpu_ipc_service', |
| 68 '../../../ipc/ipc.gyp:ipc', |
| 69 '../../../third_party/mesa/mesa.gyp:mesa_headers', |
| 70 '../../media.gyp:media', |
| 71 '../../media.gyp:media_gpu', |
| 72 'media_gpu_ipc_common', |
| 73 ], |
| 74 'sources': [ |
| 75 'service/gpu_jpeg_decode_accelerator.cc', |
| 76 'service/gpu_jpeg_decode_accelerator.h', |
| 77 'service/gpu_video_decode_accelerator.cc', |
| 78 'service/gpu_video_decode_accelerator.h', |
| 79 'service/gpu_video_decode_accelerator_factory_impl.cc', |
| 80 'service/gpu_video_decode_accelerator_factory_impl.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 '<(SHARED_INTERMEDIATE_DIR)/vt_stubs', |
| 92 ], |
| 93 'conditions': [ |
| 94 ['OS == "win" and target_arch == "x64"', { |
| 95 'msvs_settings': { |
| 96 'VCCLCompilerTool': { |
| 97 'AdditionalOptions': [ |
| 98 '/wd4267', # Conversion from 'size_t' to 'type', possible loss o
f data |
| 99 ], |
| 100 }, |
| 101 }, |
| 102 }], |
| 103 ], |
| 104 } |
60 ] | 105 ] |
61 } | 106 } |
OLD | NEW |