Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Side by Side Diff: media/gpu/ipc/media_ipc.gyp

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Squash and rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/gfx_ipc.gyp:gfx_ipc', 19 '../../../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
20 ], 20 ],
21 # This sources list is duplicated in //media/gpu/ipc/common/BUILD.gn 21 # This sources list is duplicated in //media/gpu/ipc/common/BUILD.gn
22 'sources': [ 22 'sources': [
23 'common/create_video_encoder_params.cc', 23 'common/create_video_encoder_params.cc',
24 'common/create_video_encoder_params.h', 24 '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', 25 'common/media_message_generator.cc',
28 'common/media_message_generator.h', 26 'common/media_message_generator.h',
29 'common/media_messages.cc', 27 'common/media_messages.cc',
30 'common/media_messages.h', 28 'common/media_messages.h',
31 'common/media_param_traits.h', 29 'common/media_param_traits.h',
32 'common/media_param_traits.cc', 30 'common/media_param_traits.cc',
33 'common/media_param_traits_macros.h', 31 'common/media_param_traits_macros.h',
34 ], 32 ],
35 }, 33 },
36 { 34 {
(...skipping 13 matching lines...) Expand all
50 # 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
51 'sources': [ 49 'sources': [
52 'client/gpu_jpeg_decode_accelerator_host.cc', 50 'client/gpu_jpeg_decode_accelerator_host.cc',
53 'client/gpu_jpeg_decode_accelerator_host.h', 51 'client/gpu_jpeg_decode_accelerator_host.h',
54 'client/gpu_video_decode_accelerator_host.cc', 52 'client/gpu_video_decode_accelerator_host.cc',
55 'client/gpu_video_decode_accelerator_host.h', 53 'client/gpu_video_decode_accelerator_host.h',
56 'client/gpu_video_encode_accelerator_host.cc', 54 'client/gpu_video_encode_accelerator_host.cc',
57 'client/gpu_video_encode_accelerator_host.h', 55 'client/gpu_video_encode_accelerator_host.h',
58 ], 56 ],
59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
60 'msvs_disabled_warnings': [4267, ], 58 'msvs_disabled_warnings': [ 4267 ],
61 }, 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_encode_accelerator.cc',
80 'service/gpu_video_encode_accelerator.h',
81 'service/media_channel.cc',
82 'service/media_channel.h',
83 'service/media_service.cc',
84 'service/media_service.h',
85 ],
86 'include_dirs': [
87 '<(DEPTH)/third_party/libva',
88 '<(DEPTH)/third_party/mesa/src/include',
89 ],
90 'conditions': [
91 ['OS == "win" and target_arch == "x64"', {
92 'msvs_settings': {
93 'VCCLCompilerTool': {
94 'AdditionalOptions': [
95 '/wd4267', # Conversion from 'size_t' to 'type', possible loss o f data
96 ],
97 },
98 },
99 }],
100 ],
101 }
62 ] 102 ]
63 } 103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698