1## -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2## vim: set filetype=python:
3## This Source Code Form is subject to the terms of the Mozilla Public
4## License, v. 2.0. If a copy of the MPL was not distributed with this
5## file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7SOURCES += [
8    'h264chroma_init_aarch64.c',
9    'h264cmc_neon.S',
10    'h264dsp_init_aarch64.c',
11    'h264dsp_neon.S',
12    'h264idct_neon.S',
13    'h264pred_init.c',
14    'h264pred_neon.S',
15    'hpeldsp_init_aarch64.c',
16    'hpeldsp_neon.S',
17    'idctdsp_init_aarch64.c',
18    'mdct_neon.S',
19    'mpegaudiodsp_init.c',
20    'mpegaudiodsp_neon.S',
21    'neon.S',
22    'simple_idct_neon.S',
23    'videodsp.S',
24    'videodsp_init.c',
25    'vp8dsp_init_aarch64.c',
26    'vp8dsp_neon.S',
27    'vp9dsp_init_10bpp_aarch64.c',
28    'vp9dsp_init_12bpp_aarch64.c',
29    'vp9dsp_init_aarch64.c',
30    'vp9itxfm_16bpp_neon.S',
31    'vp9itxfm_neon.S',
32    'vp9lpf_16bpp_neon.S',
33    'vp9lpf_neon.S',
34    'vp9mc_16bpp_neon.S',
35    'vp9mc_neon.S',
36]
37
38if CONFIG['OS_ARCH'] == 'WINNT':
39    USE_INTEGRATED_CLANGCL_AS = True
40    DEFINES['EXTERN_ASM'] = ''
41
42if CONFIG['MOZ_LIBAV_FFT']:
43    SOURCES += [
44        'fft_init_aarch64.c',
45        'fft_neon.S',
46    ]
47
48FINAL_LIBRARY = 'mozavcodec'
49
50include('/media/ffvpx/ffvpxcommon.mozbuild')
51