summaryrefslogtreecommitdiffstats
path: root/third_party/ffmpeg/generate_libs.rules
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-19 22:14:02 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-19 22:14:02 +0000
commitea5b8bb0dd358836695f6e8521be995adbe6e54c (patch)
tree139883d503898843c68337441f4d2588fb58ffb6 /third_party/ffmpeg/generate_libs.rules
parent908e468904ee63e49a0ff426100eb1417906baf7 (diff)
downloadchromium_src-ea5b8bb0dd358836695f6e8521be995adbe6e54c.zip
chromium_src-ea5b8bb0dd358836695f6e8521be995adbe6e54c.tar.gz
chromium_src-ea5b8bb0dd358836695f6e8521be995adbe6e54c.tar.bz2
Checking in basic FFmpeg import library generator project and public header files.
Similar to V8Bindings_prebuild, ffmpeg.vcproj is a Utility project that calls a .bat file to build stuff. Whenever we need to link to an FFmpeg function, we simply add it to the corresponding .def file and we're set! Review URL: http://codereview.chromium.org/23021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10047 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/ffmpeg/generate_libs.rules')
-rw-r--r--third_party/ffmpeg/generate_libs.rules18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/ffmpeg/generate_libs.rules b/third_party/ffmpeg/generate_libs.rules
new file mode 100644
index 0000000..d096757
--- /dev/null
+++ b/third_party/ffmpeg/generate_libs.rules
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<VisualStudioToolFile
+ Name="Generate FFmpeg import libraries"
+ Version="8.00"
+ >
+ <Rules>
+ <CustomBuildRule
+ Name="Generate FFmpeg import libraries"
+ CommandLine="generate_libs.bat $(OutDir)"
+ Outputs="$(OutDir)\lib\avcodec-52.lib"
+ FileExtensions="*.def"
+ ExecutionDescription="Generating FFmpeg import libraries..."
+ >
+ <Properties>
+ </Properties>
+ </CustomBuildRule>
+ </Rules>
+</VisualStudioToolFile>