2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-08-14 10:57:26 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
2013-08-10 02:01:08 +04:00
|
|
|
|
|
|
|
external_dirs = []
|
|
|
|
|
2014-08-07 09:21:03 +04:00
|
|
|
DIRS += [
|
2015-07-02 07:11:46 +03:00
|
|
|
"lgpllibs",
|
2019-12-19 19:05:35 +03:00
|
|
|
"rlbox",
|
2014-08-07 09:21:03 +04:00
|
|
|
"sqlite",
|
|
|
|
]
|
2021-07-09 23:49:29 +03:00
|
|
|
|
|
|
|
if CONFIG["MOZ_USING_WASM_SANDBOXING"]:
|
2021-08-12 00:58:52 +03:00
|
|
|
DIRS += [
|
|
|
|
"rlbox_wasm2c_sandbox",
|
|
|
|
"wasm2c_sandbox_compiler",
|
|
|
|
]
|
2021-07-09 23:49:29 +03:00
|
|
|
|
2016-02-01 18:49:34 +03:00
|
|
|
if not CONFIG["MOZ_SYSTEM_JPEG"]:
|
2013-08-10 02:01:08 +04:00
|
|
|
external_dirs += ["media/libjpeg"]
|
|
|
|
|
2019-02-15 00:45:27 +03:00
|
|
|
DIRS += [
|
2019-02-27 21:58:37 +03:00
|
|
|
"/third_party/prio",
|
|
|
|
"/third_party/msgpack",
|
2020-09-11 23:19:42 +03:00
|
|
|
"/third_party/sipcc",
|
2019-02-15 00:45:27 +03:00
|
|
|
]
|
2018-08-27 23:07:51 +03:00
|
|
|
|
2016-02-02 10:52:00 +03:00
|
|
|
# There's no "native" brotli or woff2 yet, but probably in the future...
|
2014-10-04 13:02:24 +04:00
|
|
|
external_dirs += ["modules/brotli"]
|
2016-02-02 10:52:00 +03:00
|
|
|
external_dirs += ["modules/woff2"]
|
2014-10-04 13:02:24 +04:00
|
|
|
|
2017-07-31 09:26:56 +03:00
|
|
|
external_dirs += ["modules/xz-embedded"]
|
|
|
|
|
2013-08-10 02:01:08 +04:00
|
|
|
if CONFIG["MOZ_VORBIS"]:
|
|
|
|
external_dirs += ["media/libvorbis"]
|
|
|
|
|
|
|
|
if CONFIG["MOZ_TREMOR"]:
|
|
|
|
external_dirs += ["media/libtremor"]
|
|
|
|
|
2014-01-15 10:21:14 +04:00
|
|
|
if CONFIG["MOZ_WEBM_ENCODER"]:
|
|
|
|
external_dirs += ["media/libmkv"]
|
|
|
|
|
2016-02-01 18:49:34 +03:00
|
|
|
if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
|
2013-08-10 02:01:08 +04:00
|
|
|
external_dirs += ["media/libvpx"]
|
|
|
|
|
2017-04-18 19:08:18 +03:00
|
|
|
if CONFIG["MOZ_AV1"]:
|
|
|
|
external_dirs += ["media/libaom"]
|
2018-11-24 04:53:31 +03:00
|
|
|
external_dirs += ["media/libdav1d"]
|
2017-04-18 19:08:18 +03:00
|
|
|
|
2016-02-01 18:49:34 +03:00
|
|
|
if not CONFIG["MOZ_SYSTEM_PNG"]:
|
2013-08-10 02:01:08 +04:00
|
|
|
external_dirs += ["media/libpng"]
|
|
|
|
|
2018-10-04 00:40:47 +03:00
|
|
|
if not CONFIG["MOZ_SYSTEM_WEBP"]:
|
|
|
|
external_dirs += ["media/libwebp"]
|
|
|
|
|
2015-05-04 18:19:03 +03:00
|
|
|
if CONFIG["CPU_ARCH"] == "arm":
|
2017-11-08 21:57:32 +03:00
|
|
|
external_dirs += ["media/openmax_dl/dl"]
|
2013-11-13 07:07:28 +04:00
|
|
|
|
2015-11-12 11:58:02 +03:00
|
|
|
if CONFIG["MOZ_FFVPX"]:
|
|
|
|
external_dirs += ["media/ffvpx"]
|
|
|
|
|
2021-05-06 05:00:55 +03:00
|
|
|
if CONFIG["MOZ_JXL"]:
|
|
|
|
external_dirs += ["media/libjxl", "media/highway"]
|
|
|
|
|
2013-11-28 08:06:59 +04:00
|
|
|
external_dirs += [
|
|
|
|
"media/kiss_fft",
|
2013-11-28 09:09:08 +04:00
|
|
|
"media/libcubeb",
|
2015-12-12 21:49:07 +03:00
|
|
|
"media/libnestegg",
|
2014-02-21 06:01:00 +04:00
|
|
|
"media/libogg",
|
2014-11-28 12:20:00 +03:00
|
|
|
"media/libopus",
|
2014-02-21 06:01:00 +04:00
|
|
|
"media/libtheora",
|
2013-11-28 08:06:59 +04:00
|
|
|
"media/libspeex_resampler",
|
|
|
|
"media/libsoundtouch",
|
2017-11-15 04:51:38 +03:00
|
|
|
"media/mp4parse-rust",
|
2016-10-06 10:23:38 +03:00
|
|
|
"media/psshparser",
|
2013-11-28 08:06:59 +04:00
|
|
|
]
|
2013-08-10 02:01:08 +04:00
|
|
|
|
2014-07-29 03:57:59 +04:00
|
|
|
DIRS += ["../../" + i for i in external_dirs]
|