summaryrefslogtreecommitdiff
path: root/libs/moz.build
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-02-12 17:47:03 +0000
committerMatt A. Tobin <email@mattatobin.com>2022-02-12 14:23:18 -0600
commitf66babd8b8368ada3e5aa29cdef1c77291ee4ddd (patch)
treee3842e2a6bf19090185f9c475b3846e1bb79ac97 /libs/moz.build
downloadGRE-f66babd8b8368ada3e5aa29cdef1c77291ee4ddd.tar.gz
Create the Goanna Runtime Environment
Diffstat (limited to 'libs/moz.build')
-rw-r--r--libs/moz.build78
1 files changed, 78 insertions, 0 deletions
diff --git a/libs/moz.build b/libs/moz.build
new file mode 100644
index 000000000..8a4a5758f
--- /dev/null
+++ b/libs/moz.build
@@ -0,0 +1,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']