summaryrefslogtreecommitdiffstats
path: root/media/media.gyp
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 19:15:28 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 19:15:28 +0000
commiteed087523c4bdbafb422aa72d7d48fd036306504 (patch)
treee27c435f9d7fbf1cae495feaa4c96c4d604a82a0 /media/media.gyp
parent285db50838b50e886642a3105d6c52b9f8b30977 (diff)
downloadchromium_src-eed087523c4bdbafb422aa72d7d48fd036306504.zip
chromium_src-eed087523c4bdbafb422aa72d7d48fd036306504.tar.gz
chromium_src-eed087523c4bdbafb422aa72d7d48fd036306504.tar.bz2
Checking in FFmpeg regression testing framework.
Basically verifies that our assumptions on how FFmpeg works opening/seeking/parsing files remain intact. BUG=19865 TEST=run ffmpeg_unittests :) Review URL: http://codereview.chromium.org/3058004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media.gyp')
-rw-r--r--media/media.gyp33
1 files changed, 33 insertions, 0 deletions
diff --git a/media/media.gyp b/media/media.gyp
index 1f866ee..dd5f189 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -176,6 +176,39 @@
],
},
{
+ 'target_name': 'ffmpeg_unittests',
+ 'type': 'executable',
+ 'dependencies': [
+ 'media',
+ '../base/base.gyp:base',
+ '../base/base.gyp:base_i18n',
+ '../base/base.gyp:test_support_perf',
+ '../testing/gtest.gyp:gtest',
+ '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
+ ],
+ 'sources': [
+ 'ffmpeg/ffmpeg_unittest.cc',
+ ],
+ 'conditions': [
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ 'dependencies': [
+ # Needed for the following #include chain:
+ # base/run_all_unittests.cc
+ # ../base/test_suite.h
+ # gtk/gtk.h
+ '../build/linux/system.gyp:gtk',
+ ],
+ 'conditions': [
+ ['linux_use_tcmalloc==1', {
+ 'dependencies': [
+ '../base/allocator/allocator.gyp:allocator',
+ ],
+ }],
+ ],
+ }],
+ ],
+ },
+ {
'target_name': 'media_unittests',
'type': 'executable',
'msvs_guid': 'C8C6183C-B03C-11DD-B471-DFD256D89593',