From eed087523c4bdbafb422aa72d7d48fd036306504 Mon Sep 17 00:00:00 2001 From: "scherkus@chromium.org" Date: Tue, 27 Jul 2010 19:15:28 +0000 Subject: 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 --- media/media.gyp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'media/media.gyp') 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', -- cgit v1.1