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

Side by Side Diff: third_party/ffmpeg/ffmpeg.gyp

Issue 862005: ffmpeg roll to new source that includes HE AAC... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | third_party/ffmpeg/source/config/Chrome/linux/arm-neon/config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 # TODO(fbarchard): Turn off --enable-memalign-hack for all but windows. 5 # TODO(fbarchard): Add wmapro.
6 # TODO(ajwong): Determine if we want to statically link libz. 6 # TODO(ajwong): Determine if we want to statically link libz.
7 7
8
9
10 { 8 {
11 'target_defaults': { 9 'target_defaults': {
12 'conditions': [ 10 'conditions': [
13 ['OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris"', { 11 ['OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris"', {
14 'sources/': [['exclude', '/linux/']] 12 'sources/': [['exclude', '/linux/']]
15 }], 13 }],
16 ['OS!="mac"', {'sources/': [['exclude', '/mac/']]}], 14 ['OS!="mac"', {'sources/': [['exclude', '/mac/']]}],
17 ['OS!="win"', {'sources/': [['exclude', '/win/']]}], 15 ['OS!="win"', {'sources/': [['exclude', '/win/']]}],
18 ], 16 ],
19 'variables': { 17 'variables': {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 ], 142 ],
145 'cflags': [ 143 'cflags': [
146 '-fomit-frame-pointer', 144 '-fomit-frame-pointer',
147 ], 145 ],
148 'conditions': [ 146 'conditions': [
149 ['ffmpeg_branding=="Chrome" or ffmpeg_branding=="ChromeOS"', { 147 ['ffmpeg_branding=="Chrome" or ffmpeg_branding=="ChromeOS"', {
150 'sources': [ 148 'sources': [
151 'source/patched-ffmpeg-mt/libavcodec/aac.c', 149 'source/patched-ffmpeg-mt/libavcodec/aac.c',
152 'source/patched-ffmpeg-mt/libavcodec/aac_ac3_parser.c', 150 'source/patched-ffmpeg-mt/libavcodec/aac_ac3_parser.c',
153 'source/patched-ffmpeg-mt/libavcodec/aac_parser.c', 151 'source/patched-ffmpeg-mt/libavcodec/aac_parser.c',
152 'source/patched-ffmpeg-mt/libavcodec/aacsbr.c', # TODO(fbarchard ): Review this file.
154 'source/patched-ffmpeg-mt/libavcodec/aactab.c', 153 'source/patched-ffmpeg-mt/libavcodec/aactab.c',
155 'source/patched-ffmpeg-mt/libavcodec/cabac.c', 154 'source/patched-ffmpeg-mt/libavcodec/cabac.c',
156 'source/patched-ffmpeg-mt/libavcodec/error_resilience.c', 155 'source/patched-ffmpeg-mt/libavcodec/error_resilience.c',
157 'source/patched-ffmpeg-mt/libavcodec/h264.c', 156 'source/patched-ffmpeg-mt/libavcodec/h264.c',
158 'source/patched-ffmpeg-mt/libavcodec/h264_cabac.c', # TODO(fbarc hard): Review this file. 157 'source/patched-ffmpeg-mt/libavcodec/h264_cabac.c', # TODO(fbarc hard): Review this file.
159 'source/patched-ffmpeg-mt/libavcodec/h264_cavlc.c', # TODO(fbarc hard): Review this file. 158 'source/patched-ffmpeg-mt/libavcodec/h264_cavlc.c', # TODO(fbarc hard): Review this file.
160 'source/patched-ffmpeg-mt/libavcodec/h264_direct.c', # TODO(fbar chard): Review this file. 159 'source/patched-ffmpeg-mt/libavcodec/h264_direct.c', # TODO(fbar chard): Review this file.
161 'source/patched-ffmpeg-mt/libavcodec/h264_loopfilter.c', # TODO( fbarchard): Review this file. 160 'source/patched-ffmpeg-mt/libavcodec/h264_loopfilter.c', # TODO( fbarchard): Review this file.
162 'source/patched-ffmpeg-mt/libavcodec/h264_mp4toannexb_bsf.c', 161 'source/patched-ffmpeg-mt/libavcodec/h264_mp4toannexb_bsf.c',
163 'source/patched-ffmpeg-mt/libavcodec/h264_parser.c', 162 'source/patched-ffmpeg-mt/libavcodec/h264_parser.c',
164 'source/patched-ffmpeg-mt/libavcodec/h264_ps.c', # TODO(fbarchar d): Review this file. 163 'source/patched-ffmpeg-mt/libavcodec/h264_ps.c', # TODO(fbarchar d): Review this file.
165 'source/patched-ffmpeg-mt/libavcodec/h264_refs.c', # TODO(fbarch ard): Review this file. 164 'source/patched-ffmpeg-mt/libavcodec/h264_refs.c', # TODO(fbarch ard): Review this file.
166 'source/patched-ffmpeg-mt/libavcodec/h264_sei.c', # TODO(fbarcha rd): Review this file. 165 'source/patched-ffmpeg-mt/libavcodec/h264_sei.c', # TODO(fbarcha rd): Review this file.
167 'source/patched-ffmpeg-mt/libavcodec/h264idct.c', 166 'source/patched-ffmpeg-mt/libavcodec/h264idct.c',
168 'source/patched-ffmpeg-mt/libavcodec/h264pred.c', 167 'source/patched-ffmpeg-mt/libavcodec/h264pred.c',
169 'source/patched-ffmpeg-mt/libavcodec/mpeg4audio.c', 168 'source/patched-ffmpeg-mt/libavcodec/mpeg4audio.c',
170 'source/patched-ffmpeg-mt/libavcodec/mpegaudio.c', 169 'source/patched-ffmpeg-mt/libavcodec/mpegaudio.c',
171 'source/patched-ffmpeg-mt/libavcodec/mpegaudio_parser.c', 170 'source/patched-ffmpeg-mt/libavcodec/mpegaudio_parser.c',
172 'source/patched-ffmpeg-mt/libavcodec/mpegaudiodata.c', 171 'source/patched-ffmpeg-mt/libavcodec/mpegaudiodata.c',
173 'source/patched-ffmpeg-mt/libavcodec/mpegaudiodec.c', 172 'source/patched-ffmpeg-mt/libavcodec/mpegaudiodec.c',
174 'source/patched-ffmpeg-mt/libavcodec/mpegaudiodecheader.c', 173 'source/patched-ffmpeg-mt/libavcodec/mpegaudiodecheader.c',
175 'source/patched-ffmpeg-mt/libavcodec/mpegvideo.c', 174 'source/patched-ffmpeg-mt/libavcodec/mpegvideo.c',
175 'source/patched-ffmpeg-mt/libavcodec/rdft.c', # TODO(fbarchard): Review this file.
176 'source/patched-ffmpeg-mt/libavformat/gxf.c', # TODO(fbarchard): Review this file. 176 'source/patched-ffmpeg-mt/libavformat/gxf.c', # TODO(fbarchard): Review this file.
177 'source/patched-ffmpeg-mt/libavformat/id3v2.c', 177 'source/patched-ffmpeg-mt/libavformat/id3v2.c',
178 'source/patched-ffmpeg-mt/libavformat/isom.c', 178 'source/patched-ffmpeg-mt/libavformat/isom.c',
179 'source/patched-ffmpeg-mt/libavformat/mov.c', 179 'source/patched-ffmpeg-mt/libavformat/mov.c',
180 'source/patched-ffmpeg-mt/libavformat/mp3.c', 180 'source/patched-ffmpeg-mt/libavformat/mp3.c',
181 'source/patched-ffmpeg-mt/libavutil/intfloat_readwrite.c', 181 'source/patched-ffmpeg-mt/libavutil/intfloat_readwrite.c',
182 ], 182 ],
183 }], # ffmpeg_branding 183 }], # ffmpeg_branding
184 ['ffmpeg_branding=="ChromiumOS" or ffmpeg_branding=="ChromeOS"', { 184 ['ffmpeg_branding=="ChromiumOS" or ffmpeg_branding=="ChromeOS"', {
185 'sources': [ 185 'sources': [
186 'source/patched-ffmpeg-mt/libavcodec/pcm.c', 186 'source/patched-ffmpeg-mt/libavcodec/pcm.c',
187 'source/patched-ffmpeg-mt/libavformat/raw.c', 187 'source/patched-ffmpeg-mt/libavformat/raw.c',
188 'source/patched-ffmpeg-mt/libavformat/wav.c', 188 'source/patched-ffmpeg-mt/libavformat/wav.c',
189 ], 189 ],
190 }], # ffmpeg_branding 190 }], # ffmpeg_branding
191 ['ffmpeg_branding=="ChromeOS"', { 191 ['ffmpeg_branding=="ChromeOS"', {
192 'sources': [ 192 'sources': [
193 » » 'source/patched-ffmpeg-mt/libavcodec/aandcttab.c', # TODO(fbarch ard): For mpeg4 bsf. Review this file. 193 'source/patched-ffmpeg-mt/libavcodec/aandcttab.c', # TODO(fbarch ard): For mpeg4 bsf. Review this file.
194 » » 'source/patched-ffmpeg-mt/libavcodec/error_resilience.c', # TODO (fbarchard): For mpeg4 bsf. Review this file. 194 'source/patched-ffmpeg-mt/libavcodec/error_resilience.c', # TODO (fbarchard): For mpeg4 bsf. Review this file.
195 » » 'source/patched-ffmpeg-mt/libavcodec/faandct.c', # TODO(fbarchar d): For mpeg4 bsf. Review this file. 195 'source/patched-ffmpeg-mt/libavcodec/faandct.c', # TODO(fbarchar d): For mpeg4 bsf. Review this file.
196 'source/patched-ffmpeg-mt/libavcodec/h263.c', 196 'source/patched-ffmpeg-mt/libavcodec/h263.c',
197 'source/patched-ffmpeg-mt/libavcodec/h263_parser.c', # TODO(fbar chard): Review this file. 197 'source/patched-ffmpeg-mt/libavcodec/h263_parser.c', # TODO(fbar chard): Review this file.
198 'source/patched-ffmpeg-mt/libavcodec/h263dec.c', 198 'source/patched-ffmpeg-mt/libavcodec/h263dec.c',
199 'source/patched-ffmpeg-mt/libavcodec/h264_mp4toannexb_bsf.c', # TODO(fbarchard): Review this file. 199 'source/patched-ffmpeg-mt/libavcodec/h264_mp4toannexb_bsf.c', # TODO(fbarchard): Review this file.
200 'source/patched-ffmpeg-mt/libavcodec/intrax8.c', 200 'source/patched-ffmpeg-mt/libavcodec/intrax8.c',
201 'source/patched-ffmpeg-mt/libavcodec/intrax8dsp.c', 201 'source/patched-ffmpeg-mt/libavcodec/intrax8dsp.c',
202 'source/patched-ffmpeg-mt/libavcodec/ituh263dec.c', # TODO(fbarc hard): Review this file. 202 'source/patched-ffmpeg-mt/libavcodec/ituh263dec.c', # TODO(fbarc hard): Review this file.
203 » » 'source/patched-ffmpeg-mt/libavcodec/ituh263enc.c', # TODO(fbarc hard): For mpeg4 bsf. Review this file. 203 'source/patched-ffmpeg-mt/libavcodec/ituh263enc.c', # TODO(fbarc hard): For mpeg4 bsf. Review this file.
204 » » 'source/patched-ffmpeg-mt/libavcodec/jfdctint.c', # TODO(fbarcha rd): For mpeg4 bsf. Review this file. 204 'source/patched-ffmpeg-mt/libavcodec/jfdctint.c', # TODO(fbarcha rd): For mpeg4 bsf. Review this file.
205 » » 'source/patched-ffmpeg-mt/libavcodec/jfdctfst.c', # TODO(fbarcha rd): For mpeg4 bsf. Review this file. 205 'source/patched-ffmpeg-mt/libavcodec/jfdctfst.c', # TODO(fbarcha rd): For mpeg4 bsf. Review this file.
206 » » 'source/patched-ffmpeg-mt/libavcodec/motion_est.c', # TODO(fbarc hard): For mpeg4 bsf. Review this file. 206 'source/patched-ffmpeg-mt/libavcodec/motion_est.c', # TODO(fbarc hard): For mpeg4 bsf. Review this file.
207 'source/patched-ffmpeg-mt/libavcodec/mpeg4data.h', # TODO(fbarch ard): Review this file. 207 'source/patched-ffmpeg-mt/libavcodec/mpeg4data.h', # TODO(fbarch ard): Review this file.
208 'source/patched-ffmpeg-mt/libavcodec/mpeg4video.c', # TODO(fbarc hard): Review this file. 208 'source/patched-ffmpeg-mt/libavcodec/mpeg4video.c', # TODO(fbarc hard): Review this file.
209 'source/patched-ffmpeg-mt/libavcodec/mpeg4video.h', # TODO(fbarc hard): Review this file. 209 'source/patched-ffmpeg-mt/libavcodec/mpeg4video.h', # TODO(fbarc hard): Review this file.
210 'source/patched-ffmpeg-mt/libavcodec/mpeg4video_parser.c', 210 'source/patched-ffmpeg-mt/libavcodec/mpeg4video_parser.c',
211 'source/patched-ffmpeg-mt/libavcodec/mpeg4video_es_bsf.c', # TOD O(fbarchard): Review this file. 211 'source/patched-ffmpeg-mt/libavcodec/mpeg4video_es_bsf.c', # TOD O(fbarchard): Review this file.
212 » » 'source/patched-ffmpeg-mt/libavcodec/mpeg4videoenc.c', # TODO(fb archard): For mpeg4 bsf. Review this file. 212 'source/patched-ffmpeg-mt/libavcodec/mpeg4videoenc.c', # TODO(fb archard): For mpeg4 bsf. Review this file.
213 » » 'source/patched-ffmpeg-mt/libavcodec/mpeg4videodec.c', # TODO(fb archard): Review this file. 213 'source/patched-ffmpeg-mt/libavcodec/mpeg4videodec.c', # TODO(fb archard): Review this file.
214 » » 'source/patched-ffmpeg-mt/libavcodec/mpegvideo.c', # TODO(fbarch ard): For mpeg4 bsf. Review this file. 214 'source/patched-ffmpeg-mt/libavcodec/mpegvideo.c', # TODO(fbarch ard): For mpeg4 bsf. Review this file.
215 » » 'source/patched-ffmpeg-mt/libavcodec/mpegvideo_enc.c', # TODO(fb archard): For mpeg4 bsf. Review this file. 215 'source/patched-ffmpeg-mt/libavcodec/mpegvideo_enc.c', # TODO(fb archard): For mpeg4 bsf. Review this file.
216 'source/patched-ffmpeg-mt/libavcodec/msmpeg4.c', 216 'source/patched-ffmpeg-mt/libavcodec/msmpeg4.c',
217 'source/patched-ffmpeg-mt/libavcodec/msmpeg4data.c', 217 'source/patched-ffmpeg-mt/libavcodec/msmpeg4data.c',
218 » » 'source/patched-ffmpeg-mt/libavcodec/ratecontrol.c', # TODO(fbar chard): For mpeg4 bsf. Review this file. 218 'source/patched-ffmpeg-mt/libavcodec/ratecontrol.c', # TODO(fbar chard): For mpeg4 bsf. Review this file.
219 'source/patched-ffmpeg-mt/libavcodec/vc1.c', 219 'source/patched-ffmpeg-mt/libavcodec/vc1.c',
220 'source/patched-ffmpeg-mt/libavcodec/vc1data.c', 220 'source/patched-ffmpeg-mt/libavcodec/vc1data.c',
221 'source/patched-ffmpeg-mt/libavcodec/vc1dec.c', # TODO(fbarchard ): Review this file. 221 'source/patched-ffmpeg-mt/libavcodec/vc1dec.c', # TODO(fbarchard ): Review this file.
222 'source/patched-ffmpeg-mt/libavcodec/vc1dsp.c', 222 'source/patched-ffmpeg-mt/libavcodec/vc1dsp.c',
223 'source/patched-ffmpeg-mt/libavcodec/wma.c', 223 'source/patched-ffmpeg-mt/libavcodec/wma.c',
224 'source/patched-ffmpeg-mt/libavcodec/wmadec.c', 224 'source/patched-ffmpeg-mt/libavcodec/wmadec.c',
225 'source/patched-ffmpeg-mt/libavcodec/wmv2.c', 225 'source/patched-ffmpeg-mt/libavcodec/wmv2.c',
226 'source/patched-ffmpeg-mt/libavcodec/wmv2dec.c', 226 'source/patched-ffmpeg-mt/libavcodec/wmv2dec.c',
227 'source/patched-ffmpeg-mt/libavcodec/vc1_asftoannexg_bsf.c', # T ODO(fbarchard): Review this file. 227 'source/patched-ffmpeg-mt/libavcodec/vc1_asftoannexg_bsf.c', # T ODO(fbarchard): Review this file.
228 'source/patched-ffmpeg-mt/libavcodec/vc1_asftorcv_bsf.c', # TODO (fbarchard): Review this file. 228 'source/patched-ffmpeg-mt/libavcodec/vc1_asftorcv_bsf.c', # TODO (fbarchard): Review this file.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 'dependencies': [ 266 'dependencies': [
267 'make_ffmpeg_asm_lib', 267 'make_ffmpeg_asm_lib',
268 ], 268 ],
269 'sources': [ 269 'sources': [
270 'source/patched-ffmpeg-mt/libavcodec/x86/vc1dsp_mmx.c', 270 'source/patched-ffmpeg-mt/libavcodec/x86/vc1dsp_mmx.c',
271 ], 271 ],
272 }], 272 }],
273 ['target_arch=="ia32"', { 273 ['target_arch=="ia32"', {
274 'cflags!': [ 274 'cflags!': [
275 # Turn off valgrind build option that breaks ffmpeg builds. 275 # Turn off valgrind build option that breaks ffmpeg builds.
276 » » # Allows config.h HAVE_EBP_AVAILABLE 1 and HAVE_EBX_AVAILABLE 1 276 # Allows config.h HAVE_EBP_AVAILABLE 1 and HAVE_EBX_AVAILABLE 1
277 '-fno-omit-frame-pointer', 277 '-fno-omit-frame-pointer',
278 ], 278 ],
279 }], # target_arch=="ia32" 279 }], # target_arch=="ia32"
280 ['target_arch=="x64"', { 280 ['target_arch=="x64"', {
281 # x64 requires PIC for shared libraries. This is opposite 281 # x64 requires PIC for shared libraries. This is opposite
282 # of ia32 where due to a slew of inline assembly using ebx, 282 # of ia32 where due to a slew of inline assembly using ebx,
283 # FFmpeg CANNOT be built with PIC. 283 # FFmpeg CANNOT be built with PIC.
284 'defines': [ 284 'defines': [
285 'PIC', 285 'PIC',
286 ], 286 ],
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 ], 810 ],
811 }, 811 },
812 ], 812 ],
813 } 813 }
814 814
815 # Local Variables: 815 # Local Variables:
816 # tab-width:2 816 # tab-width:2
817 # indent-tabs-mode:nil 817 # indent-tabs-mode:nil
818 # End: 818 # End:
819 # vim: set expandtab tabstop=2 shiftwidth=2: 819 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/ffmpeg/source/config/Chrome/linux/arm-neon/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698