OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 '../../build/common.gypi', | 7 '../../build/common.gypi', |
8 ], | 8 ], |
9 'target_defaults': { | 9 'target_defaults': { |
10 'conditions': [ | 10 'conditions': [ |
11 ['OS!="linux"', {'sources/': [['exclude', '/linux/']]}], | 11 ['OS!="linux" and OS!="freebsd"', {'sources/': [['exclude', '/linux/']]}], |
12 ['OS!="mac"', {'sources/': [['exclude', '/mac/']]}], | 12 ['OS!="mac"', {'sources/': [['exclude', '/mac/']]}], |
13 ['OS!="win"', {'sources/': [['exclude', '/win/']]}], | 13 ['OS!="win"', {'sources/': [['exclude', '/win/']]}], |
14 ], | 14 ], |
15 }, | 15 }, |
16 'variables': { | 16 'variables': { |
17 # Allow overridding the selection of which ffmpeg binaries to copy via an | 17 # Allow overridding the selection of which ffmpeg binaries to copy via an |
18 # environment variable. Affects the ffmpeg_binaries target. | 18 # environment variable. Affects the ffmpeg_binaries target. |
19 'ffmpeg_branding%': '<(branding)', | 19 'ffmpeg_branding%': '<(branding)', |
20 | 20 |
21 'use_system_ffmpeg%': 0, | 21 'use_system_ffmpeg%': 0, |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 'conditions': [ | 194 'conditions': [ |
195 ['OS=="win"', { | 195 ['OS=="win"', { |
196 'variables': { | 196 'variables': { |
197 'source_files': [ | 197 'source_files': [ |
198 'binaries/<(branding_dir)/avcodec-52.dll', | 198 'binaries/<(branding_dir)/avcodec-52.dll', |
199 'binaries/<(branding_dir)/avformat-52.dll', | 199 'binaries/<(branding_dir)/avformat-52.dll', |
200 'binaries/<(branding_dir)/avutil-50.dll', | 200 'binaries/<(branding_dir)/avutil-50.dll', |
201 ], | 201 ], |
202 }, | 202 }, |
203 'dependencies': ['../../build/win/system.gyp:cygwin'], | 203 'dependencies': ['../../build/win/system.gyp:cygwin'], |
204 }], ['OS=="linux"', { | 204 }], ['OS=="linux" or OS=="freebsd"', { |
205 'conditions': [ | 205 'conditions': [ |
206 ['use_system_ffmpeg==0', { | 206 ['use_system_ffmpeg==0', { |
207 'variables': { | 207 'variables': { |
208 'source_files': [ | 208 'source_files': [ |
209 'binaries/<(branding_dir)/libavcodec.so.52', | 209 'binaries/<(branding_dir)/libavcodec.so.52', |
210 'binaries/<(branding_dir)/libavformat.so.52', | 210 'binaries/<(branding_dir)/libavformat.so.52', |
211 'binaries/<(branding_dir)/libavutil.so.50', | 211 'binaries/<(branding_dir)/libavutil.so.50', |
212 ], | 212 ], |
213 }, | 213 }, |
214 }, { | 214 }, { |
(...skipping 16 matching lines...) Expand all Loading... |
231 { | 231 { |
232 'destination': '<(PRODUCT_DIR)/', | 232 'destination': '<(PRODUCT_DIR)/', |
233 'files': [ | 233 'files': [ |
234 '<@(source_files)', | 234 '<@(source_files)', |
235 ] | 235 ] |
236 }, | 236 }, |
237 ], | 237 ], |
238 }, | 238 }, |
239 ], | 239 ], |
240 } | 240 } |
OLD | NEW |