diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-03 21:46:19 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-03 21:46:19 +0000 |
commit | f2853b271e698deb179e8bb4cac73b09881aaebb (patch) | |
tree | 61e3fe625d651b0656c1778a1e99967f34c28426 /build/linux | |
parent | d33acca2508bb64b23337d1311264fab3c743c00 (diff) | |
download | chromium_src-f2853b271e698deb179e8bb4cac73b09881aaebb.zip chromium_src-f2853b271e698deb179e8bb4cac73b09881aaebb.tar.gz chromium_src-f2853b271e698deb179e8bb4cac73b09881aaebb.tar.bz2 |
Add an unbundled ffmpeg.gyp file.
BUG=226860
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/14746004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
-rw-r--r-- | build/linux/unbundle/ffmpeg.gyp | 29 | ||||
-rwxr-xr-x | build/linux/unbundle/replace_gyp_files.py | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/build/linux/unbundle/ffmpeg.gyp b/build/linux/unbundle/ffmpeg.gyp new file mode 100644 index 0000000..dfaaf0a --- /dev/null +++ b/build/linux/unbundle/ffmpeg.gyp @@ -0,0 +1,29 @@ +# Copyright 2013 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'ffmpeg', + 'type': 'none', + 'direct_dependent_settings': { + 'cflags': [ + '<!@(pkg-config --cflags libavcodec libavformat libavutil)', + ], + 'defines': [ + '__STDC_CONSTANT_MACROS', + 'USE_SYSTEM_FFMPEG', + ], + }, + 'link_settings': { + 'ldflags': [ + '<!@(pkg-config --libs-only-L --libs-only-other libavcodec libavformat libavutil)', + ], + 'libraries': [ + '<!@(pkg-config --libs-only-l libavcodec libavformat libavutil)', + ], + }, + }, + ], +} diff --git a/build/linux/unbundle/replace_gyp_files.py b/build/linux/unbundle/replace_gyp_files.py index 7462510..aa127e4 100755 --- a/build/linux/unbundle/replace_gyp_files.py +++ b/build/linux/unbundle/replace_gyp_files.py @@ -17,6 +17,7 @@ import sys REPLACEMENTS = { 'use_system_bzip2': 'third_party/bzip2/bzip2.gyp', 'use_system_expat': 'third_party/expat/expat.gyp', + 'use_system_ffmpeg': 'third_party/ffmpeg/ffmpeg.gyp', 'use_system_flac': 'third_party/flac/flac.gyp', 'use_system_harfbuzz': 'third_party/harfbuzz-ng/harfbuzz.gyp', 'use_system_icu': 'third_party/icu/icu.gyp', |