Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Side by Side Diff: build/linux/unbundle/ffmpeg.gyp

Issue 1894443003: unbundle: provide shim headers for system ffmpeg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'ffmpeg', 8 'target_name': 'ffmpeg',
9 'type': 'none', 9 'type': 'none',
10 'direct_dependent_settings': { 10 'direct_dependent_settings': {
(...skipping 23 matching lines...) Expand all
34 '#include <libavcodec/avcodec.h>\n' 34 '#include <libavcodec/avcodec.h>\n'
35 'int test() { struct AVFrame frame;\n' 35 'int test() { struct AVFrame frame;\n'
36 'return av_frame_get_channels(&frame); }" ' 36 'return av_frame_get_channels(&frame); }" '
37 '--on-failure -DCHROMIUM_NO_AVFRAME_CHANNELS=1)', 37 '--on-failure -DCHROMIUM_NO_AVFRAME_CHANNELS=1)',
38 ], 38 ],
39 'defines': [ 39 'defines': [
40 '__STDC_CONSTANT_MACROS', 40 '__STDC_CONSTANT_MACROS',
41 'USE_SYSTEM_FFMPEG', 41 'USE_SYSTEM_FFMPEG',
42 ], 42 ],
43 }, 43 },
44 'variables': {
45 'headers_root_path': '.',
46 'header_filenames': [
47 'libavcodec/avcodec.h',
48 'libavformat/avformat.h',
49 'libavutil/imgutils.h',
50 ],
51 },
52 'includes': [
53 '../../build/shim_headers.gypi',
54 ],
44 'link_settings': { 55 'link_settings': {
45 'ldflags': [ 56 'ldflags': [
46 '<!@(pkg-config --libs-only-L --libs-only-other libavcodec libavformat libavutil)', 57 '<!@(pkg-config --libs-only-L --libs-only-other libavcodec libavformat libavutil)',
47 ], 58 ],
48 'libraries': [ 59 'libraries': [
49 '<!@(pkg-config --libs-only-l libavcodec libavformat libavutil)', 60 '<!@(pkg-config --libs-only-l libavcodec libavformat libavutil)',
50 ], 61 ],
51 }, 62 },
52 }, 63 },
53 ], 64 ],
54 } 65 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698