diff options
| author | Martin Filla <freebsd@sysctl.cz> | 2026-11-30 02:40:43 +0000 |
|---|---|---|
| committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2026-11-30 02:44:03 +0000 |
| commit | e70859caaccce30cec4f1553defcc50a24d5cbee (patch) (diff) | |
| tree | b7fe97efa0f7abbcf434d49abb6b0ca8dedd6689 | |
| download | ports-e70859caaccce30cec4f1553defcc50a24d5cbee.tar.gz | |
| previous commit | 1e697a61ce57c0ec0e684166ded88cc85591bb4d (sysutils/vm-bhyve-devel: Update to the latest commit) | |
www/librewolf: Update 160.0.1-1 => 161.0-1
Release Notes:
https://www.firefox.com/en-US/firefox/161.0/releasenotes/
Changelog:
https://librewolf.dev/librewolf/source/releases/tag/161.0-1
PR: 301266
Sponsored by: UNIS Labs (vvd, commit patch)
MFH: 2026Q4
(cherry picked from commit 3715ecf2795c1e4af4999ecd0791fa83b1a565db)
| -rw-r--r-- | www/librewolf/Makefile | [diff] [file] | 7 | ||||
| -rw-r--r-- | www/librewolf/distinfo | [diff] [file] | 6 | ||||
| -rw-r--r-- | www/librewolf/files/patch-build_gn__processor.py | [diff] [file] | 20 | ||||
| -rw-r--r-- | www/librewolf/files/patch-libwebrtc-generated | [diff] [file] | 1724 | ||||
| -rw-r--r-- | www/librewolf/files/patch-python_sites_mach.txt | [diff] [file] | 6 | ||||
| -rw-r--r-- | www/librewolf/files/patch-third__party_angle-freebsd | [diff] [file] | 909 | ||||
| -rw-r--r-- | www/librewolf/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn | [diff] [file] | 47 | ||||
| -rw-r--r-- | www/librewolf/files/patch-toolkit_components_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc (renamed from www/librewolf/files/patch-toolkit_compontents_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc) | [diff] [file] | 0 |
8 files changed, 2343 insertions, 376 deletions
diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile index cb9aabc8414f..37ee768401ac 100644 --- a/www/librewolf/Makefile +++ b/www/librewolf/Makefile @@ -1,5 +1,5 @@ PORTNAME= librewolf -DISTVERSION= 160.0.1 +DISTVERSION= 161.0 LWPATCH= -1 DISTVERSIONSUFFIX= ${LWPATCH}.source CATEGORIES= www wayland @@ -10,11 +10,14 @@ MAINTAINER= freebsd@sysctl.cz COMMENT= Custom version of Firefox, focused on privacy, security and freedom WWW= https://librewolf.net/ +NOT_FOR_ARCHS= i386 +NOT_FOR_ARCHS_REASON= fails to build: rust needs more address space than platform can provide + LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nspr>=4.32:devel/nspr \ - nss>=3.132:security/nss \ + nss>=3.133:security/nss \ libevent>=2.1.8:devel/libevent \ harfbuzz>=10.1.0:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo index 27b440c29a5c..7600bf3f3cfc 100644 --- a/www/librewolf/distinfo +++ b/www/librewolf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1794993797 -SHA256 (librewolf-160.0.1-1.source.tar.gz) = bcd5d6a782f713458794cd38109ed3b7e8e57f23523339ee78f9af78d0c71990 -SIZE (librewolf-160.0.1-1.source.tar.gz) = 1180354700 +TIMESTAMP = 1795944136 +SHA256 (librewolf-161.0-1.source.tar.gz) = 81646ff5d0fda58239270ede958bd6655f502b2e3891cc7e9ce95c33629640d3 +SIZE (librewolf-161.0-1.source.tar.gz) = 1183573109 diff --git a/www/librewolf/files/patch-build_gn__processor.py b/www/librewolf/files/patch-build_gn__processor.py index 06d9b7c8388b..606ad13cc552 100644 --- a/www/librewolf/files/patch-build_gn__processor.py +++ b/www/librewolf/files/patch-build_gn__processor.py @@ -1,21 +1,29 @@ -commit f45598b3294cc98c4b1f446aebbe0bdb1e5f5d75 +commit 31d12ac8ef344f0ffe2942787a9884fb2ad7c19e Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> FreeBSD workings for webrtc configure (gn_processor.py) diff --git build/gn_processor.py build/gn_processor.py -index 9d04c760f1e9..e091524a3fa2 100644 +index c2d98c299082..64b286f5425e 100644 --- build/gn_processor.py +++ build/gn_processor.py -@@ -215,6 +215,7 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target): +@@ -227,6 +227,7 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target): } - oses = { + os_targets = { "android": "Android", + "freebsd": "FreeBSD", "linux": "Linux", "mac": "Darwin", "ios": "Darwin", -@@ -1063,17 +1064,17 @@ def generate_gn_configs(topsrcdir, config): +@@ -237,6 +238,7 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target): + # macOS and iOS (which both have OS_TARGET == "Darwin"). + target_oses = { + "android": "Android", ++ "freebsd": "FreeBSD", + "linux": "GNU", + "mac": "OSX", + "ios": "iOS", +@@ -1154,17 +1156,17 @@ def generate_gn_configs(topsrcdir, config): vars_set = [] for is_debug in (True, False): @@ -38,7 +46,7 @@ index 9d04c760f1e9..e091524a3fa2 100644 target_cpus.extend(["loong64", "ppc64", "mipsel", "mips64el"]) for target_cpu in target_cpus: vars = { -@@ -1087,7 +1088,7 @@ def generate_gn_configs(topsrcdir, config): +@@ -1178,7 +1180,7 @@ def generate_gn_configs(topsrcdir, config): vars.update(config_args.get("*", {})) vars.update(config_args.get(target_os, {})) diff --git a/www/librewolf/files/patch-libwebrtc-generated b/www/librewolf/files/patch-libwebrtc-generated index 9c542bf3ebe9..5a19233c0874 100644 --- a/www/librewolf/files/patch-libwebrtc-generated +++ b/www/librewolf/files/patch-libwebrtc-generated @@ -1,7 +1,7 @@ -commit 4500a0e86009aeddd12853570a6f7c6cd7bbcc34 +commit 1ef0c23bf23634323d9fee5c8ab14cf009917536 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> - regenerate FreeBSD libwebrtc patch for gecko 160 + regenerate FreeBSD libwebrtc patch for gecko 161 diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build index 847afd5241f6..a97399cd3908 100644 @@ -14777,6 +14777,379 @@ index 5f63ecc04163..8ca9cae5af25 100644 - DEFINES["_GNU_SOURCE"] = True - Library("sequence_checker_gn") +diff --git third_party/libwebrtc/api/sframe_encryptor_interface_gn/moz.build third_party/libwebrtc/api/sframe_encryptor_interface_gn/moz.build +index ace7a95a6fdf..0d0e8316f131 100644 +--- third_party/libwebrtc/api/sframe_encryptor_interface_gn/moz.build ++++ third_party/libwebrtc/api/sframe_encryptor_interface_gn/moz.build +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_DEPRECATE_PLAN_B"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_ENCODER_PSNR_STATS"] = True + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" + DEFINES["WEBRTC_WITHOUT_RUST"] = True ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -44,97 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "log" +- ] +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "-framework Foundation" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -142,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +@@ -170,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": + + DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["_GNU_SOURCE"] = True +- + Library("sframe_encryptor_interface_gn") +diff --git third_party/libwebrtc/api/sframe_types_gn/moz.build third_party/libwebrtc/api/sframe_types_gn/moz.build +index fe5236a0ccd5..5d64456851c3 100644 +--- third_party/libwebrtc/api/sframe_types_gn/moz.build ++++ third_party/libwebrtc/api/sframe_types_gn/moz.build +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_DEPRECATE_PLAN_B"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_ENCODER_PSNR_STATS"] = True + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" + DEFINES["WEBRTC_WITHOUT_RUST"] = True ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -44,82 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -127,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +@@ -155,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": + + DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["_GNU_SOURCE"] = True +- + Library("sframe_types_gn") diff --git third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build index ed096f9f3932..88880226e110 100644 --- third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build @@ -20165,10 +20538,10 @@ index 03fb8aabd10f..f15d88a8e9bd 100644 + DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_instrumentation_generator_factory_gn") -diff --git third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_header_gn/moz.build third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_header_gn/moz.build -index 44b336611c2e..47d68544494a 100644 ---- third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_header_gn/moz.build -+++ third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_header_gn/moz.build +diff --git third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_gn/moz.build third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_gn/moz.build +index 5bbdf9251301..ce85df4640b6 100644 +--- third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_gn/moz.build ++++ third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True @@ -20358,7 +20731,7 @@ index 44b336611c2e..47d68544494a 100644 - - DEFINES["_GNU_SOURCE"] = True - - Library("frame_instrumentation_generator_header_gn") + Library("frame_instrumentation_generator_gn") diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build index f4ce8a1127d3..cf3fe34de5b1 100644 --- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build @@ -27380,6 +27753,200 @@ index 1183122cdcd3..25de67a34824 100644 - DEFINES["_GNU_SOURCE"] = True - Library("video_encoder_factory_template_open_h264_adapter_gn") +diff --git third_party/libwebrtc/api/video_codecs/video_encoder_interface_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_interface_gn/moz.build +index ce2fdb88c4e2..a23b99bb74fd 100644 +--- third_party/libwebrtc/api/video_codecs/video_encoder_interface_gn/moz.build ++++ third_party/libwebrtc/api/video_codecs/video_encoder_interface_gn/moz.build +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_DEPRECATE_PLAN_B"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_ENCODER_PSNR_STATS"] = True + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" + DEFINES["WEBRTC_WITHOUT_RUST"] = True ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -44,97 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "log" +- ] +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "-framework Foundation" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -142,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +@@ -170,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": + + DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["_GNU_SOURCE"] = True +- + Library("video_encoder_interface_gn") diff --git third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build index ec4a04826d5e..9bb30c40f623 100644 --- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build @@ -30689,7 +31256,7 @@ index 20e846666474..5dc483e5fe0f 100644 Library("rtp_sender_gn") diff --git third_party/libwebrtc/call/sframe_options_gn/moz.build third_party/libwebrtc/call/sframe_options_gn/moz.build -index 9e8ab4554000..ddbea07b3ef4 100644 +index 9905139c3e66..ddbea07b3ef4 100644 --- third_party/libwebrtc/call/sframe_options_gn/moz.build +++ third_party/libwebrtc/call/sframe_options_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -30716,7 +31283,7 @@ index 9e8ab4554000..ddbea07b3ef4 100644 FINAL_LIBRARY = "xul" -@@ -44,82 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,97 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30735,6 +31302,10 @@ index 9e8ab4554000..ddbea07b3ef4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "log" +- ] +- -if CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["WEBRTC_MAC"] = True @@ -30742,6 +31313,10 @@ index 9e8ab4554000..ddbea07b3ef4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -30796,11 +31371,18 @@ index 9e8ab4554000..ddbea07b3ef4 100644 - DEFINES["_WINDOWS"] = True - DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] + DEFINES["_DEBUG"] = True if CONFIG["TARGET_CPU"] == "aarch64": -@@ -127,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -142,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -30826,7 +31408,7 @@ index 9e8ab4554000..ddbea07b3ef4 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -155,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -31832,7 +32414,7 @@ index b08574899b1b..8d404348be4f 100644 - Library("common_audio_c_arm_asm_gn") diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build -index 446de78990e9..5616ecdeb930 100644 +index 2966089a3397..88d9d00dabc9 100644 --- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -31859,7 +32441,7 @@ index 446de78990e9..5616ecdeb930 100644 FINAL_LIBRARY = "xul" -@@ -83,98 +92,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -82,98 +91,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -31959,7 +32541,7 @@ index 446de78990e9..5616ecdeb930 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -182,20 +100,12 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -181,20 +99,12 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -31982,7 +32564,7 @@ index 446de78990e9..5616ecdeb930 100644 UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] -@@ -204,7 +114,6 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -203,7 +113,6 @@ if CONFIG["TARGET_CPU"] == "mips32": DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True @@ -31990,7 +32572,7 @@ index 446de78990e9..5616ecdeb930 100644 SOURCES += [ "/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c" -@@ -219,8 +128,6 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -218,8 +127,6 @@ if CONFIG["TARGET_CPU"] == "mips32": if CONFIG["TARGET_CPU"] == "mips64": @@ -31999,7 +32581,7 @@ index 446de78990e9..5616ecdeb930 100644 UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] -@@ -231,89 +138,27 @@ if CONFIG["TARGET_CPU"] == "ppc64": +@@ -230,89 +137,27 @@ if CONFIG["TARGET_CPU"] == "ppc64": "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] @@ -32095,7 +32677,7 @@ index 446de78990e9..5616ecdeb930 100644 UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" diff --git third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build -index 1937e379d9d7..80e0a5da3f77 100644 +index 44bc12db2275..c080f7352b01 100644 --- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -32122,7 +32704,7 @@ index 1937e379d9d7..80e0a5da3f77 100644 FINAL_LIBRARY = "xul" -@@ -48,86 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,86 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32210,7 +32792,7 @@ index 1937e379d9d7..80e0a5da3f77 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -135,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -136,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -61643,7 +62225,7 @@ index 2639b8f1cc44..1b4be9858ef6 100644 CXXFLAGS += [ "-msse2" diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build -index e42d0c59cff2..d550e4b64e04 100644 +index 121db015bf64..35dad0ae9d1c 100644 --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build @@ -26,14 +26,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -61670,11 +62252,12 @@ index e42d0c59cff2..d550e4b64e04 100644 FINAL_LIBRARY = "xul" -@@ -86,191 +95,14 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -86,66 +95,11 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" -- ++ DEFINES["_DEBUG"] = True + -if CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["WEBRTC_MAC"] = True @@ -61723,46 +62306,25 @@ index e42d0c59cff2..d550e4b64e04 100644 - ] - -if CONFIG["OS_TARGET"] == "OpenBSD": -- ++if CONFIG["MOZ_X11"] == "1": + - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["WEBRTC_USE_X11"] = True + DEFINES["WEBRTC_USE_X11"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True -- -- OS_LIBS += [ -- "X11", -- "Xcomposite", -- "Xdamage", -- "Xext", -- "Xfixes", -- "Xrandr", -- "Xrender" -- ] -- -- SOURCES += [ -- "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" -- ] -- -- UNIFIED_SOURCES += [ -- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_capturer_x11.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc", -- "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", -- "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" -- ] -- + + OS_LIBS += [ + "X11", +@@ -175,102 +129,12 @@ if CONFIG["OS_TARGET"] == "OpenBSD": + "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" + ] + -if CONFIG["OS_TARGET"] == "WINNT": - - DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True @@ -61841,8 +62403,7 @@ index e42d0c59cff2..d550e4b64e04 100644 - "/third_party/libwebrtc/modules/desktop_capture/window_capturer_win.cc", - "/third_party/libwebrtc/modules/desktop_capture/window_finder_win.cc" - ] -+ DEFINES["_DEBUG"] = True - +- if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_ARCH_ARM64"] = True @@ -61864,23 +62425,10 @@ index e42d0c59cff2..d550e4b64e04 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -278,7 +110,8 @@ if CONFIG["TARGET_CPU"] == "arm": +@@ -291,39 +155,11 @@ if CONFIG["TARGET_CPU"] == "arm": + "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" ] - SOURCES += [ -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" - ] - - UNIFIED_SOURCES += [ -@@ -288,34 +121,9 @@ if CONFIG["TARGET_CPU"] == "arm": - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" -- ] -- -if CONFIG["TARGET_CPU"] == "loongarch64": - - DEFINES["WEBRTC_USE_X11"] = True @@ -61906,13 +62454,10 @@ index e42d0c59cff2..d550e4b64e04 100644 - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" - ] - +- ] +- if CONFIG["TARGET_CPU"] == "mips32": -@@ -323,7 +131,6 @@ if CONFIG["TARGET_CPU"] == "mips32": + DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True @@ -61920,26 +62465,7 @@ index e42d0c59cff2..d550e4b64e04 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -331,7 +138,8 @@ if CONFIG["TARGET_CPU"] == "mips32": - ] - - SOURCES += [ -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" - ] - - UNIFIED_SOURCES += [ -@@ -341,13 +149,14 @@ if CONFIG["TARGET_CPU"] == "mips32": - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" - ] - +@@ -347,7 +183,6 @@ if CONFIG["TARGET_CPU"] == "mips32": if CONFIG["TARGET_CPU"] == "mips64": DEFINES["WEBRTC_USE_PIPEWIRE"] = True @@ -61947,23 +62473,10 @@ index e42d0c59cff2..d550e4b64e04 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -355,7 +164,8 @@ if CONFIG["TARGET_CPU"] == "mips64": - ] - - SOURCES += [ -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" +@@ -368,60 +203,14 @@ if CONFIG["TARGET_CPU"] == "mips64": + "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" ] - UNIFIED_SOURCES += [ -@@ -365,117 +175,19 @@ if CONFIG["TARGET_CPU"] == "mips64": - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" -- ] -- -if CONFIG["TARGET_CPU"] == "ppc64": - - DEFINES["WEBRTC_USE_X11"] = True @@ -61988,18 +62501,18 @@ index e42d0c59cff2..d550e4b64e04 100644 - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" - ] - +- ] +- if CONFIG["TARGET_CPU"] == "x86": - DEFINES["WEBRTC_ENABLE_AVX2"] = True - -if CONFIG["TARGET_CPU"] == "x86_64": -- -- DEFINES["WEBRTC_ENABLE_AVX2"] = True ++ CXXFLAGS += [ ++ "-msse2" ++ ] + + DEFINES["WEBRTC_ENABLE_AVX2"] = True - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": - @@ -62019,28 +62532,15 @@ index e42d0c59cff2..d550e4b64e04 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["WEBRTC_USE_PIPEWIRE"] = True + DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True -- -- LOCAL_INCLUDES += [ -- "/third_party/libepoxy/libepoxy/include/", -- "/third_party/libwebrtc/third_party/libepoxy/libepoxy/include/" -- ] -- -- SOURCES += [ -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc" -- ] -- -- UNIFIED_SOURCES += [ -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" -- ] -- + + LOCAL_INCLUDES += [ + "/third_party/libepoxy/libepoxy/include/", +@@ -442,40 +231,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": + "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" + ] + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": - - DEFINES["WEBRTC_USE_X11"] = True @@ -62069,9 +62569,10 @@ index e42d0c59cff2..d550e4b64e04 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ - "-msse2" - ] +- CXXFLAGS += [ +- "-msse2" +- ] ++if CONFIG["TARGET_CPU"] == "x86_64": + DEFINES["WEBRTC_ENABLE_AVX2"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True @@ -62079,65 +62580,39 @@ index e42d0c59cff2..d550e4b64e04 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -483,7 +195,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - ] - - SOURCES += [ -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" - ] - - UNIFIED_SOURCES += [ -@@ -493,13 +206,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", -- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" +@@ -496,184 +255,83 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": + "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" ] -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["TARGET_CPU"] == "x86_64": - -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - DEFINES["WEBRTC_USE_PIPEWIRE"] = True +- +- DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True - - LOCAL_INCLUDES += [ - "/third_party/libepoxy/libepoxy/include/", -@@ -507,7 +222,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - ] +- +- LOCAL_INCLUDES += [ +- "/third_party/libepoxy/libepoxy/include/", +- "/third_party/libwebrtc/third_party/libepoxy/libepoxy/include/" +- ] ++if not CONFIG["MOZ_X11"] and CONFIG["TARGET_CPU"] == "aarch64": SOURCES += [ - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc", + "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" ] UNIFIED_SOURCES += [ -@@ -517,10 +233,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" -+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", + "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", + "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" ] --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["WEBRTC_USE_X11"] = True - -@@ -546,134 +264,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" - ] - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["MOZ_X11"] == "1" and CONFIG["TARGET_CPU"] == "arm": - - DEFINES["WEBRTC_USE_X11"] = True - @@ -62150,7 +62625,7 @@ index e42d0c59cff2..d550e4b64e04 100644 - "Xrandr", - "Xrender" - ] -+if not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "loongarch64": ++if not CONFIG["MOZ_X11"] and CONFIG["TARGET_CPU"] == "loongarch64": UNIFIED_SOURCES += [ - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", @@ -62167,8 +62642,8 @@ index e42d0c59cff2..d550e4b64e04 100644 + "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" ] --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "loongarch64": +-if CONFIG["MOZ_X11"] == "1" and CONFIG["TARGET_CPU"] == "mips32": ++if not CONFIG["MOZ_X11"] and CONFIG["TARGET_CPU"] == "mips32": - DEFINES["WEBRTC_USE_X11"] = True - @@ -62198,8 +62673,9 @@ index e42d0c59cff2..d550e4b64e04 100644 + "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" ] --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": -- +-if CONFIG["MOZ_X11"] == "1" and CONFIG["TARGET_CPU"] == "mips64": ++if not CONFIG["MOZ_X11"] and CONFIG["TARGET_CPU"] == "mips64": + - DEFINES["WEBRTC_USE_X11"] = True - - OS_LIBS += [ @@ -62210,8 +62686,9 @@ index e42d0c59cff2..d550e4b64e04 100644 - "Xfixes", - "Xrandr", - "Xrender" -- ] -+if not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "ppc64": ++ SOURCES += [ ++ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" + ] UNIFIED_SOURCES += [ - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", @@ -62223,16 +62700,51 @@ index e42d0c59cff2..d550e4b64e04 100644 - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" ++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", ++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" + ] + +-if CONFIG["MOZ_X11"] == "1" and CONFIG["TARGET_CPU"] == "x86": ++if not CONFIG["MOZ_X11"] and CONFIG["TARGET_CPU"] == "ppc64": + +- DEFINES["WEBRTC_USE_X11"] = True +- +- OS_LIBS += [ +- "X11", +- "Xcomposite", +- "Xdamage", +- "Xext", +- "Xfixes", +- "Xrandr", +- "Xrender" ++ UNIFIED_SOURCES += [ + "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", + "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", + "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" ] --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "ppc64": ++if not CONFIG["MOZ_X11"] and CONFIG["TARGET_CPU"] == "riscv64": ++ + UNIFIED_SOURCES += [ +- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_capturer_x11.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", +- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" ++ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", ++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", ++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" + ] -- DEFINES["WEBRTC_USE_X11"] = True +-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["WEBRTC_USE_X11"] = True ++if not CONFIG["MOZ_X11"] and CONFIG["TARGET_CPU"] == "x86": + - OS_LIBS += [ - "X11", - "Xcomposite", @@ -62260,14 +62772,9 @@ index e42d0c59cff2..d550e4b64e04 100644 ] -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "riscv64": - +- - DEFINES["WEBRTC_USE_X11"] = True -+ UNIFIED_SOURCES += [ -+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", -+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" -+ ] ++if not CONFIG["MOZ_X11"] and CONFIG["TARGET_CPU"] == "x86_64": - OS_LIBS += [ - "X11", @@ -62277,8 +62784,6 @@ index e42d0c59cff2..d550e4b64e04 100644 - "Xfixes", - "Xrandr", - "Xrender" -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "riscv64": -+ + SOURCES += [ + "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" ] @@ -65829,6 +66334,394 @@ index a0821532f64e..56eb7e3b1c9b 100644 - DEFINES["_GNU_SOURCE"] = True - Library("sframe_rtp_packet_received_gn") +diff --git third_party/libwebrtc/modules/sframe/sframe_encryption_config_gn/moz.build third_party/libwebrtc/modules/sframe/sframe_encryption_config_gn/moz.build +index 3f0a0735faf2..610673bbfb02 100644 +--- third_party/libwebrtc/modules/sframe/sframe_encryption_config_gn/moz.build ++++ third_party/libwebrtc/modules/sframe/sframe_encryption_config_gn/moz.build +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_DEPRECATE_PLAN_B"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_ENCODER_PSNR_STATS"] = True + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" + DEFINES["WEBRTC_WITHOUT_RUST"] = True ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -44,97 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "log" +- ] +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "-framework Foundation" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -142,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +@@ -170,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": + + DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["_GNU_SOURCE"] = True +- + Library("sframe_encryption_config_gn") +diff --git third_party/libwebrtc/modules/sframe/sframe_media_encryptor_interface_gn/moz.build third_party/libwebrtc/modules/sframe/sframe_media_encryptor_interface_gn/moz.build +index e9d76f513f36..f9af36bb3999 100644 +--- third_party/libwebrtc/modules/sframe/sframe_media_encryptor_interface_gn/moz.build ++++ third_party/libwebrtc/modules/sframe/sframe_media_encryptor_interface_gn/moz.build +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_DEPRECATE_PLAN_B"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_ENCODER_PSNR_STATS"] = True + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" + DEFINES["WEBRTC_WITHOUT_RUST"] = True ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -44,97 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "log" +- ] +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "-framework Foundation" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -142,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +@@ -170,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": + + DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["_GNU_SOURCE"] = True +- + Library("sframe_media_encryptor_interface_gn") diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build index 63899cb49dfd..486591a8a755 100644 --- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build @@ -72198,7 +73091,7 @@ index bb04750a81cb..69def502705f 100644 Library("video_coding_gn") diff --git third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build -index 76075347d81a..3a4da3775eb6 100644 +index b42811088b6b..500e1276f699 100644 --- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -73880,10 +74773,10 @@ index ed03a17fabfe..5af46ee4daee 100644 Library("webrtc_vp9_helpers_gn") diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build -index b9bd89589d81..a808cedc70c9 100644 +index 7a9716cf6f82..26854f929c8b 100644 --- third_party/libwebrtc/moz.build +++ third_party/libwebrtc/moz.build -@@ -306,6 +306,8 @@ DIRS += [ +@@ -309,6 +309,8 @@ DIRS += [ "/third_party/libwebrtc/modules/congestion_controller/scream/scream_network_controller_gn", "/third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_gn", "/third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_parameters_gn", @@ -73892,7 +74785,7 @@ index b9bd89589d81..a808cedc70c9 100644 "/third_party/libwebrtc/modules/module_api_gn", "/third_party/libwebrtc/modules/module_api_public_gn", "/third_party/libwebrtc/modules/module_fec_api_gn", -@@ -540,143 +542,31 @@ DIRS += [ +@@ -546,69 +548,19 @@ DIRS += [ "/third_party/libwebrtc/webrtc_gn" ] @@ -73939,31 +74832,50 @@ index b9bd89589d81..a808cedc70c9 100644 - "/third_party/libwebrtc/rtc_base/win32_gn" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "aarch64": -- + if CONFIG["TARGET_CPU"] == "aarch64": + - DIRS += [ - "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", - "/third_party/libwebrtc/common_audio/common_audio_neon_gn" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["TARGET_CPU"] == "arm": - -- DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", -- "/third_party/libwebrtc/common_audio/common_audio_neon_gn", + DIRS += [ + "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", + "/third_party/libwebrtc/common_audio/common_audio_neon_gn", - "/third_party/libwebrtc/rtc_base/system/asm_defines_gn" -- ] -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- -- DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", ++ "/third_party/libwebrtc/common_audio/fir_filter_gn", ++ "/third_party/libwebrtc/modules/portal/portal_gn", ++ "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn" + ] + + if CONFIG["TARGET_CPU"] == "mips32": + + DIRS += [ +- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", +- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", + "/third_party/libwebrtc/modules/portal/portal_gn", + "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn" + ] +@@ -616,8 +568,6 @@ if CONFIG["TARGET_CPU"] == "mips32": + if CONFIG["TARGET_CPU"] == "mips64": + + DIRS += [ +- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", +- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", + "/third_party/libwebrtc/modules/portal/portal_gn", + "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn" + ] +@@ -627,109 +577,23 @@ if CONFIG["TARGET_CPU"] == "x86": + DIRS += [ + "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", + "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", - "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", - "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86_64": +-if CONFIG["TARGET_CPU"] == "x86_64": - - DIRS += [ - "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", @@ -73972,63 +74884,26 @@ index b9bd89589d81..a808cedc70c9 100644 - "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn" - ] - --if CONFIG["OS_TARGET"] == "Darwin" and CONFIG["TARGET_CPU"] == "aarch64": -- -- DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", -- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" -- ] -- -if CONFIG["OS_TARGET"] == "Darwin" and CONFIG["TARGET_CPU"] == "x86_64": - - DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", -- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", -- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": -+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "aarch64": - - DIRS += [ - "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", - "/third_party/libwebrtc/common_audio/common_audio_neon_gn", - "/third_party/libwebrtc/common_audio/fir_filter_gn", -- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", -- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", - "/third_party/libwebrtc/modules/portal/portal_gn", - "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn" - ] - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": -+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "mips32": - - DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", -- "/third_party/libwebrtc/common_audio/common_audio_neon_gn", +- +- DIRS += [ - "/third_party/libwebrtc/common_audio/fir_filter_gn", - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", - "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", - "/third_party/libwebrtc/modules/portal/portal_gn", -- "/third_party/libwebrtc/rtc_base/system/asm_defines_gn", - "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn" - ] - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": -+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "mips64": - - DIRS += [ -- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", -- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", - "/third_party/libwebrtc/modules/portal/portal_gn", - "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn" - ] - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": +- "/third_party/libwebrtc/modules/portal/portal_gn", +- "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - - DIRS += [ +- "/third_party/libwebrtc/common_audio/fir_filter_gn", - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", - "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", - "/third_party/libwebrtc/modules/portal/portal_gn", @@ -74036,13 +74911,11 @@ index b9bd89589d81..a808cedc70c9 100644 - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "x86": - - DIRS += [ - "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -@@ -685,13 +575,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", - "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", +- +- DIRS += [ + "/third_party/libwebrtc/common_audio/fir_filter_gn", ++ "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", ++ "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", - "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", @@ -74051,13 +74924,14 @@ index b9bd89589d81..a808cedc70c9 100644 ] -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "x86_64": ++if CONFIG["TARGET_CPU"] == "x86_64": DIRS += [ - "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -@@ -700,75 +588,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", - "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", ++ "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", ++ "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", + "/third_party/libwebrtc/common_audio/fir_filter_gn", ++ "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", ++ "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", - "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", @@ -74068,57 +74942,36 @@ index b9bd89589d81..a808cedc70c9 100644 -if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "aarch64": - - DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", -- "/third_party/libwebrtc/common_audio/common_audio_neon_gn", - "/third_party/libwebrtc/common_audio/fir_filter_gn" - ] - -if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "x86_64": - - DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", - "/third_party/libwebrtc/common_audio/fir_filter_gn", -- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", -- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" - ] - --if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64": -- -- DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", -- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" -- ] -- -if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "x86": - - DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", -- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", -- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" - ] - -if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "x86_64": - - DIRS += [ -- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", -- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", -- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" - ] - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "loongarch64": +-if CONFIG["MOZ_X11"] == "1" and CONFIG["TARGET_CPU"] == "loongarch64": - - DIRS += [ - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", - "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" - ] - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "ppc64": +-if CONFIG["MOZ_X11"] == "1" and CONFIG["TARGET_CPU"] == "ppc64": - - DIRS += [ - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", @@ -88337,6 +89190,219 @@ index 2f88f49772f1..b7d2f1e31fae 100644 + DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rate_control_settings_gn") +diff --git third_party/libwebrtc/rtc_base/experiments/retransmit_flushed_packets_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/retransmit_flushed_packets_settings_gn/moz.build +index f0f808767256..b99232acb7ab 100644 +--- third_party/libwebrtc/rtc_base/experiments/retransmit_flushed_packets_settings_gn/moz.build ++++ third_party/libwebrtc/rtc_base/experiments/retransmit_flushed_packets_settings_gn/moz.build +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_DEPRECATE_PLAN_B"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_ENCODER_PSNR_STATS"] = True + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" + DEFINES["WEBRTC_WITHOUT_RUST"] = True ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "log" +- ] +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "-framework Foundation" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- CXXFLAGS += [ +- "-mfpu=neon" +- ] +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- +-if CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": +- + CXXFLAGS += [ + "-msse2" + ] + +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- +- CXXFLAGS += [ +- "-msse2" +- ] +- +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": ++if CONFIG["TARGET_CPU"] == "x86_64": + +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + + Library("retransmit_flushed_packets_settings_gn") diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build index d8df9447387c..ab52b56d50fe 100644 --- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build @@ -110807,7 +111873,7 @@ index d37c5dfac0a7..b8a76706188d 100644 - Library("video_stream_encoder_interface_gn") diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build -index 8f65ea1e5422..f3f33a009af8 100644 +index 8f65ea1e5422..5eaf538d0f4f 100644 --- third_party/libwebrtc/webrtc_gn/moz.build +++ third_party/libwebrtc/webrtc_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -110834,11 +111900,12 @@ index 8f65ea1e5422..f3f33a009af8 100644 FINAL_LIBRARY = "xul" -@@ -44,130 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,76 +53,9 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" -- ++ DEFINES["_DEBUG"] = True + -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True @@ -110908,17 +111975,14 @@ index 8f65ea1e5422..f3f33a009af8 100644 - DEFINES["_LARGEFILE_SOURCE"] = True - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True -- -- OS_LIBS += [ -- "X11", -- "Xcomposite", -- "Xdamage", -- "Xext", -- "Xfixes", -- "Xrandr", -- "Xrender" -- ] -- ++if CONFIG["MOZ_X11"] == "1": + + OS_LIBS += [ + "X11", +@@ -125,75 +67,16 @@ if CONFIG["OS_TARGET"] == "OpenBSD": + "Xrender" + ] + -if CONFIG["OS_TARGET"] == "WINNT": - - DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True @@ -110962,11 +112026,10 @@ index 8f65ea1e5422..f3f33a009af8 100644 - "user32", - "winmm" - ] -+ DEFINES["_DEBUG"] = True - +- if CONFIG["TARGET_CPU"] == "aarch64": -@@ -175,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -110992,7 +112055,7 @@ index 8f65ea1e5422..f3f33a009af8 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -203,27 +74,7 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -203,52 +86,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -111017,14 +112080,17 @@ index 8f65ea1e5422..f3f33a009af8 100644 - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - OS_LIBS += [ - "X11", -@@ -235,20 +86,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": - "Xrender" - ] - +- +- OS_LIBS += [ +- "X11", +- "Xcomposite", +- "Xdamage", +- "Xext", +- "Xfixes", +- "Xrandr", +- "Xrender" +- ] +- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["_GNU_SOURCE"] = True diff --git a/www/librewolf/files/patch-python_sites_mach.txt b/www/librewolf/files/patch-python_sites_mach.txt index 8dfd03f63ec9..d95b9544b8a4 100644 --- a/www/librewolf/files/patch-python_sites_mach.txt +++ b/www/librewolf/files/patch-python_sites_mach.txt @@ -1,9 +1,9 @@ ---- python/sites/mach.txt.orig 2026-11-10 21:09:07 UTC +--- python/sites/mach.txt.orig 2026-11-25 00:55:26 UTC +++ python/sites/mach.txt @@ -59,13 +59,14 @@ pth:xpcom/idl-parser # glean-sdk may not be installable if a wheel isn't available # and it has to be built from source. - # pypi-optional:glean-sdk==70.3.0:telemetry will not be collected + # pypi-optional:glean-sdk==71.0.0:telemetry will not be collected -pypi-optional:orjson>=3.10:json operations will be slower in various tools +# pypi-optional:orjson>=3.10:json operations will be slower in various tools # Mach gracefully handles the case where `psutil` is unavailable. @@ -15,7 +15,7 @@ +# pypi-optional:psutil>=5.4.2:telemetry will be missing some data +# pypi-optional:rtoml>=0.11.0:toml operations will be slower in various tools +# pypi-optional:zstandard>=0.11.1,<=0.25.0:zstd archives will not be possible to extract -+vendored:pyyaml:third_party/python/pyyaml/lib/ ++vendored:pyyaml:third_party/python/pyyaml/lib/:faster native loading is disabled vendored-fallback:pyyaml:third_party/python/pyyaml/lib/:faster native loading is disabled vendored:third_party/python/ansicon vendored:third_party/python/appdirs diff --git a/www/librewolf/files/patch-third__party_angle-freebsd b/www/librewolf/files/patch-third__party_angle-freebsd index 536d8a8ac0b9..2a9d501a87ea 100644 --- a/www/librewolf/files/patch-third__party_angle-freebsd +++ b/www/librewolf/files/patch-third__party_angle-freebsd @@ -1,16 +1,15 @@ -commit 04eaaa46c376256e517357c999399d5ab2a8ab83 +commit f2ceb571eb7ac6ed7f4a8b0acf424744596d797b Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> -Date: Wed Nov 4 21:01:50 2026 +0100 ANGLEShader components for FreeBSD including backfill to make debug build run diff --git third_party/angle/angle_common_gn/moz.build third_party/angle/angle_common_gn/moz.build -index 7babe0f7ffbd..54d45b0b018d 100644 +index dfbb5e25b873..6053f94a2a2f 100644 --- third_party/angle/angle_common_gn/moz.build +++ third_party/angle/angle_common_gn/moz.build -@@ -138,6 +138,28 @@ if CONFIG["OS_TARGET"] == "Linux": +@@ -139,6 +139,28 @@ if CONFIG["OS_TARGET"] == "Linux": "/third_party/angle/src/common/system_utils_posix.cpp" ] @@ -39,12 +38,12 @@ index 7babe0f7ffbd..54d45b0b018d 100644 if CONFIG["OS_TARGET"] == "OpenBSD": DEFINES["EGL_NO_X11"] = True -diff --git third_party/angle/angle_program_version_id_gn/ANGLEShaderProgramVersion.h-22c710649c380411.rsp.in third_party/angle/angle_program_version_id_gn/ANGLEShaderProgramVersion.h-22c710649c380411.rsp.in +diff --git third_party/angle/angle_program_version_id_gn/ANGLEShaderProgramVersion.h-4e3c9cff5961d8fb.rsp.in third_party/angle/angle_program_version_id_gn/ANGLEShaderProgramVersion.h-4e3c9cff5961d8fb.rsp.in new file mode 100644 -index 000000000000..6b49ff3c513e +index 000000000000..ecedc1ff7f51 --- /dev/null -+++ third_party/angle/angle_program_version_id_gn/ANGLEShaderProgramVersion.h-22c710649c380411.rsp.in -@@ -0,0 +1,865 @@ ++++ third_party/angle/angle_program_version_id_gn/ANGLEShaderProgramVersion.h-4e3c9cff5961d8fb.rsp.in +@@ -0,0 +1,866 @@ +/third_party/angle/src/common/base/anglebase/trace_event/trace_categories.h +/third_party/angle/src/common/BinaryStream.h +/third_party/angle/src/common/CircularBuffer.h @@ -148,6 +147,7 @@ index 000000000000..6b49ff3c513e +/third_party/angle/src/libANGLE/Buffer.h +/third_party/angle/src/libANGLE/Caps.h +/third_party/angle/src/libANGLE/CLBitField.h ++/third_party/angle/src/libANGLE/CLCaps.h +/third_party/angle/src/libANGLE/CLRefPointer.h +/third_party/angle/src/libANGLE/Compiler.h +/third_party/angle/src/libANGLE/Config.h @@ -559,6 +559,8 @@ index 000000000000..6b49ff3c513e +/third_party/angle/src/compiler/translator/tree_ops/EmulateGLFragColorBroadcast.h +/third_party/angle/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.cpp +/third_party/angle/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.h ++/third_party/angle/src/compiler/translator/tree_ops/EnsureLoopForwardProgress.cpp ++/third_party/angle/src/compiler/translator/tree_ops/EnsureLoopForwardProgress.h +/third_party/angle/src/compiler/translator/tree_ops/ExpandFragmentOutputsToVec4.cpp +/third_party/angle/src/compiler/translator/tree_ops/ExpandFragmentOutputsToVec4.h +/third_party/angle/src/compiler/translator/tree_ops/FoldConstantSwitch.cpp @@ -623,7 +625,6 @@ index 000000000000..6b49ff3c513e +/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/AddAndTrueToLoopCondition.h +/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/RewriteRowMajorMatrices.h +/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/UnfoldShortCircuitAST.h -+/third_party/angle/src/compiler/translator/tree_ops/msl/EnsureLoopForwardProgress.h +/third_party/angle/src/compiler/translator/tree_util/BuiltIn.h +/third_party/angle/src/compiler/translator/tree_util/BuiltIn_autogen.h +/third_party/angle/src/compiler/translator/tree_util/DriverUniform.cpp @@ -790,7 +791,6 @@ index 000000000000..6b49ff3c513e +/third_party/angle/src/compiler/translator/tree_ops/msl/AddExplicitTypeCasts.h +/third_party/angle/src/compiler/translator/tree_ops/msl/ConvertUnsupportedConstructorsToFunctionCalls.cpp +/third_party/angle/src/compiler/translator/tree_ops/msl/ConvertUnsupportedConstructorsToFunctionCalls.h -+/third_party/angle/src/compiler/translator/tree_ops/msl/EnsureLoopForwardProgress.cpp +/third_party/angle/src/compiler/translator/tree_ops/msl/FixTypeConstructors.cpp +/third_party/angle/src/compiler/translator/tree_ops/msl/FixTypeConstructors.h +/third_party/angle/src/compiler/translator/tree_ops/msl/GuardFragDepthWrite.cpp @@ -911,11 +911,11 @@ index 000000000000..6b49ff3c513e +/third_party/angle/src/libANGLE/renderer/d3d/driver_utils_d3d.h +/third_party/angle/src/libANGLE/renderer/d3d/formatutilsD3D.h diff --git third_party/angle/angle_program_version_id_gn/moz.build third_party/angle/angle_program_version_id_gn/moz.build -index 8d332009ad83..9c49ebe85539 100644 +index 73779f2835a9..ac4dec1f2855 100644 --- third_party/angle/angle_program_version_id_gn/moz.build +++ third_party/angle/angle_program_version_id_gn/moz.build -@@ -51,6 +51,15 @@ if CONFIG["OS_TARGET"] == "Linux": - script="/python/mozbuild/mozbuild/action/write_path_list.py", +@@ -1896,6 +1896,896 @@ if CONFIG["OS_TARGET"] == "Linux": + script="/python/mozbuild/mozbuild/action/file_generate_wrapper.py", ) +if CONFIG["OS_TARGET"] == "FreeBSD": @@ -923,10 +923,891 @@ index 8d332009ad83..9c49ebe85539 100644 + GeneratedFile( + "/third_party/angle/gen/ANGLEShaderProgramVersion.h.rsp", + entry_point="write_paths", -+ inputs=['ANGLEShaderProgramVersion.h-22c710649c380411.rsp.in'], ++ inputs=['ANGLEShaderProgramVersion.h-4e3c9cff5961d8fb.rsp.in'], + script="/python/mozbuild/mozbuild/action/write_path_list.py", + ) + ++ GeneratedFile( ++ "/third_party/angle/gen/ANGLEShaderProgramVersion.h", ++ entry_point="action", ++ extra_deps=[ ++ "!/third_party/angle/gen/ANGLEShaderProgramVersion.h.rsp", ++ "/third_party/angle/src/common/base/anglebase/trace_event/trace_categories.h", ++ "/third_party/angle/src/common/BinaryStream.h", ++ "/third_party/angle/src/common/CircularBuffer.h", ++ "/third_party/angle/src/common/Color.h", ++ "/third_party/angle/src/common/Color.inc", ++ "/third_party/angle/src/common/CompiledShaderState.h", ++ "/third_party/angle/src/common/FastVector.h", ++ "/third_party/angle/src/common/FixedQueue.h", ++ "/third_party/angle/src/common/FixedVector.h", ++ "/third_party/angle/src/common/MemoryBuffer.h", ++ "/third_party/angle/src/common/Optional.h", ++ "/third_party/angle/src/common/PackedEGLEnums_autogen.h", ++ "/third_party/angle/src/common/PackedEnums.h", ++ "/third_party/angle/src/common/PackedGLEnums_autogen.h", ++ "/third_party/angle/src/common/PackedCLEnums_autogen.h", ++ "/third_party/angle/src/common/PoolAlloc.h", ++ "/third_party/angle/src/common/SimpleMutex.h", ++ "/third_party/angle/src/common/SynchronizedValue.h", ++ "/third_party/angle/src/common/WorkerThread.h", ++ "/third_party/angle/src/common/aligned_memory.h", ++ "/third_party/angle/src/common/android_util.h", ++ "/third_party/angle/src/common/angleutils.h", ++ "/third_party/angle/src/common/apple_platform_utils.h", ++ "/third_party/angle/src/common/backtrace_utils.h", ++ "/third_party/angle/src/common/com_utils.h", ++ "/third_party/angle/src/common/base/anglebase/base_export.h", ++ "/third_party/angle/src/common/base/anglebase/containers/mru_cache.h", ++ "/third_party/angle/src/common/base/anglebase/logging.h", ++ "/third_party/angle/src/common/base/anglebase/macros.h", ++ "/third_party/angle/src/common/base/anglebase/no_destructor.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/checked_math.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/checked_math_impl.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/clamped_math.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/clamped_math_impl.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/math_constants.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/ranges.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/safe_conversions.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/safe_conversions_arm_impl.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/safe_conversions_impl.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/safe_math.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/safe_math_arm_impl.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/safe_math_clang_gcc_impl.h", ++ "/third_party/angle/src/common/base/anglebase/numerics/safe_math_shared_impl.h", ++ "/third_party/angle/src/common/base/anglebase/sha1.h", ++ "/third_party/angle/src/common/base/anglebase/sys_byteorder.h", ++ "/third_party/angle/src/common/bitset_utils.h", ++ "/third_party/angle/src/common/debug.h", ++ "/third_party/angle/src/common/entry_points_enum_autogen.h", ++ "/third_party/angle/src/common/event_tracer.h", ++ "/third_party/angle/src/common/hash_containers.h", ++ "/third_party/angle/src/common/hash_utils.h", ++ "/third_party/angle/src/common/log_utils.h", ++ "/third_party/angle/src/common/mathutil.h", ++ "/third_party/angle/src/common/matrix_utils.h", ++ "/third_party/angle/src/common/partition_alloc/noop/raw_ptr.h", ++ "/third_party/angle/src/common/partition_alloc/noop/raw_ptr_exclusion.h", ++ "/third_party/angle/src/common/partition_alloc/noop/raw_ref.h", ++ "/third_party/angle/src/common/partition_alloc/raw_ptr.h", ++ "/third_party/angle/src/common/partition_alloc/raw_ptr_exclusion.h", ++ "/third_party/angle/src/common/partition_alloc/raw_ref.h", ++ "/third_party/angle/src/common/platform.h", ++ "/third_party/angle/src/common/platform_helpers.h", ++ "/third_party/angle/src/common/span.h", ++ "/third_party/angle/src/common/span_util.h", ++ "/third_party/angle/src/common/string_utils.h", ++ "/third_party/angle/src/common/system_utils.h", ++ "/third_party/angle/src/common/tls.h", ++ "/third_party/angle/src/common/uniform_type_info_autogen.h", ++ "/third_party/angle/src/common/unsafe_buffers.h", ++ "/third_party/angle/src/common/utilities.h", ++ "/third_party/angle/src/common/vector_utils.h", ++ "/third_party/angle/src/libANGLE/CLBitField.h", ++ "/third_party/angle/src/common/Float16ToFloat32.cpp", ++ "/third_party/angle/src/common/MemoryBuffer.cpp", ++ "/third_party/angle/src/common/PackedEGLEnums_autogen.cpp", ++ "/third_party/angle/src/common/PackedEnums.cpp", ++ "/third_party/angle/src/common/PackedGLEnums_autogen.cpp", ++ "/third_party/angle/src/common/PoolAlloc.cpp", ++ "/third_party/angle/src/common/SimpleMutex.cpp", ++ "/third_party/angle/src/common/WorkerThread.cpp", ++ "/third_party/angle/src/common/aligned_memory.cpp", ++ "/third_party/angle/src/common/android_util.cpp", ++ "/third_party/angle/src/common/angleutils.cpp", ++ "/third_party/angle/src/common/base/anglebase/sha1.cc", ++ "/third_party/angle/src/common/base/anglebase/trace_event/trace_categories.cc", ++ "/third_party/angle/src/common/debug.cpp", ++ "/third_party/angle/src/common/entry_points_enum_autogen.cpp", ++ "/third_party/angle/src/common/event_tracer.cpp", ++ "/third_party/angle/src/common/mathutil.cpp", ++ "/third_party/angle/src/common/matrix_utils.cpp", ++ "/third_party/angle/src/common/platform_helpers.cpp", ++ "/third_party/angle/src/common/string_utils.cpp", ++ "/third_party/angle/src/common/system_utils.cpp", ++ "/third_party/angle/src/common/tls.cpp", ++ "/third_party/angle/src/common/uniform_type_info_autogen.cpp", ++ "/third_party/angle/src/common/utilities.cpp", ++ "/third_party/angle/src/common/backtrace_utils_noop.cpp", ++ "/third_party/angle/src/common/system_utils_posix.cpp", ++ "/third_party/angle/src/libANGLE/AttributeMap.h", ++ "/third_party/angle/src/libANGLE/BlobCache.h", ++ "/third_party/angle/src/libANGLE/Buffer.h", ++ "/third_party/angle/src/libANGLE/Caps.h", ++ "/third_party/angle/src/libANGLE/CLBitField.h", ++ "/third_party/angle/src/libANGLE/CLCaps.h", ++ "/third_party/angle/src/libANGLE/CLRefPointer.h", ++ "/third_party/angle/src/libANGLE/Compiler.h", ++ "/third_party/angle/src/libANGLE/Config.h", ++ "/third_party/angle/src/libANGLE/Constants.h", ++ "/third_party/angle/src/libANGLE/Context.h", ++ "/third_party/angle/src/libANGLE/Context.inl.h", ++ "/third_party/angle/src/libANGLE/Context_gles_1_0_autogen.h", ++ "/third_party/angle/src/libANGLE/Context_gles_2_0_autogen.h", ++ "/third_party/angle/src/libANGLE/Context_gles_3_0_autogen.h", ++ "/third_party/angle/src/libANGLE/Context_gles_3_1_autogen.h", ++ "/third_party/angle/src/libANGLE/Context_gles_3_2_autogen.h", ++ "/third_party/angle/src/libANGLE/Context_gles_ext_autogen.h", ++ "/third_party/angle/src/libANGLE/Debug.h", ++ "/third_party/angle/src/libANGLE/Device.h", ++ "/third_party/angle/src/libANGLE/Display.h", ++ "/third_party/angle/src/libANGLE/EGLSync.h", ++ "/third_party/angle/src/libANGLE/Error.h", ++ "/third_party/angle/src/libANGLE/Error.inc", ++ "/third_party/angle/src/libANGLE/ErrorStrings.h", ++ "/third_party/angle/src/libANGLE/Fence.h", ++ "/third_party/angle/src/libANGLE/Framebuffer.h", ++ "/third_party/angle/src/libANGLE/FramebufferAttachment.h", ++ "/third_party/angle/src/libANGLE/GLES1Renderer.h", ++ "/third_party/angle/src/libANGLE/GLES1Shaders.inc", ++ "/third_party/angle/src/libANGLE/GLES1State.h", ++ "/third_party/angle/src/libANGLE/GlobalMutex.h", ++ "/third_party/angle/src/libANGLE/HandleAllocator.h", ++ "/third_party/angle/src/libANGLE/Image.h", ++ "/third_party/angle/src/libANGLE/ImageIndex.h", ++ "/third_party/angle/src/libANGLE/IndexRangeCache.h", ++ "/third_party/angle/src/libANGLE/InfoLog.h", ++ "/third_party/angle/src/libANGLE/LoggingAnnotator.h", ++ "/third_party/angle/src/libANGLE/MemoryObject.h", ++ "/third_party/angle/src/libANGLE/MemoryProgramCache.h", ++ "/third_party/angle/src/libANGLE/MemoryShaderCache.h", ++ "/third_party/angle/src/libANGLE/ObjectMap.h", ++ "/third_party/angle/src/libANGLE/Observer.h", ++ "/third_party/angle/src/libANGLE/PixelLocalStorage.h", ++ "/third_party/angle/src/libANGLE/Program.h", ++ "/third_party/angle/src/libANGLE/ProgramExecutable.h", ++ "/third_party/angle/src/libANGLE/ProgramLinkedResources.h", ++ "/third_party/angle/src/libANGLE/ProgramPipeline.h", ++ "/third_party/angle/src/libANGLE/Query.h", ++ "/third_party/angle/src/libANGLE/RefCountObject.h", ++ "/third_party/angle/src/libANGLE/Renderbuffer.h", ++ "/third_party/angle/src/libANGLE/ResourceManager.h", ++ "/third_party/angle/src/libANGLE/ResourceMap.h", ++ "/third_party/angle/src/libANGLE/Sampler.h", ++ "/third_party/angle/src/libANGLE/Semaphore.h", ++ "/third_party/angle/src/libANGLE/Shader.h", ++ "/third_party/angle/src/libANGLE/ShareGroup.h", ++ "/third_party/angle/src/libANGLE/ContextMutex.h", ++ "/third_party/angle/src/libANGLE/SizedMRUCache.h", ++ "/third_party/angle/src/libANGLE/State.h", ++ "/third_party/angle/src/libANGLE/Stream.h", ++ "/third_party/angle/src/libANGLE/Surface.h", ++ "/third_party/angle/src/libANGLE/Texture.h", ++ "/third_party/angle/src/libANGLE/Thread.h", ++ "/third_party/angle/src/libANGLE/TransformFeedback.h", ++ "/third_party/angle/src/libANGLE/Uniform.h", ++ "/third_party/angle/src/libANGLE/VaryingPacking.h", ++ "/third_party/angle/src/libANGLE/Version.h", ++ "/third_party/angle/src/libANGLE/VertexArray.h", ++ "/third_party/angle/src/libANGLE/VertexAttribute.h", ++ "/third_party/angle/src/libANGLE/VertexAttribute.inc", ++ "/third_party/angle/src/libANGLE/angletypes.h", ++ "/third_party/angle/src/libANGLE/angletypes.inc", ++ "/third_party/angle/src/libANGLE/cl_types.h", ++ "/third_party/angle/src/libANGLE/context_private_call.inl.h", ++ "/third_party/angle/src/libANGLE/context_private_call_autogen.h", ++ "/third_party/angle/src/libANGLE/entry_points_utils.h", ++ "/third_party/angle/src/libANGLE/features.h", ++ "/third_party/angle/src/libANGLE/formatutils.h", ++ "/third_party/angle/src/libANGLE/gles_extensions_autogen.h", ++ "/third_party/angle/src/libANGLE/histogram_macros.h", ++ "/third_party/angle/src/libANGLE/queryconversions.h", ++ "/third_party/angle/src/libANGLE/queryutils.h", ++ "/third_party/angle/src/libANGLE/trace.h", ++ "/third_party/angle/src/libANGLE/renderer/BufferImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/CompilerImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/ContextImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/driver_utils.h", ++ "/third_party/angle/src/libANGLE/renderer/DeviceImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/DisplayImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/EGLImplFactory.h", ++ "/third_party/angle/src/libANGLE/renderer/EGLReusableSync.h", ++ "/third_party/angle/src/libANGLE/renderer/EGLSyncImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/FenceNVImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/FormatID_autogen.h", ++ "/third_party/angle/src/libANGLE/renderer/Format.h", ++ "/third_party/angle/src/libANGLE/renderer/FramebufferAttachmentObjectImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/FramebufferImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/GLImplFactory.h", ++ "/third_party/angle/src/libANGLE/renderer/gl/functionsgl_enums.h", ++ "/third_party/angle/src/libANGLE/renderer/ImageImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/MemoryObjectImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/ProgramImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/ProgramExecutableImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/ProgramPipelineImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/QueryImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/RenderbufferImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/RenderTargetCache.h", ++ "/third_party/angle/src/libANGLE/renderer/SamplerImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/SemaphoreImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/ShaderImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/ShareGroupImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/StreamProducerImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/SurfaceImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/SyncImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/TextureImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/TransformFeedbackImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/VertexArrayImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/vulkan/DisplayVk_api.h", ++ "/third_party/angle/src/libANGLE/renderer/copyvertex.h", ++ "/third_party/angle/src/libANGLE/renderer/copyvertex.inc.h", ++ "/third_party/angle/src/libANGLE/renderer/load_functions_table.h", ++ "/third_party/angle/src/libANGLE/renderer/renderer_utils.h", ++ "/third_party/angle/src/libANGLE/renderer/serial_utils.h", ++ "/third_party/angle/src/libANGLE/validationEGL.h", ++ "/third_party/angle/src/libANGLE/validationEGL_autogen.h", ++ "/third_party/angle/src/libANGLE/validationES.h", ++ "/third_party/angle/src/libANGLE/validationES1.h", ++ "/third_party/angle/src/libANGLE/validationES1_autogen.h", ++ "/third_party/angle/src/libANGLE/validationES2.h", ++ "/third_party/angle/src/libANGLE/validationES2_autogen.h", ++ "/third_party/angle/src/libANGLE/validationES3.h", ++ "/third_party/angle/src/libANGLE/validationES31.h", ++ "/third_party/angle/src/libANGLE/validationES31_autogen.h", ++ "/third_party/angle/src/libANGLE/validationES32.h", ++ "/third_party/angle/src/libANGLE/validationES32_autogen.h", ++ "/third_party/angle/src/libANGLE/validationES3_autogen.h", ++ "/third_party/angle/src/libANGLE/validationESEXT.h", ++ "/third_party/angle/src/libANGLE/validationESEXT_autogen.h", ++ "/third_party/angle/src/libANGLE/CLPlatform.h", ++ "/third_party/angle/src/libANGLE/renderer/CLPlatformImpl.h", ++ "/third_party/angle/src/libANGLE/CLObject.h", ++ "/third_party/angle/src/libANGLE/renderer/CLContextImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/CLDeviceImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/CLExtensions.h", ++ "/third_party/angle/src/libANGLE/renderer/CLCommandQueueImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/CLEventImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/CLMemoryImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/CLProgramImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/CLSamplerImpl.h", ++ "/third_party/angle/src/libANGLE/renderer/CLKernelImpl.h", ++ "/third_party/angle/src/libANGLE/AttributeMap.cpp", ++ "/third_party/angle/src/libANGLE/BlobCache.cpp", ++ "/third_party/angle/src/libANGLE/Buffer.cpp", ++ "/third_party/angle/src/libANGLE/Caps.cpp", ++ "/third_party/angle/src/libANGLE/Compiler.cpp", ++ "/third_party/angle/src/libANGLE/Config.cpp", ++ "/third_party/angle/src/libANGLE/Context.cpp", ++ "/third_party/angle/src/libANGLE/ContextMutex.cpp", ++ "/third_party/angle/src/libANGLE/Context_gles_1_0.cpp", ++ "/third_party/angle/src/libANGLE/Debug.cpp", ++ "/third_party/angle/src/libANGLE/Device.cpp", ++ "/third_party/angle/src/libANGLE/Display.cpp", ++ "/third_party/angle/src/libANGLE/EGLSync.cpp", ++ "/third_party/angle/src/libANGLE/Error.cpp", ++ "/third_party/angle/src/libANGLE/Fence.cpp", ++ "/third_party/angle/src/libANGLE/Framebuffer.cpp", ++ "/third_party/angle/src/libANGLE/FramebufferAttachment.cpp", ++ "/third_party/angle/src/libANGLE/GLES1Renderer.cpp", ++ "/third_party/angle/src/libANGLE/GLES1State.cpp", ++ "/third_party/angle/src/libANGLE/GlobalMutex.cpp", ++ "/third_party/angle/src/libANGLE/HandleAllocator.cpp", ++ "/third_party/angle/src/libANGLE/Image.cpp", ++ "/third_party/angle/src/libANGLE/ImageIndex.cpp", ++ "/third_party/angle/src/libANGLE/IndexRangeCache.cpp", ++ "/third_party/angle/src/libANGLE/LoggingAnnotator.cpp", ++ "/third_party/angle/src/libANGLE/MemoryObject.cpp", ++ "/third_party/angle/src/libANGLE/MemoryProgramCache.cpp", ++ "/third_party/angle/src/libANGLE/MemoryShaderCache.cpp", ++ "/third_party/angle/src/libANGLE/Observer.cpp", ++ "/third_party/angle/src/libANGLE/PixelLocalStorage.cpp", ++ "/third_party/angle/src/libANGLE/Platform.cpp", ++ "/third_party/angle/src/libANGLE/Program.cpp", ++ "/third_party/angle/src/libANGLE/ProgramExecutable.cpp", ++ "/third_party/angle/src/libANGLE/ProgramLinkedResources.cpp", ++ "/third_party/angle/src/libANGLE/ProgramPipeline.cpp", ++ "/third_party/angle/src/libANGLE/Query.cpp", ++ "/third_party/angle/src/libANGLE/Renderbuffer.cpp", ++ "/third_party/angle/src/libANGLE/ResourceManager.cpp", ++ "/third_party/angle/src/libANGLE/Sampler.cpp", ++ "/third_party/angle/src/libANGLE/Semaphore.cpp", ++ "/third_party/angle/src/libANGLE/Shader.cpp", ++ "/third_party/angle/src/libANGLE/ShareGroup.cpp", ++ "/third_party/angle/src/libANGLE/State.cpp", ++ "/third_party/angle/src/libANGLE/Stream.cpp", ++ "/third_party/angle/src/libANGLE/Surface.cpp", ++ "/third_party/angle/src/libANGLE/Texture.cpp", ++ "/third_party/angle/src/libANGLE/Thread.cpp", ++ "/third_party/angle/src/libANGLE/TransformFeedback.cpp", ++ "/third_party/angle/src/libANGLE/Uniform.cpp", ++ "/third_party/angle/src/libANGLE/VaryingPacking.cpp", ++ "/third_party/angle/src/libANGLE/VertexArray.cpp", ++ "/third_party/angle/src/libANGLE/VertexAttribute.cpp", ++ "/third_party/angle/src/libANGLE/angletypes.cpp", ++ "/third_party/angle/src/libANGLE/es3_copy_conversion_table_autogen.cpp", ++ "/third_party/angle/src/libANGLE/format_map_autogen.cpp", ++ "/third_party/angle/src/libANGLE/formatutils.cpp", ++ "/third_party/angle/src/libANGLE/gles_extensions_autogen.cpp", ++ "/third_party/angle/src/libANGLE/queryconversions.cpp", ++ "/third_party/angle/src/libANGLE/queryutils.cpp", ++ "/third_party/angle/src/libANGLE/renderer/BufferImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/ContextImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/DeviceImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/DisplayImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/EGLReusableSync.cpp", ++ "/third_party/angle/src/libANGLE/renderer/EGLSyncImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/Format_table_autogen.cpp", ++ "/third_party/angle/src/libANGLE/renderer/FramebufferImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/ImageImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/ProgramImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/ProgramPipelineImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/QueryImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/RenderbufferImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/ShaderImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/SurfaceImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/TextureImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/TransformFeedbackImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/VertexArrayImpl.cpp", ++ "/third_party/angle/src/libANGLE/renderer/driver_utils.cpp", ++ "/third_party/angle/src/libANGLE/renderer/load_functions_table_autogen.cpp", ++ "/third_party/angle/src/libANGLE/renderer/renderer_utils.cpp", ++ "/third_party/angle/src/libANGLE/validationEGL.cpp", ++ "/third_party/angle/src/libANGLE/validationES.cpp", ++ "/third_party/angle/src/libANGLE/validationES1.cpp", ++ "/third_party/angle/src/libANGLE/validationES2.cpp", ++ "/third_party/angle/src/libANGLE/validationES3.cpp", ++ "/third_party/angle/src/libANGLE/validationES31.cpp", ++ "/third_party/angle/src/libANGLE/validationES32.cpp", ++ "/third_party/angle/src/libANGLE/validationESEXT.cpp", ++ "/third_party/angle/src/common/frame_capture_binary_data.h", ++ "/third_party/angle/src/common/frame_capture_shared.h", ++ "/third_party/angle/src/common/frame_capture_utils.h", ++ "/third_party/angle/src/common/frame_capture_utils_autogen.h", ++ "/third_party/angle/src/common/gl_enum_utils.h", ++ "/third_party/angle/src/common/gl_enum_utils_autogen.h", ++ "/third_party/angle/src/libANGLE/capture/FrameCapture.h", ++ "/third_party/angle/src/libANGLE/capture/capture_cl_autogen.h", ++ "/third_party/angle/src/libANGLE/capture/capture_egl_autogen.h", ++ "/third_party/angle/src/libANGLE/capture/capture_gles_1_0_autogen.h", ++ "/third_party/angle/src/libANGLE/capture/capture_gles_2_0_autogen.h", ++ "/third_party/angle/src/libANGLE/capture/capture_gles_3_0_autogen.h", ++ "/third_party/angle/src/libANGLE/capture/capture_gles_3_1_autogen.h", ++ "/third_party/angle/src/libANGLE/capture/capture_gles_3_2_autogen.h", ++ "/third_party/angle/src/libANGLE/capture/capture_gles_ext_autogen.h", ++ "/third_party/angle/src/libANGLE/capture/serialize.h", ++ "/third_party/angle/include/angle_gl.h", ++ "/third_party/angle/include/export.h", ++ "/third_party/angle/include/EGL/egl.h", ++ "/third_party/angle/include/EGL/eglext.h", ++ "/third_party/angle/include/EGL/eglext_angle.h", ++ "/third_party/angle/include/EGL/eglplatform.h", ++ "/third_party/angle/include/GLES/gl.h", ++ "/third_party/angle/include/GLES/glplatform.h", ++ "/third_party/angle/include/GLES/glext.h", ++ "/third_party/angle/include/GLES2/gl2.h", ++ "/third_party/angle/include/GLES2/gl2ext.h", ++ "/third_party/angle/include/GLES2/gl2ext_angle.h", ++ "/third_party/angle/include/GLES2/gl2platform.h", ++ "/third_party/angle/include/GLES3/gl3.h", ++ "/third_party/angle/include/GLES3/gl3platform.h", ++ "/third_party/angle/include/GLES3/gl31.h", ++ "/third_party/angle/include/GLES3/gl32.h", ++ "/third_party/angle/include/GLX/glxext.h", ++ "/third_party/angle/include/KHR/khrplatform.h", ++ "/third_party/angle/include/WGL/wgl.h", ++ "/third_party/angle/include/platform/Feature.h", ++ "/third_party/angle/include/platform/autogen/FeaturesD3D_autogen.h", ++ "/third_party/angle/include/platform/autogen/FeaturesGL_autogen.h", ++ "/third_party/angle/include/platform/autogen/FeaturesMtl_autogen.h", ++ "/third_party/angle/include/platform/autogen/FeaturesVk_autogen.h", ++ "/third_party/angle/include/platform/autogen/FeaturesWgpu_autogen.h", ++ "/third_party/angle/include/platform/autogen/FrontendFeatures_autogen.h", ++ "/third_party/angle/include/platform/PlatformMethods.h", ++ "/third_party/angle/include/vulkan/vulkan_fuchsia_ext.h", ++ "/third_party/angle/include/GLSLANG/ShaderLang.h", ++ "/third_party/angle/include/GLSLANG/ShaderVars.h", ++ "/third_party/angle/src/compiler/translator/blocklayout.h", ++ "/third_party/angle/src/compiler/translator/hlsl/blocklayoutHLSL.h", ++ "/third_party/angle/include/EGL/egl.h", ++ "/third_party/angle/include/EGL/eglext.h", ++ "/third_party/angle/include/EGL/eglplatform.h", ++ "/third_party/angle/include/GLES2/gl2.h", ++ "/third_party/angle/include/GLES2/gl2ext.h", ++ "/third_party/angle/include/GLES2/gl2platform.h", ++ "/third_party/angle/include/GLES3/gl3.h", ++ "/third_party/angle/include/GLES3/gl31.h", ++ "/third_party/angle/include/GLES3/gl32.h", ++ "/third_party/angle/include/GLES3/gl3platform.h", ++ "/third_party/angle/include/KHR/khrplatform.h", ++ "/third_party/angle/include/angle_gl.h", ++ "/third_party/angle/src/compiler/translator/AsNode.h", ++ "/third_party/angle/src/compiler/translator/BaseTypes.cpp", ++ "/third_party/angle/src/compiler/translator/BaseTypes.h", ++ "/third_party/angle/src/compiler/translator/BuiltInFunctionEmulator.cpp", ++ "/third_party/angle/src/compiler/translator/BuiltInFunctionEmulator.h", ++ "/third_party/angle/src/compiler/translator/CallDAG.cpp", ++ "/third_party/angle/src/compiler/translator/CallDAG.h", ++ "/third_party/angle/src/compiler/translator/CodeGen.cpp", ++ "/third_party/angle/src/compiler/translator/CollectVariables.cpp", ++ "/third_party/angle/src/compiler/translator/CollectVariables.h", ++ "/third_party/angle/src/compiler/translator/Common.h", ++ "/third_party/angle/src/compiler/translator/Compiler.cpp", ++ "/third_party/angle/src/compiler/translator/Compiler.h", ++ "/third_party/angle/src/compiler/translator/ConstantUnion.cpp", ++ "/third_party/angle/src/compiler/translator/ConstantUnion.h", ++ "/third_party/angle/src/compiler/translator/Declarator.cpp", ++ "/third_party/angle/src/compiler/translator/Declarator.h", ++ "/third_party/angle/src/compiler/translator/Diagnostics.cpp", ++ "/third_party/angle/src/compiler/translator/Diagnostics.h", ++ "/third_party/angle/src/compiler/translator/DirectiveHandler.cpp", ++ "/third_party/angle/src/compiler/translator/DirectiveHandler.h", ++ "/third_party/angle/src/compiler/translator/ExtensionBehavior.cpp", ++ "/third_party/angle/src/compiler/translator/ExtensionBehavior.h", ++ "/third_party/angle/src/compiler/translator/FlagStd140Structs.cpp", ++ "/third_party/angle/src/compiler/translator/FlagStd140Structs.h", ++ "/third_party/angle/src/compiler/translator/FunctionLookup.cpp", ++ "/third_party/angle/src/compiler/translator/FunctionLookup.h", ++ "/third_party/angle/src/compiler/translator/HashNames.cpp", ++ "/third_party/angle/src/compiler/translator/HashNames.h", ++ "/third_party/angle/src/compiler/translator/ImmutableString.h", ++ "/third_party/angle/src/compiler/translator/ImmutableStringBuilder.cpp", ++ "/third_party/angle/src/compiler/translator/ImmutableStringBuilder.h", ++ "/third_party/angle/src/compiler/translator/InfoSink.cpp", ++ "/third_party/angle/src/compiler/translator/InfoSink.h", ++ "/third_party/angle/src/compiler/translator/Initialize.cpp", ++ "/third_party/angle/src/compiler/translator/Initialize.h", ++ "/third_party/angle/src/compiler/translator/InitializeGlobals.h", ++ "/third_party/angle/src/compiler/translator/IntermNode.cpp", ++ "/third_party/angle/src/compiler/translator/IntermNode.h", ++ "/third_party/angle/src/compiler/translator/IntermRebuild.cpp", ++ "/third_party/angle/src/compiler/translator/IntermRebuild.h", ++ "/third_party/angle/src/compiler/translator/IsASTDepthBelowLimit.cpp", ++ "/third_party/angle/src/compiler/translator/IsASTDepthBelowLimit.h", ++ "/third_party/angle/src/compiler/translator/Name.cpp", ++ "/third_party/angle/src/compiler/translator/Name.h", ++ "/third_party/angle/src/compiler/translator/NodeType.h", ++ "/third_party/angle/src/compiler/translator/Operator.cpp", ++ "/third_party/angle/src/compiler/translator/Operator_autogen.h", ++ "/third_party/angle/src/compiler/translator/OutputTree.cpp", ++ "/third_party/angle/src/compiler/translator/OutputTree.h", ++ "/third_party/angle/src/compiler/translator/ParseContext.cpp", ++ "/third_party/angle/src/compiler/translator/ParseContext.h", ++ "/third_party/angle/src/compiler/translator/PoolAlloc.cpp", ++ "/third_party/angle/src/compiler/translator/PoolAlloc.h", ++ "/third_party/angle/src/compiler/translator/Pragma.h", ++ "/third_party/angle/src/compiler/translator/QualifierTypes.cpp", ++ "/third_party/angle/src/compiler/translator/QualifierTypes.h", ++ "/third_party/angle/src/compiler/translator/Severity.h", ++ "/third_party/angle/src/compiler/translator/ShaderLang.cpp", ++ "/third_party/angle/src/compiler/translator/ShaderVars.cpp", ++ "/third_party/angle/src/compiler/translator/SizeClipCullDistance.cpp", ++ "/third_party/angle/src/compiler/translator/SizeClipCullDistance.h", ++ "/third_party/angle/src/compiler/translator/StaticType.h", ++ "/third_party/angle/src/compiler/translator/Symbol.cpp", ++ "/third_party/angle/src/compiler/translator/Symbol.h", ++ "/third_party/angle/src/compiler/translator/SymbolTable.cpp", ++ "/third_party/angle/src/compiler/translator/SymbolTable.h", ++ "/third_party/angle/src/compiler/translator/SymbolTable_autogen.h", ++ "/third_party/angle/src/compiler/translator/SymbolUniqueId.cpp", ++ "/third_party/angle/src/compiler/translator/SymbolUniqueId.h", ++ "/third_party/angle/src/compiler/translator/Types.cpp", ++ "/third_party/angle/src/compiler/translator/Types.h", ++ "/third_party/angle/src/compiler/translator/ValidateAST.cpp", ++ "/third_party/angle/src/compiler/translator/ValidateAST.h", ++ "/third_party/angle/src/compiler/translator/ValidateGlobalInitializer.cpp", ++ "/third_party/angle/src/compiler/translator/ValidateGlobalInitializer.h", ++ "/third_party/angle/src/compiler/translator/ValidateVaryingLocations.cpp", ++ "/third_party/angle/src/compiler/translator/ValidateVaryingLocations.h", ++ "/third_party/angle/src/compiler/translator/VariablePacker.cpp", ++ "/third_party/angle/src/compiler/translator/VariablePacker.h", ++ "/third_party/angle/src/compiler/translator/blocklayout.cpp", ++ "/third_party/angle/src/compiler/translator/glsl/TranslatorESSL.h", ++ "/third_party/angle/src/compiler/translator/glsl/TranslatorGLSL.h", ++ "/third_party/angle/src/compiler/translator/glsl/VersionGLSL.h", ++ "/third_party/angle/src/compiler/translator/glslang.h", ++ "/third_party/angle/src/compiler/translator/glslang_lex_autogen.cpp", ++ "/third_party/angle/src/compiler/translator/glslang_tab_autogen.cpp", ++ "/third_party/angle/src/compiler/translator/glslang_tab_autogen.h", ++ "/third_party/angle/src/compiler/translator/hlsl/TranslatorHLSL.h", ++ "/third_party/angle/src/compiler/translator/ir/src/builder.h", ++ "/third_party/angle/src/compiler/translator/ir/src/compile.h", ++ "/third_party/angle/src/compiler/translator/ir/src/output/ir_to_legacy.h", ++ "/third_party/angle/src/compiler/translator/ir/src/output/legacy.h", ++ "/third_party/angle/src/compiler/translator/ir/src/pool_alloc.h", ++ "/third_party/angle/src/compiler/translator/length_limits.h", ++ "/third_party/angle/src/compiler/translator/msl/DriverUniformMetal.h", ++ "/third_party/angle/src/compiler/translator/msl/TranslatorMSL.h", ++ "/third_party/angle/src/compiler/translator/null/TranslatorNULL.h", ++ "/third_party/angle/src/compiler/translator/spirv/TranslatorSPIRV.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/AddDefaultReturnStatements.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/AddDefaultReturnStatements.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/ClampFragDepth.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/ClampFragDepth.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/ClampIndirectIndices.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/ClampIndirectIndices.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/ClampPointSize.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/ClampPointSize.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/DeclarePerVertexBlocks.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/DeclarePerVertexBlocks.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/DeferGlobalInitializers.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/DeferGlobalInitializers.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/EmulateGLFragColorBroadcast.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/EmulateGLFragColorBroadcast.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/EnsureLoopForwardProgress.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/EnsureLoopForwardProgress.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/ExpandFragmentOutputsToVec4.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/ExpandFragmentOutputsToVec4.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/FoldConstantSwitch.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/FoldConstantSwitch.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/FoldExpressions.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/FoldExpressions.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/GatherDefaultUniforms.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/GatherDefaultUniforms.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/InitializeVariables.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/InitializeVariables.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/MonomorphizeUnsupportedFunctions.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/MonomorphizeUnsupportedFunctions.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/PreTransformTextureCubeGradDerivatives.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/PreTransformTextureCubeGradDerivatives.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/PruneEmptyCases.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/PruneEmptyCases.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/PruneNoOps.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/PruneNoOps.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RecordConstantPrecision.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RecordConstantPrecision.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/ReduceInterfaceBlocks.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/ReduceInterfaceBlocks.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveDynamicIndexing.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveDynamicIndexing.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveUnusedFramebufferFetch.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RemoveUnusedFramebufferFetch.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteArrayOfArrayOfOpaqueUniforms.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteArrayOfArrayOfOpaqueUniforms.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteAtomicCounters.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteAtomicCounters.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteDfdy.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteDfdy.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewritePixelLocalStorage.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewritePixelLocalStorage.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteStructSamplers.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/ScalarizeVecAndMatConstructorArgs.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/ScalarizeVecAndMatConstructorArgs.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/SeparateDeclarations.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/SeparateDeclarations.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/SimplifyLoopConditions.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/SimplifyLoopConditions.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/SplitSequenceOperator.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/SplitSequenceOperator.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/UseGeneratedNamesForAnonymousStructs.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/UseGeneratedNamesForAnonymousStructs.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/RewriteRepeatedAssignToSwizzled.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/UseInterfaceBlockFields.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/WrapStructConstructors.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/AddAndTrueToLoopCondition.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/RewriteRowMajorMatrices.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/UnfoldShortCircuitAST.h", ++ "/third_party/angle/src/compiler/translator/tree_util/BuiltIn.h", ++ "/third_party/angle/src/compiler/translator/tree_util/BuiltIn_autogen.h", ++ "/third_party/angle/src/compiler/translator/tree_util/DriverUniform.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/DriverUniform.h", ++ "/third_party/angle/src/compiler/translator/tree_util/FindFunction.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/FindFunction.h", ++ "/third_party/angle/src/compiler/translator/tree_util/FindMain.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/FindMain.h", ++ "/third_party/angle/src/compiler/translator/tree_util/FindPreciseNodes.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/FindPreciseNodes.h", ++ "/third_party/angle/src/compiler/translator/tree_util/FindSymbolNode.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/FindSymbolNode.h", ++ "/third_party/angle/src/compiler/translator/tree_util/IntermNodePatternMatcher.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/IntermNodePatternMatcher.h", ++ "/third_party/angle/src/compiler/translator/tree_util/IntermNode_util.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/IntermNode_util.h", ++ "/third_party/angle/src/compiler/translator/tree_util/IntermTraverse.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/IntermTraverse.h", ++ "/third_party/angle/src/compiler/translator/tree_util/NodeSearch.h", ++ "/third_party/angle/src/compiler/translator/tree_util/ReplaceArrayOfMatrixVarying.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/ReplaceArrayOfMatrixVarying.h", ++ "/third_party/angle/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.h", ++ "/third_party/angle/src/compiler/translator/tree_util/ReplaceShadowingVariables.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/ReplaceShadowingVariables.h", ++ "/third_party/angle/src/compiler/translator/tree_util/ReplaceVariable.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/ReplaceVariable.h", ++ "/third_party/angle/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/RewriteSampleMaskVariable.h", ++ "/third_party/angle/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.h", ++ "/third_party/angle/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp", ++ "/third_party/angle/src/compiler/translator/tree_util/RunAtTheEndOfShader.h", ++ "/third_party/angle/src/compiler/translator/tree_util/Visit.h", ++ "/third_party/angle/src/compiler/translator/util.cpp", ++ "/third_party/angle/src/compiler/translator/util.h", ++ "/third_party/angle/src/compiler/translator/wgsl/TranslatorWGSL.h", ++ "/third_party/angle/src/compiler/translator/glsl/OutputGLSLBase.cpp", ++ "/third_party/angle/src/compiler/translator/glsl/OutputGLSLBase.h", ++ "/third_party/angle/src/compiler/translator/glsl/OutputGLSL.cpp", ++ "/third_party/angle/src/compiler/translator/glsl/OutputGLSL.h", ++ "/third_party/angle/src/compiler/translator/glsl/OutputESSL.cpp", ++ "/third_party/angle/src/compiler/translator/glsl/OutputESSL.h", ++ "/third_party/angle/src/compiler/translator/glsl/TranslatorESSL.cpp", ++ "/third_party/angle/src/compiler/translator/glsl/BuiltInFunctionEmulatorGLSL.cpp", ++ "/third_party/angle/src/compiler/translator/glsl/BuiltInFunctionEmulatorGLSL.h", ++ "/third_party/angle/src/compiler/translator/glsl/ExtensionGLSL.cpp", ++ "/third_party/angle/src/compiler/translator/glsl/ExtensionGLSL.h", ++ "/third_party/angle/src/compiler/translator/glsl/TranslatorGLSL.cpp", ++ "/third_party/angle/src/compiler/translator/glsl/VersionGLSL.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/RewriteRepeatedAssignToSwizzled.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/UseInterfaceBlockFields.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/WrapStructConstructors.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/AddAndTrueToLoopCondition.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/RewriteRowMajorMatrices.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/UnfoldShortCircuitAST.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/ASTMetadataHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/ASTMetadataHLSL.h", ++ "/third_party/angle/src/compiler/translator/hlsl/BuiltInFunctionEmulatorHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/BuiltInFunctionEmulatorHLSL.h", ++ "/third_party/angle/src/compiler/translator/hlsl/ImageFunctionHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/ImageFunctionHLSL.h", ++ "/third_party/angle/src/compiler/translator/hlsl/OutputHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/OutputHLSL.h", ++ "/third_party/angle/src/compiler/translator/hlsl/ResourcesHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/ResourcesHLSL.h", ++ "/third_party/angle/src/compiler/translator/hlsl/StructureHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/StructureHLSL.h", ++ "/third_party/angle/src/compiler/translator/hlsl/TextureFunctionHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/TextureFunctionHLSL.h", ++ "/third_party/angle/src/compiler/translator/hlsl/TranslatorHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/UtilsHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/UtilsHLSL.h", ++ "/third_party/angle/src/compiler/translator/hlsl/blocklayoutHLSL.cpp", ++ "/third_party/angle/src/compiler/translator/hlsl/emulated_builtin_functions_hlsl_autogen.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/ArrayReturnValueToOutParameter.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/ArrayReturnValueToOutParameter.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/BreakVariableAliasingInInnerLoops.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/BreakVariableAliasingInInnerLoops.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/ExpandIntegerPowExpressions.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/ExpandIntegerPowExpressions.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/RecordUniformBlocksWithLargeArrayMember.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/RecordUniformBlocksWithLargeArrayMember.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/RemoveSwitchFallThrough.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/RemoveSwitchFallThrough.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/RewriteElseBlocks.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/RewriteElseBlocks.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/RewriteUnaryMinusOperatorInt.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/RewriteUnaryMinusOperatorInt.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateArrayConstructorStatements.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateArrayConstructorStatements.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateArrayInitialization.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateArrayInitialization.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateExpressionsReturningArrays.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateExpressionsReturningArrays.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/UnfoldShortCircuitToIf.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/UnfoldShortCircuitToIf.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/WrapSwitchStatementsInBlocks.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/hlsl/WrapSwitchStatementsInBlocks.h", ++ "/third_party/angle/src/compiler/translator/spirv/BuildSPIRV.cpp", ++ "/third_party/angle/src/compiler/translator/spirv/BuildSPIRV.h", ++ "/third_party/angle/src/compiler/translator/spirv/BuiltinsWorkaround.cpp", ++ "/third_party/angle/src/compiler/translator/spirv/BuiltinsWorkaround.h", ++ "/third_party/angle/src/compiler/translator/spirv/OutputSPIRV.cpp", ++ "/third_party/angle/src/compiler/translator/spirv/OutputSPIRV.h", ++ "/third_party/angle/src/compiler/translator/spirv/TranslatorSPIRV.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/ClampGLLayer.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/ClampGLLayer.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateAdvancedBlendEquations.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateAdvancedBlendEquations.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateFragColorData.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateFragColorData.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateFramebufferFetch.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateFramebufferFetch.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateYUVBuiltIns.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateYUVBuiltIns.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/ReswizzleYUVOps.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/ReswizzleYUVOps.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteInterpolateAtOffset.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteInterpolateAtOffset.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteR32fImages.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteR32fImages.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteSamplerExternalTexelFetch.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteSamplerExternalTexelFetch.h", ++ "/third_party/angle/src/compiler/translator/ImmutableString_autogen.cpp", ++ "/third_party/angle/src/compiler/translator/SymbolTable_autogen.cpp", ++ "/third_party/angle/src/compiler/translator/msl/AstHelpers.cpp", ++ "/third_party/angle/src/compiler/translator/msl/AstHelpers.h", ++ "/third_party/angle/src/compiler/translator/msl/ConstantNames.cpp", ++ "/third_party/angle/src/compiler/translator/msl/DebugSink.h", ++ "/third_party/angle/src/compiler/translator/msl/DiscoverDependentFunctions.cpp", ++ "/third_party/angle/src/compiler/translator/msl/DiscoverDependentFunctions.h", ++ "/third_party/angle/src/compiler/translator/msl/DiscoverEnclosingFunctionTraverser.cpp", ++ "/third_party/angle/src/compiler/translator/msl/DiscoverEnclosingFunctionTraverser.h", ++ "/third_party/angle/src/compiler/translator/msl/DriverUniformMetal.cpp", ++ "/third_party/angle/src/compiler/translator/msl/EmitMetal.cpp", ++ "/third_party/angle/src/compiler/translator/msl/EmitMetal.h", ++ "/third_party/angle/src/compiler/translator/msl/IdGen.cpp", ++ "/third_party/angle/src/compiler/translator/msl/IdGen.h", ++ "/third_party/angle/src/compiler/translator/msl/Layout.cpp", ++ "/third_party/angle/src/compiler/translator/msl/Layout.h", ++ "/third_party/angle/src/compiler/translator/msl/MapFunctionsToDefinitions.cpp", ++ "/third_party/angle/src/compiler/translator/msl/MapFunctionsToDefinitions.h", ++ "/third_party/angle/src/compiler/translator/msl/MapSymbols.cpp", ++ "/third_party/angle/src/compiler/translator/msl/MapSymbols.h", ++ "/third_party/angle/src/compiler/translator/msl/ModifyStruct.cpp", ++ "/third_party/angle/src/compiler/translator/msl/ModifyStruct.h", ++ "/third_party/angle/src/compiler/translator/msl/Pipeline.cpp", ++ "/third_party/angle/src/compiler/translator/msl/Pipeline.h", ++ "/third_party/angle/src/compiler/translator/msl/ProgramPrelude.cpp", ++ "/third_party/angle/src/compiler/translator/msl/ProgramPrelude.h", ++ "/third_party/angle/src/compiler/translator/msl/Reference.h", ++ "/third_party/angle/src/compiler/translator/msl/RewritePipelines.cpp", ++ "/third_party/angle/src/compiler/translator/msl/RewritePipelines.h", ++ "/third_party/angle/src/compiler/translator/msl/SkippingTraverser.h", ++ "/third_party/angle/src/compiler/translator/msl/SymbolEnv.cpp", ++ "/third_party/angle/src/compiler/translator/msl/SymbolEnv.h", ++ "/third_party/angle/src/compiler/translator/msl/ToposortStructs.cpp", ++ "/third_party/angle/src/compiler/translator/msl/ToposortStructs.h", ++ "/third_party/angle/src/compiler/translator/msl/TranslatorMSL.cpp", ++ "/third_party/angle/src/compiler/translator/msl/UtilsMSL.cpp", ++ "/third_party/angle/src/compiler/translator/msl/UtilsMSL.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/AddExplicitTypeCasts.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/AddExplicitTypeCasts.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/ConvertUnsupportedConstructorsToFunctionCalls.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/ConvertUnsupportedConstructorsToFunctionCalls.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/FixTypeConstructors.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/FixTypeConstructors.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/GuardFragDepthWrite.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/GuardFragDepthWrite.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/HoistConstants.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/HoistConstants.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/IntroduceVertexIndexID.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/IntroduceVertexIndexID.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RescopeGlobalVariables.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RescopeGlobalVariables.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteCaseDeclarations.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteCaseDeclarations.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteInterpolants.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteInterpolants.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteOutArgs.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteOutArgs.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteUnaddressableReferences.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteUnaddressableReferences.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/SeparateCompoundExpressions.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/SeparateCompoundExpressions.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/TransposeRowMajorMatrices.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/TransposeRowMajorMatrices.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/WrapMain.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/msl/WrapMain.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/wgsl/EmulateMutableFunctionParams.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/wgsl/EmulateMutableFunctionParams.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/wgsl/PullExpressionsIntoFunctions.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/wgsl/PullExpressionsIntoFunctions.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/wgsl/RewriteMixedTypeMathExprs.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/wgsl/RewriteMixedTypeMathExprs.h", ++ "/third_party/angle/src/compiler/translator/tree_ops/wgsl/RewriteMultielementSwizzleAssignment.cpp", ++ "/third_party/angle/src/compiler/translator/tree_ops/wgsl/RewriteMultielementSwizzleAssignment.h", ++ "/third_party/angle/src/compiler/translator/wgsl/OutputUniformBlocks.cpp", ++ "/third_party/angle/src/compiler/translator/wgsl/OutputUniformBlocks.h", ++ "/third_party/angle/src/compiler/translator/wgsl/RewritePipelineVariables.cpp", ++ "/third_party/angle/src/compiler/translator/wgsl/RewritePipelineVariables.h", ++ "/third_party/angle/src/compiler/translator/wgsl/TranslatorWGSL.cpp", ++ "/third_party/angle/src/compiler/translator/wgsl/Utils.cpp", ++ "/third_party/angle/src/compiler/translator/wgsl/Utils.h", ++ "/third_party/angle/src/compiler/translator/wgsl/WGSLProgramPrelude.cpp", ++ "/third_party/angle/src/compiler/translator/wgsl/WGSLProgramPrelude.h", ++ "/third_party/angle/src/compiler/preprocessor/DiagnosticsBase.cpp", ++ "/third_party/angle/src/compiler/preprocessor/DiagnosticsBase.h", ++ "/third_party/angle/src/compiler/preprocessor/DirectiveHandlerBase.cpp", ++ "/third_party/angle/src/compiler/preprocessor/DirectiveHandlerBase.h", ++ "/third_party/angle/src/compiler/preprocessor/DirectiveParser.cpp", ++ "/third_party/angle/src/compiler/preprocessor/DirectiveParser.h", ++ "/third_party/angle/src/compiler/preprocessor/ExpressionParser.h", ++ "/third_party/angle/src/compiler/preprocessor/Input.cpp", ++ "/third_party/angle/src/compiler/preprocessor/Input.h", ++ "/third_party/angle/src/compiler/preprocessor/Lexer.cpp", ++ "/third_party/angle/src/compiler/preprocessor/Lexer.h", ++ "/third_party/angle/src/compiler/preprocessor/Macro.cpp", ++ "/third_party/angle/src/compiler/preprocessor/Macro.h", ++ "/third_party/angle/src/compiler/preprocessor/MacroExpander.cpp", ++ "/third_party/angle/src/compiler/preprocessor/MacroExpander.h", ++ "/third_party/angle/src/compiler/preprocessor/Preprocessor.cpp", ++ "/third_party/angle/src/compiler/preprocessor/Preprocessor.h", ++ "/third_party/angle/src/compiler/preprocessor/SourceLocation.h", ++ "/third_party/angle/src/compiler/preprocessor/Token.cpp", ++ "/third_party/angle/src/compiler/preprocessor/Token.h", ++ "/third_party/angle/src/compiler/preprocessor/Tokenizer.h", ++ "/third_party/angle/src/compiler/preprocessor/numeric_lex.h", ++ "/third_party/angle/src/compiler/preprocessor/preprocessor_lex_autogen.cpp", ++ "/third_party/angle/src/compiler/preprocessor/preprocessor_tab_autogen.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/BufferD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/BufferD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/CompilerD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/CompilerD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ContextD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/DisplayD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/DisplayD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/DynamicHLSL.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/DynamicHLSL.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/DynamicImage2DHLSL.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/DynamicImage2DHLSL.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/EGLImageD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/EGLImageD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/FramebufferD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/FramebufferD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/HLSLCompiler.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/HLSLCompiler.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ImageD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ImageD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/IndexBuffer.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/IndexBuffer.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/IndexDataManager.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/IndexDataManager.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/NativeWindowD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/NativeWindowD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ProgramD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ProgramD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ProgramExecutableD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ProgramExecutableD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/RenderTargetD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/RenderTargetD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/RenderbufferD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/RenderbufferD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/RendererD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/RendererD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/SamplerD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ShaderD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ShaderD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ShaderExecutableD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/ShaderExecutableD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/SurfaceD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/SurfaceD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/SwapChainD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/SwapChainD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/TextureD3D.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/TextureD3D.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/TextureStorage.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/VertexBuffer.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/VertexBuffer.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/VertexDataManager.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/VertexDataManager.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/driver_utils_d3d.cpp", ++ "/third_party/angle/src/libANGLE/renderer/d3d/driver_utils_d3d.h", ++ "/third_party/angle/src/libANGLE/renderer/d3d/formatutilsD3D.h" ++ ], ++ flags=[ ++ "/third_party/angle/src/program_serialize_data_version.py", ++ "/third_party/angle/", ++ "gen/ANGLEShaderProgramVersion.h", ++ "gen/ANGLEShaderProgramVersion.h.rsp" ++ ], ++ script="/python/mozbuild/mozbuild/action/file_generate_wrapper.py", ++ ) ++ if CONFIG["OS_TARGET"] == "OpenBSD": GeneratedFile( diff --git a/www/librewolf/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn b/www/librewolf/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn index 05e6c14b3975..adc2d3debb1d 100644 --- a/www/librewolf/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn +++ b/www/librewolf/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn @@ -1,4 +1,4 @@ -commit b0f01559cae81a27001ed3eb603ef126dfc99f7e +commit 3e3c70bbbe1487483a7e0f56a65b3c206854245e Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> enable pipewire on bsd @@ -43,10 +43,10 @@ index 4bb38fe31ff2..b10eb19f521a 100644 is_nacl = current_os == "nacl" is_wasm = current_os == "emscripten" diff --git third_party/libwebrtc/BUILD.gn third_party/libwebrtc/BUILD.gn -index 8140c795b6b1..1cb88d134b11 100644 +index ec28e93549a8..c099947629ed 100644 --- third_party/libwebrtc/BUILD.gn +++ third_party/libwebrtc/BUILD.gn -@@ -124,7 +124,7 @@ if (!build_with_chromium && !build_with_mozilla) { +@@ -112,7 +112,7 @@ if (!build_with_chromium && !build_with_mozilla) { "tools_webrtc/perf:webrtc_dashboard_upload", ] } @@ -56,7 +56,7 @@ index 8140c795b6b1..1cb88d134b11 100644 } } diff --git third_party/libwebrtc/modules/desktop_capture/BUILD.gn third_party/libwebrtc/modules/desktop_capture/BUILD.gn -index 9708a47cbca3..9c8c93856cf3 100644 +index af280bbcc506..7039d1d60e7c 100644 --- third_party/libwebrtc/modules/desktop_capture/BUILD.gn +++ third_party/libwebrtc/modules/desktop_capture/BUILD.gn @@ -70,7 +70,7 @@ if (rtc_include_tests) { @@ -92,10 +92,10 @@ index 9708a47cbca3..9c8c93856cf3 100644 - if ((is_linux || is_chromeos) && rtc_use_pipewire) { + if ((is_linux || is_chromeos || is_bsd) && rtc_use_pipewire) { - rtc_test("shared_screencast_stream_test") { - testonly = true - -@@ -237,7 +237,7 @@ if (rtc_include_tests) { + rtc_cc_test("restore_token_manager_unittest") { + sources = [ "linux/wayland/restore_token_manager_unittest.cc" ] + configs += [ "../portal:gio" ] +@@ -249,7 +249,7 @@ if (rtc_include_tests) { "../../system_wrappers", "../../test:test_support", ] @@ -104,7 +104,7 @@ index 9708a47cbca3..9c8c93856cf3 100644 configs += [ "../portal:gio" ] } } -@@ -257,7 +257,7 @@ if (rtc_include_tests) { +@@ -269,7 +269,7 @@ if (rtc_include_tests) { ":primitives", "../../test:test_support", ] @@ -113,7 +113,7 @@ index 9708a47cbca3..9c8c93856cf3 100644 configs += [ "../portal:gio" ] } } -@@ -269,7 +269,7 @@ if (rtc_include_tests) { +@@ -281,7 +281,7 @@ if (rtc_include_tests) { ":primitives", "../../test:test_support", ] @@ -122,7 +122,7 @@ index 9708a47cbca3..9c8c93856cf3 100644 configs += [ "../portal:gio" ] } } -@@ -281,7 +281,7 @@ if (rtc_include_tests) { +@@ -293,7 +293,7 @@ if (rtc_include_tests) { ":primitives", "../../test:test_support", ] @@ -131,7 +131,7 @@ index 9708a47cbca3..9c8c93856cf3 100644 configs += [ "../portal:gio" ] } } -@@ -411,7 +411,7 @@ if (rtc_include_tests) { +@@ -423,7 +423,7 @@ if (rtc_include_tests) { ":primitives", "../../test:test_support", ] @@ -140,7 +140,7 @@ index 9708a47cbca3..9c8c93856cf3 100644 configs += [ "../portal:gio" ] } } -@@ -425,7 +425,7 @@ if (rtc_include_tests) { +@@ -437,7 +437,7 @@ if (rtc_include_tests) { "../../rtc_base:logging", "../../test:test_support", ] @@ -149,7 +149,7 @@ index 9708a47cbca3..9c8c93856cf3 100644 configs += [ "../portal:gio" ] } } -@@ -438,7 +438,7 @@ if (rtc_include_tests) { +@@ -450,7 +450,7 @@ if (rtc_include_tests) { ":primitives", "../../test:test_support", ] @@ -158,7 +158,16 @@ index 9708a47cbca3..9c8c93856cf3 100644 configs += [ "../portal:gio" ] } } -@@ -526,7 +526,7 @@ if (rtc_include_tests) { +@@ -528,7 +528,7 @@ if (rtc_include_tests) { + ":screen_capturer_helper_unittest", + ":test_utils_unittest", + ] +- if ((is_linux || is_chromeos) && rtc_use_pipewire) { ++ if ((is_linux || is_chromeos || is_bsd) && rtc_use_pipewire) { + tests += [ ":restore_token_manager_unittest" ] + } + } +@@ -541,7 +541,7 @@ if (rtc_include_tests) { "screen_drawer.h", ] @@ -167,7 +176,7 @@ index 9708a47cbca3..9c8c93856cf3 100644 sources += [ "screen_drawer_linux.cc" ] libs = [ "X11" ] } -@@ -565,7 +565,7 @@ if (rtc_include_tests) { +@@ -580,7 +580,7 @@ if (rtc_include_tests) { "mock_desktop_capturer_callback.h", ] @@ -176,7 +185,7 @@ index 9708a47cbca3..9c8c93856cf3 100644 configs += [ "../portal:gio" ] } -@@ -578,7 +578,7 @@ if (rtc_include_tests) { +@@ -593,7 +593,7 @@ if (rtc_include_tests) { } # TODO(bugs.webrtc.org/14187): remove when all users are gone @@ -186,7 +195,7 @@ index 9708a47cbca3..9c8c93856cf3 100644 configs = [ "../portal:pipewire_config" ] } diff --git third_party/libwebrtc/modules/portal/BUILD.gn third_party/libwebrtc/modules/portal/BUILD.gn -index 7f91839dfdda..5c75495af570 100644 +index ccc358b2b8f3..30f87fb70a02 100644 --- third_party/libwebrtc/modules/portal/BUILD.gn +++ third_party/libwebrtc/modules/portal/BUILD.gn @@ -10,7 +10,7 @@ import("//chromium/build/config/linux/pkg_config.gni") @@ -199,7 +208,7 @@ index 7f91839dfdda..5c75495af570 100644 pkg_config("gio") { packages = [ diff --git third_party/libwebrtc/webrtc.gni third_party/libwebrtc/webrtc.gni -index 82b7935174af..6c681dd64339 100644 +index 91ffe8c982bb..3409260b6cdb 100644 --- third_party/libwebrtc/webrtc.gni +++ third_party/libwebrtc/webrtc.gni @@ -134,7 +134,7 @@ declare_args() { diff --git a/www/librewolf/files/patch-toolkit_compontents_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc b/www/librewolf/files/patch-toolkit_components_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc index 2b63d58f0ea3..2b63d58f0ea3 100644 --- a/www/librewolf/files/patch-toolkit_compontents_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc +++ b/www/librewolf/files/patch-toolkit_components_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc |
