Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / ffmpeg / ffmpeg_generated.gypi
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # NOTE: this file is autogenerated by ffmpeg/chromium/scripts/generate_gyp.py
6
7
8 {
9   'variables': {
10     'conditions': [
11       ['((target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "ChromeOS") and (1)', {
12         'c_sources': [
13           'libavcodec/arm/blockdsp_init_neon.c',
14           'libavcodec/arm/idctdsp_init_neon.c',
15           'libavcodec/neon/mpegvideo.c',
16         ],
17         'asm_sources': [
18           'libavcodec/arm/blockdsp_neon.S',
19           'libavcodec/arm/idctdsp_neon.S',
20           'libavcodec/arm/mpegvideo_neon.S',
21           'libavcodec/arm/simple_idct_neon.S',
22         ],
23       }],  # ((target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "ChromeOS") and (1)
24       ['(target_arch == "ia32" or target_arch == "x64") and (ffmpeg_branding == "ChromeOS") and (1)', {
25         'c_sources': [
26           'libavcodec/x86/blockdsp_init.c',
27           'libavcodec/x86/fdct.c',
28           'libavcodec/x86/fdctdsp_init.c',
29           'libavcodec/x86/h263dsp_init.c',
30           'libavcodec/x86/idctdsp_init.c',
31           'libavcodec/x86/idctdsp_mmx.c',
32           'libavcodec/x86/me_cmp_init.c',
33           'libavcodec/x86/mpegvideo.c',
34           'libavcodec/x86/mpegvideodsp.c',
35           'libavcodec/x86/pixblockdsp_init.c',
36           'libavcodec/x86/qpeldsp_init.c',
37           'libavcodec/x86/simple_idct.c',
38           'libavcodec/x86/xvididct_init.c',
39           'libavcodec/x86/xvididct_mmx.c',
40           'libavcodec/x86/xvididct_sse2.c',
41         ],
42         'asm_sources': [
43           'libavcodec/x86/blockdsp.asm',
44           'libavcodec/x86/h263_loopfilter.asm',
45           'libavcodec/x86/idctdsp.asm',
46           'libavcodec/x86/me_cmp.asm',
47           'libavcodec/x86/pixblockdsp.asm',
48           'libavcodec/x86/qpeldsp.asm',
49         ],
50       }],  # (target_arch == "ia32" or target_arch == "x64") and (ffmpeg_branding == "ChromeOS") and (1)
51       ['(target_arch == "arm" or (target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "ChromeOS") and (1)', {
52         'c_sources': [
53           'libavcodec/arm/blockdsp_init_arm.c',
54           'libavcodec/arm/idctdsp_init_arm.c',
55           'libavcodec/arm/idctdsp_init_armv5te.c',
56           'libavcodec/arm/idctdsp_init_armv6.c',
57           'libavcodec/arm/me_cmp_init_arm.c',
58           'libavcodec/arm/mpegvideo_arm.c',
59           'libavcodec/arm/mpegvideo_armv5te.c',
60           'libavcodec/arm/pixblockdsp_init_arm.c',
61         ],
62         'asm_sources': [
63           'libavcodec/arm/idctdsp_arm.S',
64           'libavcodec/arm/idctdsp_armv6.S',
65           'libavcodec/arm/jrevdct_arm.S',
66           'libavcodec/arm/me_cmp_armv6.S',
67           'libavcodec/arm/mpegvideo_armv5te_s.S',
68           'libavcodec/arm/pixblockdsp_armv6.S',
69           'libavcodec/arm/simple_idct_arm.S',
70           'libavcodec/arm/simple_idct_armv5te.S',
71           'libavcodec/arm/simple_idct_armv6.S',
72         ],
73       }],  # (target_arch == "arm" or (target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "ChromeOS") and (1)
74       ['((target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "ChromeOS") and (1)', {
75         'asm_sources': [
76           'libavcodec/arm/aacpsdsp_neon.S',
77           'libavcodec/arm/h264cmc_neon.S',
78           'libavcodec/arm/h264dsp_neon.S',
79           'libavcodec/arm/h264idct_neon.S',
80           'libavcodec/arm/h264qpel_neon.S',
81           'libavcodec/arm/sbrdsp_neon.S',
82         ],
83       }],  # ((target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "ChromeOS") and (1)
84       ['(target_arch == "ia32" or target_arch == "x64") and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "Chromium") and (OS == "win")', {
85         'c_sources': [
86           'compat/msvcrt/snprintf.c',
87           'compat/strtod.c',
88         ],
89       }],  # (target_arch == "ia32" or target_arch == "x64") and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "Chromium") and (OS == "win")
90       ['(target_arch == "ia32" or target_arch == "x64") and (ffmpeg_branding == "ChromiumOS" or ffmpeg_branding == "ChromeOS") and (1)', {
91         'c_sources': [
92           'libavcodec/x86/flacdsp_init.c',
93         ],
94         'asm_sources': [
95           'libavcodec/x86/flacdsp.asm',
96         ],
97       }],  # (target_arch == "ia32" or target_arch == "x64") and (ffmpeg_branding == "ChromiumOS" or ffmpeg_branding == "ChromeOS") and (1)
98       ['(1) and (ffmpeg_branding == "ChromeOS") and (1)', {
99         'c_sources': [
100           'libavcodec/acelp_filters.c',
101           'libavcodec/acelp_pitch_delay.c',
102           'libavcodec/acelp_vectors.c',
103           'libavcodec/amrnbdec.c',
104           'libavcodec/amrwbdec.c',
105           'libavcodec/blockdsp.c',
106           'libavcodec/celp_filters.c',
107           'libavcodec/celp_math.c',
108           'libavcodec/dsputil_compat.c',
109           'libavcodec/error_resilience.c',
110           'libavcodec/exif.c',
111           'libavcodec/faandct.c',
112           'libavcodec/faanidct.c',
113           'libavcodec/fdctdsp.c',
114           'libavcodec/flvdec.c',
115           'libavcodec/gsm_parser.c',
116           'libavcodec/gsmdec.c',
117           'libavcodec/gsmdec_data.c',
118           'libavcodec/h263.c',
119           'libavcodec/h263_parser.c',
120           'libavcodec/h263dec.c',
121           'libavcodec/h263dsp.c',
122           'libavcodec/idctdsp.c',
123           'libavcodec/intelh263dec.c',
124           'libavcodec/ituh263dec.c',
125           'libavcodec/jfdctfst.c',
126           'libavcodec/jfdctint.c',
127           'libavcodec/jrevdct.c',
128           'libavcodec/lsp.c',
129           'libavcodec/me_cmp.c',
130           'libavcodec/mpeg4video.c',
131           'libavcodec/mpeg4video_parser.c',
132           'libavcodec/mpeg4videodec.c',
133           'libavcodec/mpeg_er.c',
134           'libavcodec/mpegutils.c',
135           'libavcodec/mpegvideo.c',
136           'libavcodec/mpegvideo_motion.c',
137           'libavcodec/mpegvideodsp.c',
138           'libavcodec/msgsmdec.c',
139           'libavcodec/pixblockdsp.c',
140           'libavcodec/qpeldsp.c',
141           'libavcodec/simple_idct.c',
142           'libavcodec/tiff_common.c',
143           'libavcodec/xvididct.c',
144           'libavformat/amr.c',
145           'libavformat/avidec.c',
146           'libavformat/gsmdec.c',
147         ],
148       }],  # (1) and (ffmpeg_branding == "ChromeOS") and (1)
149       ['(target_arch == "arm" or (target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "ChromeOS") and (1)', {
150         'c_sources': [
151           'libavcodec/arm/aacpsdsp_init_arm.c',
152           'libavcodec/arm/h264chroma_init_arm.c',
153           'libavcodec/arm/h264dsp_init_arm.c',
154           'libavcodec/arm/h264qpel_init_arm.c',
155           'libavcodec/arm/mpegaudiodsp_init_arm.c',
156           'libavcodec/arm/sbrdsp_init_arm.c',
157         ],
158         'asm_sources': [
159           'libavcodec/arm/mpegaudiodsp_fixed_armv6.S',
160           'libavcodec/arm/startcode_armv6.S',
161         ],
162       }],  # (target_arch == "arm" or (target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "ChromeOS") and (1)
163       ['(target_arch == "arm" or (target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "ChromiumOS" or ffmpeg_branding == "ChromeOS") and (1)', {
164         'c_sources': [
165           'libavcodec/arm/flacdsp_init_arm.c',
166         ],
167         'asm_sources': [
168           'libavcodec/arm/flacdsp_arm.S',
169         ],
170       }],  # (target_arch == "arm" or (target_arch == "arm" and arm_neon == 1)) and (ffmpeg_branding == "ChromiumOS" or ffmpeg_branding == "ChromeOS") and (1)
171       ['((target_arch == "arm" and arm_neon == 1)) and (1) and (1)', {
172         'c_sources': [
173           'libavcodec/arm/hpeldsp_init_neon.c',
174           'libavcodec/arm/vp8dsp_init_neon.c',
175           'libavutil/arm/float_dsp_init_neon.c',
176         ],
177         'asm_sources': [
178           'libavcodec/arm/fft_fixed_neon.S',
179           'libavcodec/arm/fft_neon.S',
180           'libavcodec/arm/fmtconvert_neon.S',
181           'libavcodec/arm/h264pred_neon.S',
182           'libavcodec/arm/hpeldsp_neon.S',
183           'libavcodec/arm/mdct_fixed_neon.S',
184           'libavcodec/arm/mdct_neon.S',
185           'libavcodec/arm/rdft_neon.S',
186           'libavcodec/arm/vorbisdsp_neon.S',
187           'libavcodec/arm/vp3dsp_neon.S',
188           'libavcodec/arm/vp8dsp_neon.S',
189           'libavutil/arm/float_dsp_neon.S',
190         ],
191       }],  # ((target_arch == "arm" and arm_neon == 1)) and (1) and (1)
192       ['(target_arch == "ia32" or target_arch == "x64") and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "ChromeOS") and (1)', {
193         'c_sources': [
194           'libavcodec/x86/dct_init.c',
195           'libavcodec/x86/h264_qpel.c',
196           'libavcodec/x86/h264chroma_init.c',
197           'libavcodec/x86/h264dsp_init.c',
198           'libavcodec/x86/mpegaudiodsp.c',
199           'libavcodec/x86/sbrdsp_init.c',
200         ],
201         'asm_sources': [
202           'libavcodec/x86/dct32.asm',
203           'libavcodec/x86/h264_chromamc.asm',
204           'libavcodec/x86/h264_chromamc_10bit.asm',
205           'libavcodec/x86/h264_deblock.asm',
206           'libavcodec/x86/h264_deblock_10bit.asm',
207           'libavcodec/x86/h264_idct.asm',
208           'libavcodec/x86/h264_idct_10bit.asm',
209           'libavcodec/x86/h264_qpel_10bit.asm',
210           'libavcodec/x86/h264_qpel_8bit.asm',
211           'libavcodec/x86/h264_weight.asm',
212           'libavcodec/x86/h264_weight_10bit.asm',
213           'libavcodec/x86/imdct36.asm',
214           'libavcodec/x86/qpel.asm',
215           'libavcodec/x86/sbrdsp.asm',
216         ],
217       }],  # (target_arch == "ia32" or target_arch == "x64") and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "ChromeOS") and (1)
218       ['(1) and (ffmpeg_branding == "ChromiumOS" or ffmpeg_branding == "ChromeOS") and (1)', {
219         'c_sources': [
220           'libavcodec/flac_parser.c',
221           'libavcodec/flacdec.c',
222           'libavcodec/flacdsp.c',
223           'libavformat/flacdec.c',
224         ],
225       }],  # (1) and (ffmpeg_branding == "ChromiumOS" or ffmpeg_branding == "ChromeOS") and (1)
226       ['(target_arch == "arm" or (target_arch == "arm" and arm_neon == 1)) and (1) and (1)', {
227         'c_sources': [
228           'libavcodec/arm/fft_fixed_init_arm.c',
229           'libavcodec/arm/fft_init_arm.c',
230           'libavcodec/arm/fmtconvert_init_arm.c',
231           'libavcodec/arm/h264pred_init_arm.c',
232           'libavcodec/arm/hpeldsp_init_arm.c',
233           'libavcodec/arm/hpeldsp_init_armv6.c',
234           'libavcodec/arm/videodsp_init_arm.c',
235           'libavcodec/arm/videodsp_init_armv5te.c',
236           'libavcodec/arm/vorbisdsp_init_arm.c',
237           'libavcodec/arm/vp3dsp_init_arm.c',
238           'libavcodec/arm/vp8dsp_init_arm.c',
239           'libavcodec/arm/vp8dsp_init_armv6.c',
240           'libavutil/arm/cpu.c',
241           'libavutil/arm/float_dsp_init_arm.c',
242           'libavutil/arm/float_dsp_init_vfp.c',
243         ],
244         'asm_sources': [
245           'libavcodec/arm/fft_vfp.S',
246           'libavcodec/arm/fmtconvert_vfp.S',
247           'libavcodec/arm/fmtconvert_vfp_armv6.S',
248           'libavcodec/arm/hpeldsp_arm.S',
249           'libavcodec/arm/hpeldsp_armv6.S',
250           'libavcodec/arm/mdct_vfp.S',
251           'libavcodec/arm/videodsp_armv5te.S',
252           'libavcodec/arm/vp8_armv6.S',
253           'libavcodec/arm/vp8dsp_armv6.S',
254           'libavutil/arm/float_dsp_vfp.S',
255         ],
256       }],  # (target_arch == "arm" or (target_arch == "arm" and arm_neon == 1)) and (1) and (1)
257       ['(1) and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "ChromeOS") and (1)', {
258         'c_sources': [
259           'libavcodec/aac_ac3_parser.c',
260           'libavcodec/aac_parser.c',
261           'libavcodec/aacadtsdec.c',
262           'libavcodec/aacdec.c',
263           'libavcodec/aacps.c',
264           'libavcodec/aacpsdsp.c',
265           'libavcodec/aacsbr.c',
266           'libavcodec/aactab.c',
267           'libavcodec/ac3tab.c',
268           'libavcodec/cabac.c',
269           'libavcodec/dct.c',
270           'libavcodec/dct32_fixed.c',
271           'libavcodec/dct32_float.c',
272           'libavcodec/h264.c',
273           'libavcodec/h264_cabac.c',
274           'libavcodec/h264_cavlc.c',
275           'libavcodec/h264_direct.c',
276           'libavcodec/h264_loopfilter.c',
277           'libavcodec/h264_mb.c',
278           'libavcodec/h264_parser.c',
279           'libavcodec/h264_picture.c',
280           'libavcodec/h264_ps.c',
281           'libavcodec/h264_refs.c',
282           'libavcodec/h264_sei.c',
283           'libavcodec/h264_slice.c',
284           'libavcodec/h264chroma.c',
285           'libavcodec/h264dsp.c',
286           'libavcodec/h264idct.c',
287           'libavcodec/h264qpel.c',
288           'libavcodec/kbdwin.c',
289           'libavcodec/mpegaudio.c',
290           'libavcodec/mpegaudio_parser.c',
291           'libavcodec/mpegaudiodec_fixed.c',
292           'libavcodec/mpegaudiodecheader.c',
293           'libavcodec/mpegaudiodsp.c',
294           'libavcodec/mpegaudiodsp_data.c',
295           'libavcodec/mpegaudiodsp_fixed.c',
296           'libavcodec/mpegaudiodsp_float.c',
297           'libavcodec/sbrdsp.c',
298           'libavcodec/sinewin.c',
299           'libavcodec/startcode.c',
300           'libavformat/aacdec.c',
301           'libavformat/apetag.c',
302           'libavformat/img2.c',
303           'libavformat/mov.c',
304           'libavformat/mov_chan.c',
305           'libavformat/mp3dec.c',
306         ],
307       }],  # (1) and (ffmpeg_branding == "Chrome" or ffmpeg_branding == "ChromeOS") and (1)
308       ['(target_arch == "ia32" or target_arch == "x64") and (1) and (1)', {
309         'c_sources': [
310           'libavcodec/x86/constants.c',
311           'libavcodec/x86/fft_init.c',
312           'libavcodec/x86/fmtconvert_init.c',
313           'libavcodec/x86/h264_intrapred_init.c',
314           'libavcodec/x86/hpeldsp_init.c',
315           'libavcodec/x86/videodsp_init.c',
316           'libavcodec/x86/vorbisdsp_init.c',
317           'libavcodec/x86/vp3dsp_init.c',
318           'libavcodec/x86/vp8dsp_init.c',
319           'libavutil/x86/cpu.c',
320           'libavutil/x86/float_dsp_init.c',
321           'libavutil/x86/lls_init.c',
322         ],
323         'asm_sources': [
324           'libavcodec/x86/deinterlace.asm',
325           'libavcodec/x86/fft.asm',
326           'libavcodec/x86/fmtconvert.asm',
327           'libavcodec/x86/fpel.asm',
328           'libavcodec/x86/h264_intrapred.asm',
329           'libavcodec/x86/h264_intrapred_10bit.asm',
330           'libavcodec/x86/hpeldsp.asm',
331           'libavcodec/x86/videodsp.asm',
332           'libavcodec/x86/vorbisdsp.asm',
333           'libavcodec/x86/vp3dsp.asm',
334           'libavcodec/x86/vp8dsp.asm',
335           'libavcodec/x86/vp8dsp_loopfilter.asm',
336           'libavutil/x86/cpuid.asm',
337           'libavutil/x86/emms.asm',
338           'libavutil/x86/float_dsp.asm',
339           'libavutil/x86/lls.asm',
340         ],
341       }],  # (target_arch == "ia32" or target_arch == "x64") and (1) and (1)
342       ['(1) and (ffmpeg_branding == "ChromiumOS" or ffmpeg_branding == "ChromeOS" or ffmpeg_branding == "Chrome") and (1)', {
343         'c_sources': [
344           'libavformat/rawdec.c',
345         ],
346       }],  # (1) and (ffmpeg_branding == "ChromiumOS" or ffmpeg_branding == "ChromeOS" or ffmpeg_branding == "Chrome") and (1)
347       ['(1) and (1) and (1)', {
348         'c_sources': [
349           'libavcodec/allcodecs.c',
350           'libavcodec/avdct.c',
351           'libavcodec/avfft.c',
352           'libavcodec/avpacket.c',
353           'libavcodec/avpicture.c',
354           'libavcodec/bitstream.c',
355           'libavcodec/bitstream_filter.c',
356           'libavcodec/codec_desc.c',
357           'libavcodec/dirac.c',
358           'libavcodec/dv_profile.c',
359           'libavcodec/fft_fixed.c',
360           'libavcodec/fft_fixed_32.c',
361           'libavcodec/fft_float.c',
362           'libavcodec/fft_init_table.c',
363           'libavcodec/flac.c',
364           'libavcodec/flacdata.c',
365           'libavcodec/fmtconvert.c',
366           'libavcodec/golomb.c',
367           'libavcodec/h264pred.c',
368           'libavcodec/hpeldsp.c',
369           'libavcodec/imgconvert.c',
370           'libavcodec/mathtables.c',
371           'libavcodec/mdct_fixed.c',
372           'libavcodec/mdct_fixed_32.c',
373           'libavcodec/mdct_float.c',
374           'libavcodec/mpeg12data.c',
375           'libavcodec/mpeg4audio.c',
376           'libavcodec/mpegaudiodata.c',
377           'libavcodec/options.c',
378           'libavcodec/opus.c',
379           'libavcodec/opus_parser.c',
380           'libavcodec/parser.c',
381           'libavcodec/pcm.c',
382           'libavcodec/pthread.c',
383           'libavcodec/pthread_frame.c',
384           'libavcodec/pthread_slice.c',
385           'libavcodec/raw.c',
386           'libavcodec/rdft.c',
387           'libavcodec/utils.c',
388           'libavcodec/videodsp.c',
389           'libavcodec/vorbis.c',
390           'libavcodec/vorbis_data.c',
391           'libavcodec/vorbis_parser.c',
392           'libavcodec/vorbisdec.c',
393           'libavcodec/vorbisdsp.c',
394           'libavcodec/vp3.c',
395           'libavcodec/vp3_parser.c',
396           'libavcodec/vp3dsp.c',
397           'libavcodec/vp56rac.c',
398           'libavcodec/vp8.c',
399           'libavcodec/vp8_parser.c',
400           'libavcodec/vp8dsp.c',
401           'libavcodec/xiph.c',
402           'libavformat/allformats.c',
403           'libavformat/avio.c',
404           'libavformat/aviobuf.c',
405           'libavformat/cutils.c',
406           'libavformat/dump.c',
407           'libavformat/flac_picture.c',
408           'libavformat/format.c',
409           'libavformat/id3v1.c',
410           'libavformat/id3v2.c',
411           'libavformat/isom.c',
412           'libavformat/matroska.c',
413           'libavformat/matroskadec.c',
414           'libavformat/metadata.c',
415           'libavformat/mux.c',
416           'libavformat/oggdec.c',
417           'libavformat/oggparsecelt.c',
418           'libavformat/oggparsedirac.c',
419           'libavformat/oggparseflac.c',
420           'libavformat/oggparseogm.c',
421           'libavformat/oggparseopus.c',
422           'libavformat/oggparseskeleton.c',
423           'libavformat/oggparsespeex.c',
424           'libavformat/oggparsetheora.c',
425           'libavformat/oggparsevorbis.c',
426           'libavformat/oggparsevp8.c',
427           'libavformat/options.c',
428           'libavformat/os_support.c',
429           'libavformat/pcm.c',
430           'libavformat/replaygain.c',
431           'libavformat/riff.c',
432           'libavformat/riffdec.c',
433           'libavformat/rmsipr.c',
434           'libavformat/seek.c',
435           'libavformat/url.c',
436           'libavformat/utils.c',
437           'libavformat/vorbiscomment.c',
438           'libavformat/wavdec.c',
439           'libavutil/atomic.c',
440           'libavutil/avstring.c',
441           'libavutil/base64.c',
442           'libavutil/bprint.c',
443           'libavutil/buffer.c',
444           'libavutil/channel_layout.c',
445           'libavutil/cpu.c',
446           'libavutil/crc.c',
447           'libavutil/dict.c',
448           'libavutil/display.c',
449           'libavutil/downmix_info.c',
450           'libavutil/error.c',
451           'libavutil/eval.c',
452           'libavutil/fifo.c',
453           'libavutil/file_open.c',
454           'libavutil/fixed_dsp.c',
455           'libavutil/float_dsp.c',
456           'libavutil/frame.c',
457           'libavutil/imgutils.c',
458           'libavutil/intfloat_readwrite.c',
459           'libavutil/intmath.c',
460           'libavutil/lfg.c',
461           'libavutil/log.c',
462           'libavutil/log2_tab.c',
463           'libavutil/mathematics.c',
464           'libavutil/md5.c',
465           'libavutil/mem.c',
466           'libavutil/opt.c',
467           'libavutil/parseutils.c',
468           'libavutil/pixdesc.c',
469           'libavutil/pixelutils.c',
470           'libavutil/random_seed.c',
471           'libavutil/rational.c',
472           'libavutil/samplefmt.c',
473           'libavutil/sha.c',
474           'libavutil/stereo3d.c',
475           'libavutil/threadmessage.c',
476           'libavutil/time.c',
477           'libavutil/timecode.c',
478           'libavutil/utils.c',
479         ],
480       }],  # (1) and (1) and (1)
481     ],  # conditions
482   },
483 }