tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 5d5756ca75f09df9a2470e5e617cfbc7952bc97a
parent 5360ef09e62c9d12020c884ee9e616191efc725e
Author: Michael Froman <mfroman@mozilla.com>
Date:   Wed,  8 Oct 2025 22:05:52 -0500

Bug 1993083 - Vendor libwebrtc from 10fab302f2

Upstream commit: https://webrtc.googlesource.com/src/+/10fab302f258af8778c7b52a4538446a6803663c
    Reduce usage of public sources in build files

    Using public has additional unintential consequence of allowing transitive dependencies and should generally be avoided.

    Bug: None
    Change-Id: I7655c09e9e8ec49c33751db990428f5a95e15332
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/399260
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#45096}

Diffstat:
Mthird_party/libwebrtc/README.mozilla.last-vendor | 4++--
Mthird_party/libwebrtc/api/audio_codecs/opus/BUILD.gn | 12++++++++----
Mthird_party/libwebrtc/api/task_queue/BUILD.gn | 4++--
Mthird_party/libwebrtc/api/video/BUILD.gn | 6+++---
Mthird_party/libwebrtc/api/video_codecs/BUILD.gn | 26+++++++++++++-------------
Mthird_party/libwebrtc/modules/async_audio_processing/BUILD.gn | 2--
Mthird_party/libwebrtc/modules/rtp_rtcp/BUILD.gn | 16++++++++--------
Mthird_party/libwebrtc/modules/video_coding/codecs/av1/BUILD.gn | 12++++++++----
Mthird_party/libwebrtc/moz-patch-stack/s0001.patch | 4++--
Mthird_party/libwebrtc/moz-patch-stack/s0027.patch | 40++++++++++++++++++++--------------------
Mthird_party/libwebrtc/moz-patch-stack/s0053.patch | 6+++---
Mthird_party/libwebrtc/moz-patch-stack/s0084.patch | 2+-
Mthird_party/libwebrtc/moz-patch-stack/s0091.patch | 4++--
Mthird_party/libwebrtc/moz-patch-stack/s0094.patch | 6+++---
Mthird_party/libwebrtc/moz-patch-stack/s0103.patch | 12++++++------
Mthird_party/libwebrtc/moz-patch-stack/s0108.patch | 8++++----
Mthird_party/libwebrtc/rtc_base/BUILD.gn | 6++++--
Mthird_party/libwebrtc/system_wrappers/BUILD.gn | 12++++++++----
18 files changed, 97 insertions(+), 85 deletions(-)

diff --git a/third_party/libwebrtc/README.mozilla.last-vendor b/third_party/libwebrtc/README.mozilla.last-vendor @@ -1,4 +1,4 @@ # ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc -libwebrtc updated from /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-09T03:04:38.563193+00:00. +libwebrtc updated from /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-09T03:05:42.576299+00:00. # base of lastest vendoring -05fe80c59b +10fab302f2 diff --git a/third_party/libwebrtc/api/audio_codecs/opus/BUILD.gn b/third_party/libwebrtc/api/audio_codecs/opus/BUILD.gn @@ -41,8 +41,10 @@ rtc_source_set("audio_decoder_opus_config") { rtc_library("audio_encoder_opus") { visibility = [ "*" ] poisonous = [ "audio_codecs" ] - public = [ "audio_encoder_opus.h" ] - sources = [ "audio_encoder_opus.cc" ] + sources = [ + "audio_encoder_opus.cc", + "audio_encoder_opus.h", + ] deps = [ ":audio_encoder_opus_config", "..:audio_codecs_api", @@ -74,8 +76,10 @@ rtc_library("audio_decoder_opus") { rtc_library("audio_encoder_multiopus") { visibility = [ "*" ] poisonous = [ "audio_codecs" ] - public = [ "audio_encoder_multi_channel_opus.h" ] - sources = [ "audio_encoder_multi_channel_opus.cc" ] + sources = [ + "audio_encoder_multi_channel_opus.cc", + "audio_encoder_multi_channel_opus.h", + ] deps = [ "..:audio_codecs_api", "../../../api:field_trials_view", diff --git a/third_party/libwebrtc/api/task_queue/BUILD.gn b/third_party/libwebrtc/api/task_queue/BUILD.gn @@ -10,11 +10,11 @@ import("../../webrtc.gni") rtc_library("task_queue") { visibility = [ "*" ] - public = [ + sources = [ + "task_queue_base.cc", "task_queue_base.h", "task_queue_factory.h", ] - sources = [ "task_queue_base.cc" ] deps = [ "..:location", diff --git a/third_party/libwebrtc/api/video/BUILD.gn b/third_party/libwebrtc/api/video/BUILD.gn @@ -135,18 +135,18 @@ rtc_source_set("video_frame_type") { rtc_source_set("render_resolution") { visibility = [ "*" ] - public = [ "render_resolution.h" ] + sources = [ "render_resolution.h" ] } rtc_source_set("resolution") { visibility = [ "*" ] - public = [ "resolution.h" ] + sources = [ "resolution.h" ] deps = [ "../../rtc_base/system:rtc_export" ] } rtc_source_set("corruption_detection_filter_settings") { visibility = [ "*" ] - public = [ "corruption_detection_filter_settings.h" ] + sources = [ "corruption_detection_filter_settings.h" ] } rtc_library("encoded_image") { diff --git a/third_party/libwebrtc/api/video_codecs/BUILD.gn b/third_party/libwebrtc/api/video_codecs/BUILD.gn @@ -151,7 +151,7 @@ rtc_library("builtin_video_encoder_factory") { rtc_source_set("video_encoder_factory_template") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_encoder_factory_template.h" ] + sources = [ "video_encoder_factory_template.h" ] deps = [ ":scalability_mode", @@ -166,7 +166,7 @@ rtc_source_set("video_encoder_factory_template") { rtc_source_set("video_encoder_factory_template_libvpx_vp8_adapter") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_encoder_factory_template_libvpx_vp8_adapter.h" ] + sources = [ "video_encoder_factory_template_libvpx_vp8_adapter.h" ] deps = [ ":scalability_mode", @@ -181,7 +181,7 @@ rtc_source_set("video_encoder_factory_template_libvpx_vp8_adapter") { rtc_source_set("video_encoder_factory_template_libvpx_vp9_adapter") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_encoder_factory_template_libvpx_vp9_adapter.h" ] + sources = [ "video_encoder_factory_template_libvpx_vp9_adapter.h" ] deps = [ ":scalability_mode", @@ -194,7 +194,7 @@ rtc_source_set("video_encoder_factory_template_libvpx_vp9_adapter") { rtc_source_set("video_encoder_factory_template_open_h264_adapter") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_encoder_factory_template_open_h264_adapter.h" ] + sources = [ "video_encoder_factory_template_open_h264_adapter.h" ] deps = [ ":scalability_mode", @@ -207,7 +207,7 @@ rtc_source_set("video_encoder_factory_template_open_h264_adapter") { rtc_source_set("video_encoder_factory_template_libaom_av1_adapter") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_encoder_factory_template_libaom_av1_adapter.h" ] + sources = [ "video_encoder_factory_template_libaom_av1_adapter.h" ] deps = [ ":scalability_mode", @@ -223,7 +223,7 @@ rtc_source_set("video_encoder_factory_template_libaom_av1_adapter") { rtc_source_set("video_decoder_factory_template") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_decoder_factory_template.h" ] + sources = [ "video_decoder_factory_template.h" ] deps = [ ":video_codecs_api", @@ -236,7 +236,7 @@ rtc_source_set("video_decoder_factory_template") { rtc_source_set("video_decoder_factory_template_libvpx_vp8_adapter") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_decoder_factory_template_libvpx_vp8_adapter.h" ] + sources = [ "video_decoder_factory_template_libvpx_vp8_adapter.h" ] deps = [ ":video_codecs_api", @@ -248,7 +248,7 @@ rtc_source_set("video_decoder_factory_template_libvpx_vp8_adapter") { rtc_source_set("video_decoder_factory_template_libvpx_vp9_adapter") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_decoder_factory_template_libvpx_vp9_adapter.h" ] + sources = [ "video_decoder_factory_template_libvpx_vp9_adapter.h" ] deps = [ ":video_codecs_api", @@ -259,7 +259,7 @@ rtc_source_set("video_decoder_factory_template_libvpx_vp9_adapter") { rtc_source_set("video_decoder_factory_template_open_h264_adapter") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_decoder_factory_template_open_h264_adapter.h" ] + sources = [ "video_decoder_factory_template_open_h264_adapter.h" ] deps = [ ":video_codecs_api", @@ -270,7 +270,7 @@ rtc_source_set("video_decoder_factory_template_open_h264_adapter") { rtc_source_set("video_decoder_factory_template_dav1d_adapter") { visibility = [ "*" ] allow_poison = [ "software_video_codecs" ] - public = [ "video_decoder_factory_template_dav1d_adapter.h" ] + sources = [ "video_decoder_factory_template_dav1d_adapter.h" ] deps = [ ":video_codecs_api", @@ -280,11 +280,11 @@ rtc_source_set("video_decoder_factory_template_dav1d_adapter") { } rtc_source_set("video_encoding_general") { - public = [ "video_encoding_general.h" ] + sources = [ "video_encoding_general.h" ] } rtc_source_set("video_encoder_interface") { - public = [ "video_encoder_interface.h" ] + sources = [ "video_encoder_interface.h" ] deps = [ ":video_encoding_general", @@ -304,7 +304,7 @@ rtc_source_set("video_encoder_interface") { } rtc_source_set("video_encoder_factory_interface") { - public = [ "video_encoder_factory_interface.h" ] + sources = [ "video_encoder_factory_interface.h" ] deps = [ ":video_encoder_interface", diff --git a/third_party/libwebrtc/modules/async_audio_processing/BUILD.gn b/third_party/libwebrtc/modules/async_audio_processing/BUILD.gn @@ -14,8 +14,6 @@ rtc_library("async_audio_processing") { "async_audio_processing.h", ] - public = [ "async_audio_processing.h" ] - deps = [ "../../api:ref_count", "../../api:scoped_refptr", diff --git a/third_party/libwebrtc/modules/rtp_rtcp/BUILD.gn b/third_party/libwebrtc/modules/rtp_rtcp/BUILD.gn @@ -9,8 +9,10 @@ import("../../webrtc.gni") rtc_library("leb128") { - public = [ "source/leb128.h" ] - sources = [ "source/leb128.cc" ] + sources = [ + "source/leb128.cc", + "source/leb128.h", + ] } rtc_library("rtp_rtcp_format") { @@ -416,15 +418,13 @@ rtc_library("ntp_time_util") { rtc_library("rtcp_transceiver") { visibility = [ "*" ] - public = [ - "source/rtcp_transceiver.h", - "source/rtcp_transceiver_config.h", - "source/rtcp_transceiver_impl.h", - ] sources = [ "source/rtcp_transceiver.cc", + "source/rtcp_transceiver.h", "source/rtcp_transceiver_config.cc", + "source/rtcp_transceiver_config.h", "source/rtcp_transceiver_impl.cc", + "source/rtcp_transceiver_impl.h", ] deps = [ ":ntp_time_util", @@ -507,7 +507,7 @@ rtc_library("fec_test_helper") { rtc_library("mock_rtp_rtcp") { testonly = true - public = [ + sources = [ "mocks/mock_network_link_rtcp_observer.h", "mocks/mock_network_state_estimator_observer.h", "mocks/mock_recovered_packet_receiver.h", diff --git a/third_party/libwebrtc/modules/video_coding/codecs/av1/BUILD.gn b/third_party/libwebrtc/modules/video_coding/codecs/av1/BUILD.gn @@ -31,8 +31,10 @@ rtc_library("av1_svc_config") { rtc_library("dav1d_decoder") { visibility = [ "*" ] poisonous = [ "software_video_codecs" ] - public = [ "dav1d_decoder.h" ] - sources = [ "dav1d_decoder.cc" ] + sources = [ + "dav1d_decoder.cc", + "dav1d_decoder.h", + ] deps = [ "../..:video_codec_interface", @@ -52,8 +54,10 @@ rtc_library("dav1d_decoder") { rtc_library("libaom_av1_encoder") { visibility = [ "*" ] poisonous = [ "software_video_codecs" ] - public = [ "libaom_av1_encoder.h" ] - sources = [ "libaom_av1_encoder.cc" ] + sources = [ + "libaom_av1_encoder.cc", + "libaom_av1_encoder.h", + ] deps = [ "../..:video_codec_interface", "../../../../api:field_trials_view", diff --git a/third_party/libwebrtc/moz-patch-stack/s0001.patch b/third_party/libwebrtc/moz-patch-stack/s0001.patch @@ -1383,10 +1383,10 @@ index d5ce6105a3..8bfd24de2b 100644 const bool enable_svc_for_simulcast_; std::optional<SimulcastToSvcConverter> simulcast_to_svc_converter_; diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn -index 7bb1856610..95bec39d7a 100644 +index 2ac18ac905..53dcd12334 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn -@@ -448,6 +448,12 @@ rtc_library("logging") { +@@ -450,6 +450,12 @@ rtc_library("logging") { "//third_party/abseil-cpp/absl/strings:string_view", ] diff --git a/third_party/libwebrtc/moz-patch-stack/s0027.patch b/third_party/libwebrtc/moz-patch-stack/s0027.patch @@ -433,7 +433,7 @@ index 0000000000..45194f5ace + +#endif // API_RTP_SENDER_SETPARAMETERS_CALLBACK_H_ diff --git a/api/task_queue/BUILD.gn b/api/task_queue/BUILD.gn -index 10a8cb8b5d..e5d40da756 100644 +index 71778f52ec..7db75d5fd3 100644 --- a/api/task_queue/BUILD.gn +++ b/api/task_queue/BUILD.gn @@ -29,6 +29,7 @@ rtc_library("task_queue") { @@ -1008,10 +1008,10 @@ index 058b86bce4..2f7b5b5333 100644 "/config/external/nspr", "/nsprpub/lib/ds", diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn -index 95bec39d7a..6aed005071 100644 +index 53dcd12334..0940f4ef33 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn -@@ -324,6 +324,7 @@ rtc_library("sample_counter") { +@@ -326,6 +326,7 @@ rtc_library("sample_counter") { ] } @@ -1019,7 +1019,7 @@ index 95bec39d7a..6aed005071 100644 rtc_library("timestamp_aligner") { visibility = [ "*" ] sources = [ -@@ -337,6 +338,7 @@ rtc_library("timestamp_aligner") { +@@ -339,6 +340,7 @@ rtc_library("timestamp_aligner") { "system:rtc_export", ] } @@ -1027,7 +1027,7 @@ index 95bec39d7a..6aed005071 100644 rtc_library("zero_memory") { visibility = [ "*" ] -@@ -803,7 +805,9 @@ rtc_library("rtc_json") { +@@ -805,7 +807,9 @@ rtc_library("rtc_json") { "//third_party/abseil-cpp/absl/strings", "//third_party/abseil-cpp/absl/strings:string_view", ] @@ -1037,7 +1037,7 @@ index 95bec39d7a..6aed005071 100644 if (rtc_build_json) { deps += [ "//third_party/jsoncpp" ] } else { -@@ -1177,6 +1181,7 @@ if (!build_with_chromium) { +@@ -1179,6 +1183,7 @@ if (!build_with_chromium) { } rtc_library("network") { @@ -1045,7 +1045,7 @@ index 95bec39d7a..6aed005071 100644 visibility = [ "*" ] sources = [ "network.cc", -@@ -1218,16 +1223,20 @@ rtc_library("network") { +@@ -1220,16 +1225,20 @@ rtc_library("network") { deps += [ ":win32" ] } } @@ -1066,7 +1066,7 @@ index 95bec39d7a..6aed005071 100644 visibility = [ "*" ] sources = [ "net_helper.cc", -@@ -1238,8 +1247,10 @@ rtc_library("net_helper") { +@@ -1240,8 +1249,10 @@ rtc_library("net_helper") { "//third_party/abseil-cpp/absl/strings:string_view", ] } @@ -1077,7 +1077,7 @@ index 95bec39d7a..6aed005071 100644 visibility = [ "*" ] sources = [ "socket_adapters.cc", -@@ -1260,6 +1271,7 @@ rtc_library("socket_adapters") { +@@ -1262,6 +1273,7 @@ rtc_library("socket_adapters") { "//third_party/abseil-cpp/absl/strings:string_view", ] } @@ -1085,7 +1085,7 @@ index 95bec39d7a..6aed005071 100644 rtc_library("network_route") { sources = [ -@@ -1274,6 +1286,7 @@ rtc_library("network_route") { +@@ -1276,6 +1288,7 @@ rtc_library("network_route") { } rtc_library("async_tcp_socket") { @@ -1093,7 +1093,7 @@ index 95bec39d7a..6aed005071 100644 sources = [ "async_tcp_socket.cc", "async_tcp_socket.h", -@@ -1293,8 +1306,10 @@ rtc_library("async_tcp_socket") { +@@ -1295,8 +1308,10 @@ rtc_library("async_tcp_socket") { "network:sent_packet", ] } @@ -1104,7 +1104,7 @@ index 95bec39d7a..6aed005071 100644 visibility = [ "*" ] sources = [ "async_udp_socket.cc", -@@ -1318,8 +1333,10 @@ rtc_library("async_udp_socket") { +@@ -1320,8 +1335,10 @@ rtc_library("async_udp_socket") { "system:no_unique_address", ] } @@ -1115,7 +1115,7 @@ index 95bec39d7a..6aed005071 100644 visibility = [ "*" ] sources = [ "async_packet_socket.cc", -@@ -1342,6 +1359,7 @@ rtc_library("async_packet_socket") { +@@ -1344,6 +1361,7 @@ rtc_library("async_packet_socket") { "//third_party/abseil-cpp/absl/functional:any_invocable", ] } @@ -1123,7 +1123,7 @@ index 95bec39d7a..6aed005071 100644 if (rtc_include_tests) { rtc_library("async_packet_socket_unittest") { -@@ -1415,6 +1433,7 @@ rtc_library("data_rate_limiter") { +@@ -1417,6 +1435,7 @@ rtc_library("data_rate_limiter") { } rtc_library("unique_id_generator") { @@ -1131,7 +1131,7 @@ index 95bec39d7a..6aed005071 100644 sources = [ "unique_id_generator.cc", "unique_id_generator.h", -@@ -1432,6 +1451,7 @@ rtc_library("unique_id_generator") { +@@ -1434,6 +1453,7 @@ rtc_library("unique_id_generator") { "//third_party/abseil-cpp/absl/strings:string_view", ] } @@ -1139,7 +1139,7 @@ index 95bec39d7a..6aed005071 100644 rtc_library("crc32") { sources = [ -@@ -1463,6 +1483,7 @@ rtc_library("stream") { +@@ -1465,6 +1485,7 @@ rtc_library("stream") { } rtc_library("rtc_certificate_generator") { @@ -1147,7 +1147,7 @@ index 95bec39d7a..6aed005071 100644 visibility = [ "*" ] sources = [ "rtc_certificate_generator.cc", -@@ -1477,6 +1498,7 @@ rtc_library("rtc_certificate_generator") { +@@ -1479,6 +1500,7 @@ rtc_library("rtc_certificate_generator") { "//third_party/abseil-cpp/absl/functional:any_invocable", ] } @@ -1155,7 +1155,7 @@ index 95bec39d7a..6aed005071 100644 rtc_source_set("ssl_header") { visibility = [ "*" ] -@@ -1533,6 +1555,7 @@ rtc_library("crypto_random") { +@@ -1535,6 +1557,7 @@ rtc_library("crypto_random") { } rtc_library("ssl") { @@ -1163,7 +1163,7 @@ index 95bec39d7a..6aed005071 100644 visibility = [ "*" ] sources = [ "openssl_key_pair.cc", -@@ -1605,6 +1628,7 @@ rtc_library("ssl") { +@@ -1607,6 +1630,7 @@ rtc_library("ssl") { deps += [ ":win32" ] } } @@ -1171,7 +1171,7 @@ index 95bec39d7a..6aed005071 100644 rtc_library("ssl_adapter") { visibility = [ "*" ] -@@ -2356,7 +2380,7 @@ if (rtc_include_tests) { +@@ -2358,7 +2382,7 @@ if (rtc_include_tests) { } } diff --git a/third_party/libwebrtc/moz-patch-stack/s0053.patch b/third_party/libwebrtc/moz-patch-stack/s0053.patch @@ -13,7 +13,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/f097eb8cbd8b7686c 2 files changed, 9 insertions(+) diff --git a/api/task_queue/BUILD.gn b/api/task_queue/BUILD.gn -index e5d40da756..7930cd7d39 100644 +index 7db75d5fd3..d0feb5007c 100644 --- a/api/task_queue/BUILD.gn +++ b/api/task_queue/BUILD.gn @@ -29,6 +29,11 @@ rtc_library("task_queue") { @@ -29,10 +29,10 @@ index e5d40da756..7930cd7d39 100644 rtc_library("task_queue_test") { visibility = [ "*" ] diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn -index 6aed005071..4c7d6f0c97 100644 +index 0940f4ef33..28d117cb3d 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn -@@ -663,10 +663,14 @@ if (is_mac || is_ios) { +@@ -665,10 +665,14 @@ if (is_mac || is_ios) { if (is_win) { rtc_library("rtc_task_queue_win") { visibility = [ "../api/task_queue:default_task_queue_factory" ] diff --git a/third_party/libwebrtc/moz-patch-stack/s0084.patch b/third_party/libwebrtc/moz-patch-stack/s0084.patch @@ -50,7 +50,7 @@ index 0dd380a70b..4f48c1a06c 100644 Set(std::make_unique<RtcEventLogNull>()); } diff --git a/api/task_queue/BUILD.gn b/api/task_queue/BUILD.gn -index 7930cd7d39..6a9ce52d7f 100644 +index d0feb5007c..708e0ae593 100644 --- a/api/task_queue/BUILD.gn +++ b/api/task_queue/BUILD.gn @@ -83,6 +83,10 @@ rtc_library("task_queue_test") { diff --git a/third_party/libwebrtc/moz-patch-stack/s0091.patch b/third_party/libwebrtc/moz-patch-stack/s0091.patch @@ -13,10 +13,10 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/4e7b3c485e549e7e3 1 file changed, 6 insertions(+) diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn -index 4c7d6f0c97..aebf6048dc 100644 +index 28d117cb3d..ff0e38f5cd 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn -@@ -990,6 +990,12 @@ rtc_library("threading") { +@@ -992,6 +992,12 @@ rtc_library("threading") { "thread.cc", "thread.h", ] diff --git a/third_party/libwebrtc/moz-patch-stack/s0094.patch b/third_party/libwebrtc/moz-patch-stack/s0094.patch @@ -9,10 +9,10 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/ee2f06666bcc6d22c 1 file changed, 2 insertions(+) diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn -index aebf6048dc..d13eabadbb 100644 +index ff0e38f5cd..84163ffff2 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn -@@ -1641,6 +1641,7 @@ if (!build_with_mozilla) { +@@ -1643,6 +1643,7 @@ if (!build_with_mozilla) { } rtc_library("ssl_adapter") { @@ -20,7 +20,7 @@ index aebf6048dc..d13eabadbb 100644 visibility = [ "*" ] sources = [ "openssl_adapter.cc", -@@ -1689,6 +1690,7 @@ rtc_library("ssl_adapter") { +@@ -1691,6 +1692,7 @@ rtc_library("ssl_adapter") { configs += [ "..:external_ssl_library" ] } } diff --git a/third_party/libwebrtc/moz-patch-stack/s0103.patch b/third_party/libwebrtc/moz-patch-stack/s0103.patch @@ -216,7 +216,7 @@ index a3ee0d4e0c..322c52ac64 100644 rtc_source_set("audio_encoder_g722_config") { diff --git a/api/audio_codecs/opus/BUILD.gn b/api/audio_codecs/opus/BUILD.gn -index ad59ce700e..ada1c4799f 100644 +index 6df8361dbb..a86f34a973 100644 --- a/api/audio_codecs/opus/BUILD.gn +++ b/api/audio_codecs/opus/BUILD.gn @@ -8,8 +8,8 @@ @@ -246,7 +246,7 @@ index 40714b196e..2c6b39f59e 100644 if (rtc_include_tests) { diff --git a/api/video/BUILD.gn b/api/video/BUILD.gn -index 4b6f18729b..c21d5fc2e8 100644 +index 9e016620eb..3598550c99 100644 --- a/api/video/BUILD.gn +++ b/api/video/BUILD.gn @@ -8,8 +8,8 @@ @@ -261,7 +261,7 @@ index 4b6f18729b..c21d5fc2e8 100644 rtc_library("video_rtp_headers") { diff --git a/api/video_codecs/BUILD.gn b/api/video_codecs/BUILD.gn -index 802f8cc436..eb4fbcad65 100644 +index f21a8cff25..48f6d8c1e7 100644 --- a/api/video_codecs/BUILD.gn +++ b/api/video_codecs/BUILD.gn @@ -8,8 +8,8 @@ @@ -616,7 +616,7 @@ index 605b9bb84a..278e312c85 100644 if (rtc_build_libsrtp) { diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn -index d13eabadbb..16565eb595 100644 +index 84163ffff2..ad172a2b70 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn @@ -9,8 +9,8 @@ @@ -630,7 +630,7 @@ index d13eabadbb..16565eb595 100644 } rtc_source_set("protobuf_utils") { -@@ -1878,8 +1878,8 @@ rtc_library("base64") { +@@ -1880,8 +1880,8 @@ rtc_library("base64") { } if (rtc_rusty_base64) { @@ -741,7 +741,7 @@ index a18d353a0e..bf3f51badd 100644 ] } diff --git a/system_wrappers/BUILD.gn b/system_wrappers/BUILD.gn -index 70d0dcb6d9..b03bcfe0f5 100644 +index 02ae34a2f8..2ecd352a88 100644 --- a/system_wrappers/BUILD.gn +++ b/system_wrappers/BUILD.gn @@ -7,8 +7,8 @@ diff --git a/third_party/libwebrtc/moz-patch-stack/s0108.patch b/third_party/libwebrtc/moz-patch-stack/s0108.patch @@ -116,10 +116,10 @@ index 6f2dc22e00..e3ee0fe861 100644 public_configs = [] if (!build_with_chromium) { diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn -index 16565eb595..9947a80e7b 100644 +index ad172a2b70..00719143e6 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn -@@ -1520,6 +1520,7 @@ rtc_source_set("ssl_header") { +@@ -1522,6 +1522,7 @@ rtc_source_set("ssl_header") { } rtc_library("digest") { @@ -127,7 +127,7 @@ index 16565eb595..9947a80e7b 100644 visibility = [ "*" ] sources = [ "message_digest.cc", -@@ -1541,8 +1542,10 @@ rtc_library("digest") { +@@ -1543,8 +1544,10 @@ rtc_library("digest") { configs += [ "..:external_ssl_library" ] } } @@ -138,7 +138,7 @@ index 16565eb595..9947a80e7b 100644 visibility = [ "*" ] sources = [ "crypto_random.cc", -@@ -1563,6 +1566,7 @@ rtc_library("crypto_random") { +@@ -1565,6 +1568,7 @@ rtc_library("crypto_random") { configs += [ "..:external_ssl_library" ] } } diff --git a/third_party/libwebrtc/rtc_base/BUILD.gn b/third_party/libwebrtc/rtc_base/BUILD.gn @@ -181,8 +181,10 @@ rtc_library("copy_on_write_buffer") { rtc_library("denormal_disabler") { visibility = [ "*" ] - public = [ "denormal_disabler.h" ] - sources = [ "denormal_disabler.cc" ] + sources = [ + "denormal_disabler.cc", + "denormal_disabler.h", + ] deps = [ "../rtc_base:checks", "../rtc_base/system:arch", diff --git a/third_party/libwebrtc/system_wrappers/BUILD.gn b/third_party/libwebrtc/system_wrappers/BUILD.gn @@ -47,8 +47,10 @@ rtc_library("system_wrappers") { rtc_library("field_trial") { visibility = [ "*" ] poisonous = [ "environment_construction" ] - public = [ "include/field_trial.h" ] - sources = [ "source/field_trial.cc" ] + sources = [ + "include/field_trial.h", + "source/field_trial.cc", + ] if (rtc_exclude_field_trial_default) { defines = [ "WEBRTC_EXCLUDE_FIELD_TRIAL_DEFAULT" ] } @@ -65,8 +67,10 @@ rtc_library("field_trial") { rtc_library("metrics") { visibility = [ "*" ] - public = [ "include/metrics.h" ] - sources = [ "source/metrics.cc" ] + sources = [ + "include/metrics.h", + "source/metrics.cc", + ] if (rtc_exclude_metrics_default) { defines = [ "WEBRTC_EXCLUDE_METRICS_DEFAULT" ] }