xref: /aosp_15_r20/external/libdav1d/meson_options.txt (revision c09093415860a1c2373dacd84c4fde00c507cdfd)
1# General options
2
3option('bitdepths',
4    type: 'array',
5    choices: ['8', '16'],
6    description: 'Enable only specified bitdepths')
7
8option('enable_asm',
9    type: 'boolean',
10    value: true,
11    description: 'Build asm files, if available')
12
13option('enable_tools',
14    type: 'boolean',
15    value: true,
16    description: 'Build dav1d cli tools')
17
18option('enable_examples',
19    type: 'boolean',
20    value: false,
21    description: 'Build dav1d examples')
22
23option('enable_tests',
24    type: 'boolean',
25    value: true,
26    description: 'Build dav1d tests')
27
28option('enable_seek_stress',
29    type: 'boolean',
30    value: false,
31    description: 'Build seek_stress test tool')
32
33option('enable_docs',
34    type: 'boolean',
35    value: false,
36    description: 'Build dav1d documentation')
37
38option('logging',
39    type: 'boolean',
40    value: true,
41    description: 'Print error log messages using the provided callback function')
42
43option('testdata_tests',
44    type: 'boolean',
45    value: false,
46    description: 'Run tests requiring the test data repository')
47
48option('fuzzing_engine',
49    type: 'combo',
50    choices : ['none', 'libfuzzer', 'oss-fuzz'],
51    value: 'none',
52    description: 'Select the fuzzing engine')
53
54option('fuzzer_ldflags',
55    type: 'string',
56    description: 'Extra LDFLAGS used during linking of fuzzing binaries')
57
58option('stack_alignment',
59    type: 'integer',
60    value: 0)
61
62option('xxhash_muxer',
63    type : 'feature',
64    value : 'auto')
65
66option('trim_dsp',
67    type: 'combo',
68    choices: ['true', 'false', 'if-release'],
69    value: 'if-release',
70    description: 'Eliminate redundant DSP functions where possible')
71
72option('macos_kperf',
73    type: 'boolean',
74    value: false,
75    description: 'Use the private macOS kperf API for benchmarking')
76