Bug 1867925 - Mark some storage-access-api tests as intermittent after wpt-sync....
[gecko.git] / config / external / moz.build
blob2fc8df57992ed8eac2f0ce703e607ddb75bccc5f
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/.
7 external_dirs = []
9 DIRS += [
10     "gkcodecs",
11     "lgpllibs",
12     "rlbox",
13     "sqlite",
16 if CONFIG["MOZ_USING_WASM_SANDBOXING"]:
17     DIRS += [
18         "rlbox_wasm2c_sandbox",
19         "wasm2c_sandbox_compiler",
20     ]
22 if not CONFIG["MOZ_SYSTEM_JPEG"]:
23     external_dirs += ["media/libjpeg"]
25 DIRS += [
26     "/third_party/msgpack",
27     "/third_party/sipcc",
30 # There's no "native" brotli or woff2 yet, but probably in the future...
31 external_dirs += ["modules/brotli"]
32 external_dirs += ["modules/woff2"]
34 external_dirs += ["modules/xz-embedded"]
36 if CONFIG["MOZ_VORBIS"]:
37     external_dirs += ["media/libvorbis"]
39 if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
40     external_dirs += ["media/libvpx"]
42 if CONFIG["MOZ_AV1"]:
43     external_dirs += ["media/libaom"]
44     external_dirs += ["media/libdav1d"]
46 if not CONFIG["MOZ_SYSTEM_PNG"]:
47     external_dirs += ["media/libpng"]
49 if not CONFIG["MOZ_SYSTEM_WEBP"]:
50     external_dirs += ["media/libwebp"]
52 if CONFIG["TARGET_CPU"] == "arm":
53     external_dirs += ["media/openmax_dl/dl"]
55 if CONFIG["MOZ_FFVPX"]:
56     external_dirs += ["media/ffvpx"]
58 if CONFIG["MOZ_JXL"]:
59     external_dirs += ["media/libjxl", "media/highway"]
61 external_dirs += [
62     "media/kiss_fft",
63     "media/libcubeb",
64     "media/libmkv",
65     "media/libnestegg",
66     "media/libogg",
67     "media/libopus",
68     "media/libtheora",
69     "media/libspeex_resampler",
70     "media/libsoundtouch",
71     "media/mp4parse-rust",
72     "media/psshparser",
75 DIRS += ["../../" + i for i in external_dirs]