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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: media/media.gyp
diff --git a/media/media.gyp b/media/media.gyp
index d2baca75f11f9f6ff6d8e16dac047c4131d87499..df25a9fc9c3d4e68f589080b9f3ada63f2925af3 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -1723,6 +1723,8 @@
'include_dirs': [ '..', ],
'defines': [ 'MF_INITIALIZER_IMPLEMENTATION', ],
'sources': [
+ 'base/win/mf_helpers.cc',
+ 'base/win/mf_helpers.h',
'base/win/mf_initializer_export.h',
'base/win/mf_initializer.cc',
'base/win/mf_initializer.h',
@@ -2116,7 +2118,7 @@
}
]
}],
- ['chromeos==1 or OS=="mac"', {
+ ['chromeos==1 or OS=="mac" or OS=="win"', {
'targets': [
{
'target_name': 'video_encode_accelerator_unittest',
@@ -2148,6 +2150,11 @@
'../third_party/webrtc/common_video/common_video.gyp:common_video',
],
}],
+ ['OS=="win"', {
+ 'dependencies': [
+ '../media/media.gyp:mf_initializer',
+ ],
+ }],
['use_x11==1', {
'dependencies': [
'../ui/gfx/x/gfx_x11.gyp:gfx_x11',

Powered by Google App Engine
This is Rietveld 408576698