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

Side by Side Diff: media/media.gyp

Issue 2058413003: H264 HW encode using MediaFoundation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wuchengli@ and ananta@ comments. Created 4 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 # Override to dynamically link the cras (ChromeOS audio) library. 8 # Override to dynamically link the cras (ChromeOS audio) library.
9 'use_cras%': 0, 9 'use_cras%': 0,
10 # Option e.g. for Linux distributions to link pulseaudio directly 10 # Option e.g. for Linux distributions to link pulseaudio directly
(...skipping 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after
1716 }], 1716 }],
1717 ['OS=="win"', { 1717 ['OS=="win"', {
1718 'targets': [ 1718 'targets': [
1719 { 1719 {
1720 # GN version: //media/base/win 1720 # GN version: //media/base/win
1721 'target_name': 'mf_initializer', 1721 'target_name': 'mf_initializer',
1722 'type': '<(component)', 1722 'type': '<(component)',
1723 'include_dirs': [ '..', ], 1723 'include_dirs': [ '..', ],
1724 'defines': [ 'MF_INITIALIZER_IMPLEMENTATION', ], 1724 'defines': [ 'MF_INITIALIZER_IMPLEMENTATION', ],
1725 'sources': [ 1725 'sources': [
1726 'base/win/mf_helpers.cc',
1727 'base/win/mf_helpers.h',
1726 'base/win/mf_initializer_export.h', 1728 'base/win/mf_initializer_export.h',
1727 'base/win/mf_initializer.cc', 1729 'base/win/mf_initializer.cc',
1728 'base/win/mf_initializer.h', 1730 'base/win/mf_initializer.h',
1729 ], 1731 ],
1730 'dependencies': [ 1732 'dependencies': [
1731 '../base/base.gyp:base', 1733 '../base/base.gyp:base',
1732 ], 1734 ],
1733 'link_settings': { 1735 'link_settings': {
1734 'libraries': [ 1736 'libraries': [
1735 '-ldxguid.lib', 1737 '-ldxguid.lib',
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
2109 'sources': [ 2111 'sources': [
2110 'gpu/jpeg_decode_accelerator_unittest.cc', 2112 'gpu/jpeg_decode_accelerator_unittest.cc',
2111 ], 2113 ],
2112 'include_dirs': [ 2114 'include_dirs': [
2113 '<(DEPTH)/third_party/libva', 2115 '<(DEPTH)/third_party/libva',
2114 '<(DEPTH)/third_party/libyuv', 2116 '<(DEPTH)/third_party/libyuv',
2115 ], 2117 ],
2116 } 2118 }
2117 ] 2119 ]
2118 }], 2120 }],
2119 ['chromeos==1 or OS=="mac"', { 2121 ['chromeos==1 or OS=="mac" or OS=="win"', {
2120 'targets': [ 2122 'targets': [
2121 { 2123 {
2122 'target_name': 'video_encode_accelerator_unittest', 2124 'target_name': 'video_encode_accelerator_unittest',
2123 'type': 'executable', 2125 'type': 'executable',
2124 'dependencies': [ 2126 'dependencies': [
2125 '../base/base.gyp:base', 2127 '../base/base.gyp:base',
2126 '../media/media.gyp:media', 2128 '../media/media.gyp:media',
2127 '../media/media.gyp:media_gpu', 2129 '../media/media.gyp:media_gpu',
2128 '../media/media.gyp:media_test_support', 2130 '../media/media.gyp:media_test_support',
2129 '../testing/gtest.gyp:gtest', 2131 '../testing/gtest.gyp:gtest',
(...skipping 11 matching lines...) Expand all
2141 'include_dirs': [ 2143 'include_dirs': [
2142 '<(DEPTH)/third_party/libva', 2144 '<(DEPTH)/third_party/libva',
2143 '<(DEPTH)/third_party/libyuv', 2145 '<(DEPTH)/third_party/libyuv',
2144 ], 2146 ],
2145 'conditions': [ 2147 'conditions': [
2146 ['OS=="mac"', { 2148 ['OS=="mac"', {
2147 'dependencies': [ 2149 'dependencies': [
2148 '../third_party/webrtc/common_video/common_video.gyp:common_vide o', 2150 '../third_party/webrtc/common_video/common_video.gyp:common_vide o',
2149 ], 2151 ],
2150 }], 2152 }],
2153 ['OS=="win"', {
2154 'dependencies': [
2155 '../media/media.gyp:mf_initializer',
2156 ],
2157 }],
2151 ['use_x11==1', { 2158 ['use_x11==1', {
2152 'dependencies': [ 2159 'dependencies': [
2153 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', 2160 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
2154 ], 2161 ],
2155 }], 2162 }],
2156 ['use_ozone==1', { 2163 ['use_ozone==1', {
2157 'dependencies': [ 2164 'dependencies': [
2158 '../ui/ozone/ozone.gyp:ozone', 2165 '../ui/ozone/ozone.gyp:ozone',
2159 ], 2166 ],
2160 }], 2167 }],
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
2283 'dependencies': [ 2290 'dependencies': [
2284 '../build/linux/system.gyp:libdrm', 2291 '../build/linux/system.gyp:libdrm',
2285 ] 2292 ]
2286 }], 2293 }],
2287 ], 2294 ],
2288 } 2295 }
2289 ] 2296 ]
2290 }], 2297 }],
2291 ], 2298 ],
2292 } 2299 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698