summaryrefslogtreecommitdiff
path: root/libs/moz.build
blob: 8a4a5758f55f38d5a9dbf4a1f0bb2599477959e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DIRS += [
  'angle',
  'bsdiff',
  'brotli',
  'expat',
  'graphite2/src',
  'harfbuzz/src',
  'hyphen',
  'jsesc',
  'kiss_fft',
  'libcubeb',
  'libmkv',
  'libnestegg',
  'libogg',
  'libopus',
  'libpng',
  'libsoundtouch',
  'libspeex_resampler',
  'libstagefright',
  'libtheora',
  'libvpx',
  'libwebp',
  'libyuv',
  'ots/src',
  'protobuf',
  'qcms',
  'snappy',
  'woff2',
  'ycbcr',
  'xz-embedded',
]

if not CONFIG['MOZ_SYSTEM_BZ2']:
  DIRS += ['libbz2']

if CONFIG['CPU_ARCH'] == 'arm':
  DIRS += ['openmax_dl']

if CONFIG['MOZ_AV1']:
  DIRS += ['libaom']

if CONFIG['MOZ_ENABLE_SKIA']:
  DIRS += ['skia']

if CONFIG['MOZ_FFVPX']:
  DIRS += ['ffvpx']

if CONFIG['MOZ_LIBAV_FFT']:
  DIRS += ['libav']

if not CONFIG['MOZ_SYSTEM_HUNSPELL']:
  DIRS += ['hunspell']

if CONFIG['MOZ_SCTP']:
  DIRS += ['sctp']

if CONFIG['MOZ_SRTP']:
  DIRS += ['srtp/src']

if not CONFIG['MOZ_SYSTEM_JPEG']:
  DIRS += ['libjpeg']

if CONFIG['MOZ_TREE_CAIRO']:
  DIRS += ['cairo']

if CONFIG['MOZ_TREE_PIXMAN']:
  DIRS += ['libpixman']

if CONFIG['MOZ_TREMOR']:
  DIRS += ['libtremor']

if CONFIG['MOZ_VORBIS']:
  DIRS += ['libvorbis']