Merge "Make it easier to add new build architectures" am: 4c73e92a71

Original change: https://android-review.googlesource.com/c/platform/external/webrtc/+/2449947

Change-Id: Iaf142ffab76436dde2f1ff180e0b996b3a2ad48f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index de09a9b..072367d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -53,36 +53,36 @@
         "third_party/crc32c/src/include",
     ],
     cflags: [
-        "-Wno-everything",
-        "-Wno-all",
-        "-Wno-error",
-        "-Wno-unreachable-code-aggressive",
-        "-Wno-unreachable-code-break",
-        "-Wno-unused-parameter",
-        "-Wno-missing-field-initializers",
-        "-Wno-implicit-const-int-float-conversion",
-        "-DUSE_UDEV",
+        "-DABSL_ALLOCATOR_NOTHROW=1",
+        "-DRTC_ENABLE_VP9",
         "-DUSE_AURA=1",
         "-DUSE_GLIB=1",
         "-DUSE_NSS_CERTS=1",
+        "-DUSE_UDEV",
         "-DUSE_X11=1",
-        "-D_FILE_OFFSET_BITS=64",
-        "-D_LARGEFILE_SOURCE",
-        "-D_LARGEFILE64_SOURCE",
-        "-D_GNU_SOURCE",
-        "-DWEBRTC_ENABLE_PROTOBUF=0",
         "-DWEBRTC_ANDROID_PLATFORM_BUILD=1",
-        "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE",
-        "-DRTC_ENABLE_VP9",
+        "-DWEBRTC_APM_DEBUG_DUMP=0",
+        "-DWEBRTC_ENABLE_AVX2",
+        "-DWEBRTC_ENABLE_PROTOBUF=0",
         "-DWEBRTC_HAVE_SCTP",
+        "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE",
         "-DWEBRTC_LIBRARY_IMPL",
+        "-DWEBRTC_LINUX",
         "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1",
         "-DWEBRTC_POSIX",
-        "-DWEBRTC_LINUX",
         "-DWEBRTC_STRICT_FIELD_TRIALS=0",
-        "-DWEBRTC_ENABLE_AVX2",
-        "-DABSL_ALLOCATOR_NOTHROW=1",
-        "-DWEBRTC_APM_DEBUG_DUMP=0",
+        "-D_FILE_OFFSET_BITS=64",
+        "-D_GNU_SOURCE",
+        "-D_LARGEFILE64_SOURCE",
+        "-D_LARGEFILE_SOURCE",
+        "-Wno-all",
+        "-Wno-error",
+        "-Wno-everything",
+        "-Wno-implicit-const-int-float-conversion",
+        "-Wno-missing-field-initializers",
+        "-Wno-unreachable-code-aggressive",
+        "-Wno-unreachable-code-break",
+        "-Wno-unused-parameter",
         "-msse3",
     ],
     header_libs: [
@@ -113,36 +113,37 @@
         },
     },
     arch: {
-        x86: {
-            cflags: [
-                "-mavx2",
-                "-mfma",
-                "-DHAVE_ARM64_CRC32C=0",
-            ],
-        },
-        x86_64: {
-            cflags: [
-                "-msse2",
-                "-mavx2",
-                "-mfma",
-                "-DHAVE_ARM64_CRC32C=0",
-            ],
-        },
         arm: {
             cflags: [
-                "-DWEBRTC_HAS_NEON",
-                "-DWEBRTC_ARCH_ARM_V7",
+                "-DHAVE_ARM64_CRC32C=0",
                 "-DWEBRTC_ARCH_ARM",
+                "-DWEBRTC_ARCH_ARM_V7",
+                "-DWEBRTC_HAS_NEON",
                 "-mfpu=neon",
                 "-mthumb",
-                "-DHAVE_ARM64_CRC32C=0",
             ],
         },
         arm64: {
             cflags: [
-                "-DWEBRTC_HAS_NEON",
-                "-DWEBRTC_ARCH_ARM64",
                 "-DHAVE_ARM64_CRC32C=0",
+                "-DWEBRTC_ARCH_ARM64",
+                "-DWEBRTC_HAS_NEON",
+            ],
+        },
+        x86_64: {
+            cflags: [
+                "-DHAVE_ARM64_CRC32C=0",
+                "-mavx2",
+                "-mfma",
+                "-msse2",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-DHAVE_ARM64_CRC32C=0",
+                "-mavx2",
+                "-mfma",
+                "-msse2",
             ],
         },
     },
@@ -159,162 +160,86 @@
     name: "webrtc_socket__transmission_control_block",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        "net/dcsctp/socket/transmission_control_block.cc",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
+        ":webrtc_api__field_trials_registry",
         ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
         ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_public__socket",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
+        ":webrtc_base__malloc_internal",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
         ":webrtc_crc32c__crc32c",
         ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__socket",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "net/dcsctp/socket/transmission_control_block.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_tx__retransmission_queue",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_timer__timer",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_tx__retransmission_error_counter",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_socket__heartbeat_handler",
-        "webrtc_packet__sctp_packet",
-        "webrtc_task_queue__task_queue",
-        "webrtc_socket__stream_reset_handler",
-        "webrtc_socket__packet_sender",
-        "webrtc_rtc_base__checks",
         "webrtc_packet__chunk",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_rx__reassembly_queue",
-        "webrtc_rx__data_tracker",
-        "webrtc_synchronization__yield",
-        "webrtc_tx__retransmission_timeout",
+        "webrtc_packet__sctp_packet",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rx__data_tracker",
+        "webrtc_rx__reassembly_queue",
+        "webrtc_socket__heartbeat_handler",
+        "webrtc_socket__packet_sender",
+        "webrtc_socket__stream_reset_handler",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_task_queue__task_queue",
+        "webrtc_timer__timer",
+        "webrtc_tx__retransmission_error_counter",
+        "webrtc_tx__retransmission_queue",
+        "webrtc_tx__retransmission_timeout",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -324,205 +249,129 @@
     name: "webrtc_pc__peer_connection_message_handler",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        "pc/peer_connection_message_handler.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/peer_connection_message_handler.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -533,121 +382,49 @@
     name: "webrtc_api__media_stream_interface",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "api/media_stream_interface.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/media_stream_interface.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_audio_processing__audio_processing_statistics",
         "webrtc_api__audio_options_api",
-        "webrtc_synchronization__yield",
         "webrtc_api__rtp_parameters",
-        "webrtc_video__encoded_image",
+        "webrtc_audio_processing__audio_processing_statistics",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_image",
         "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -657,120 +434,48 @@
     name: "webrtc_render__incoming_video_stream",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "video/render/incoming_video_stream.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "video/render/incoming_video_stream.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__race_checker",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__checks",
         "webrtc_render__video_render_frames",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_frame",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
+        "webrtc_video__video_frame",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -780,158 +485,86 @@
     name: "webrtc_rtp__transport_feedback",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_video_codecs__scalability_mode",
         "modules/congestion_controller/rtp/transport_feedback_adapter.cc",
         "modules/congestion_controller/rtp/transport_feedback_demuxer.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_types__bad_variant_access",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__zero_memory",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_units__timestamp",
-        "webrtc_units__data_size",
-        "webrtc_units__data_rate",
+        "webrtc_network__sent_packet",
         "webrtc_rtc_base__checks",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_transport__network_control",
-        "webrtc_network__sent_packet",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -949,205 +582,129 @@
     name: "webrtc_pc__media_stream",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "pc/media_stream.cc",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/media_stream.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -1158,132 +715,82 @@
     name: "webrtc_ooura__fft_size_128",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
-        "common_audio/third_party/ooura/fft_size_128/ooura_fft.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "common_audio/third_party/ooura/fft_size_128/ooura_fft.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_synchronization__yield",
+        "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_common_audio__common_audio",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_common_audio__common_audio",
-        "webrtc_memory__aligned_malloc",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
+        arm: {
+            srcs: [
+                ":webrtc_common_audio__common_audio_c_arm_asm",
+                "common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc",
+            ],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+            srcs: ["common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"],
+        },
         x86_64: {
             srcs: ["common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc"],
         },
         x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
             srcs: ["common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc"],
         },
-        arm64: {
-            srcs: ["common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"],
-        },
+    },
+}
+
+/* From target:
+//modules/pacing:interval_budget
+*/
+cc_library_static {
+    name: "webrtc_pacing__interval_budget",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "modules/pacing/interval_budget.cc",
+    ],
+    host_supported: true,
+    static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
         arm: {
-            srcs: [
-                "common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc",
-                ":webrtc_common_audio__common_audio_c_arm_asm",
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
             ],
         },
     },
@@ -1298,238 +805,52 @@
 }
 
 /* From target:
-//modules/pacing:interval_budget
-*/
-cc_library_static {
-    name: "webrtc_pacing__interval_budget",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/pacing/interval_budget.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: ["webrtc_rtc_base__checks"],
-}
-
-/* From target:
 //pc:proxy
 */
 cc_library_static {
     name: "webrtc_pc__proxy",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "pc/proxy.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "pc/proxy.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__threading",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -1539,121 +860,45 @@
     name: "webrtc_task_utils__repeating_task",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/task_utils/repeating_task.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/task_utils/repeating_task.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -1663,111 +908,35 @@
     name: "webrtc_units__data_size",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "api/units/data_size.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/units/data_size.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -1777,217 +946,141 @@
     name: "webrtc_media__rtc_data_dcsctp_transport",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__factory",
+        ":webrtc_public__socket",
+        ":webrtc_public__utils",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_public__factory",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_public__socket",
-        ":webrtc_strings__cordz_functions",
-        "media/sctp/dcsctp_transport.cc",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_public__utils",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_crc32c__crc32c",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "media/sctp/dcsctp_transport.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__random",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_packet__sctp_packet",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_socket__dcsctp_socket",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
         "webrtc_packet__chunk",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_timer__task_queue_timeout",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_packet__sctp_packet",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__random",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_socket__dcsctp_socket",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_timer__task_queue_timeout",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -2006,114 +1099,38 @@
     name: "webrtc_rtc_base__timestamp_aligner",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/timestamp_aligner.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/timestamp_aligner.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -2123,101 +1140,25 @@
     name: "webrtc_transport__bitrate_settings",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/transport/bitrate_settings.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_base__raw_logging_internal",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_types__bad_optional_access",
+        "api/transport/bitrate_settings.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -2227,107 +1168,31 @@
     name: "webrtc_agc2__gain_applier",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/agc2/gain_applier.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "modules/audio_processing/agc2/gain_applier.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -2337,223 +1202,147 @@
     name: "webrtc_pc__audio_rtp_receiver",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__channel",
+        ":webrtc_pc__rtp_media_utils",
+        ":webrtc_pc__session_description",
+        ":webrtc_pc__simulcast_description",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        "pc/audio_rtp_receiver.cc",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_pc__session_description",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_pc__simulcast_description",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_pc__rtp_media_utils",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_pc__channel",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/audio_rtp_receiver.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_call__rtp_receiver",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_sigslot__sigslot",
-        "webrtc_pc__media_stream",
-        "webrtc_pc__remote_audio_source",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__task_queue",
-        "webrtc_pc__media_protocol_names",
-        "webrtc_rtc_base__threading",
-        "webrtc_pc__proxy",
-        "webrtc_api__dtls_transport_interface",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_pc__audio_track",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_pc__rtp_receiver",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_pc__jitter_buffer_delay",
-        "webrtc_rtc_base__rtc_base",
+        "webrtc_api__dtls_transport_interface",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_event",
+        "webrtc_audio_codecs__audio_codecs_api",
         "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
         "webrtc_network__sent_packet",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_pc__audio_track",
+        "webrtc_pc__jitter_buffer_delay",
+        "webrtc_pc__media_protocol_names",
+        "webrtc_pc__media_stream",
+        "webrtc_pc__proxy",
+        "webrtc_pc__remote_audio_source",
+        "webrtc_pc__rtp_receiver",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -2564,107 +1353,31 @@
     name: "webrtc_synchronization__yield_policy",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         "rtc_base/synchronization/yield_policy.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -2675,108 +1388,24 @@
     defaults: ["webrtc_defaults"],
     srcs: [],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     arch: {
+        arm: {
+            srcs: ["common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_arm.S"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+            srcs: ["common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"],
+        },
         x86_64: {
             srcs: ["common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"],
         },
         x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
             srcs: ["common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"],
         },
-        arm64: {
-            srcs: ["common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"],
-        },
-        arm: {
-            srcs: ["common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_arm.S"],
-        },
     },
 }
 
@@ -2787,111 +1416,35 @@
     name: "webrtc_api__audio_options_api",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/audio_options.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_options.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -2909,116 +1462,40 @@
     name: "webrtc_experiments__cpu_speed_experiment",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "rtc_base/experiments/cpu_speed_experiment.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -3028,115 +1505,43 @@
     name: "webrtc_config__encoder_config",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "video/config/video_encoder_config.cc",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "video/config/video_encoder_config.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
         "webrtc_video_codecs__video_codecs_api",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -3154,115 +1559,43 @@
     name: "webrtc_media__rtc_sdp_video_format_utils",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "media/base/sdp_video_format_utils.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "media/base/sdp_video_format_utils.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
         "webrtc_video_codecs__video_codecs_api",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -3272,252 +1605,176 @@
     name: "webrtc_call__call",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_coding__default_neteq_factory",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__default_neteq_controller_factory",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_neteq__tick_timer",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        "call/call_factory.cc",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        "call/degraded_call.cc",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_audio_coding__default_neteq_factory",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        "call/receive_time_calculator.cc",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_transport__stun_types",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "call/call.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_neteq__tick_timer",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        "call/flexfec_receive_stream_impl.cc",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
-        ":webrtc_neteq__default_neteq_controller_factory",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "call/call.cc",
+        "call/call_factory.cc",
+        "call/degraded_call.cc",
+        "call/flexfec_receive_stream_impl.cc",
+        "call/receive_time_calculator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_audio_coding__neteq",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_api__media_stream_interface",
-        "webrtc_video_coding__video_coding",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_config__encoder_config",
-        "webrtc_rtc_base__checks",
-        "webrtc_call__rtp_sender",
-        "webrtc_call__video_stream_api",
         "webrtc_adaptation__resource_adaptation",
-        "webrtc_synchronization__yield",
         "webrtc_agc2__cpu_features",
-        "webrtc_congestion_controller__congestion_controller",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_call__fake_network",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__random",
-        "webrtc_logging__rtc_event_rtp_rtcp",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
         "webrtc_api__transport_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_audio__audio",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__neteq",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__bitrate_allocator",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__fake_network",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
+        "webrtc_call__rtp_sender",
+        "webrtc_call__simulated_network",
+        "webrtc_call__version",
+        "webrtc_call__video_stream_api",
+        "webrtc_config__encoder_config",
+        "webrtc_congestion_controller__congestion_controller",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_logging__rtc_event_audio",
+        "webrtc_logging__rtc_event_rtp_rtcp",
+        "webrtc_logging__rtc_event_video",
+        "webrtc_logging__rtc_stream_config",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_network__sent_packet",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pacing__pacing",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rate_limiter",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
         "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_units__timestamp",
-        "webrtc_logging__rtc_stream_config",
-        "webrtc_api__rtp_parameters",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_call__version",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__decode_synchronizer",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_call__rtp_receiver",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_call__bitrate_allocator",
-        "webrtc_logging__rtc_event_audio",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_video__frame_decode_timing",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtc_error",
-        "webrtc_video__video_frame",
-        "webrtc_pacing__pacing",
-        "webrtc_audio__audio",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__rtc_event",
+        "webrtc_task_utils__repeating_task",
         "webrtc_transport__network_control",
-        "webrtc_sigslot__sigslot",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_video__video",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_logging__rtc_event_video",
-        "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
         "webrtc_units__data_rate",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__rate_limiter",
-        "webrtc_rtp_rtcp__rtp_rtcp",
-        "webrtc_system__file_wrapper",
-        "webrtc_call__simulated_network",
-        "webrtc_network__sent_packet",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_units__timestamp",
+        "webrtc_video__decode_synchronizer",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__frame_decode_timing",
+        "webrtc_video__video",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_coding",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -3528,120 +1785,44 @@
     name: "webrtc_audio_coding__g722",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_base__throw_delegate",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/audio_coding/codecs/g722/audio_decoder_g722.cc",
         "modules/audio_coding/codecs/g722/audio_encoder_g722.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_audio_coding__legacy_encoded_audio_frame",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
+        "webrtc_audio_coding__g722_c",
+        "webrtc_audio_coding__legacy_encoded_audio_frame",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_audio_coding__g722_c",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -3651,161 +1832,85 @@
     name: "webrtc_p2p__libstunprober",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "p2p/stunprober/stun_prober.cc",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "p2p/stunprober/stun_prober.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_api__rtc_error",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_p2p__rtc_p2p",
         "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__ip_address",
         "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -3815,107 +1920,31 @@
     name: "webrtc_rtc_base__bit_buffer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/bit_buffer.cc",
-        ":webrtc_strings__strings",
         ":webrtc_base__log_severity",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/bit_buffer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -3933,122 +1962,46 @@
     name: "webrtc_goog_cc__alr_detector",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/congestion_controller/goog_cc/alr_detector.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/congestion_controller/goog_cc/alr_detector.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_logging__rtc_event_pacing",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__field_trial_parser",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_pacing__interval_budget",
         "webrtc_experiments__alr_experiment",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_logging__rtc_event_pacing",
+        "webrtc_pacing__interval_budget",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_transport__field_trial_based_config",
         "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__yield",
+        "webrtc_transport__field_trial_based_config",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -4057,9 +2010,9 @@
 filegroup {
     name: "webrtc_pc__webrtc_sdp",
     srcs: [
+        "pc/jsep_ice_candidate.cc",
         "pc/jsep_session_description.cc",
         "pc/webrtc_sdp.cc",
-        "pc/jsep_ice_candidate.cc",
     ],
 }
 
@@ -4070,118 +2023,42 @@
     name: "webrtc_timer__task_queue_timeout",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "net/dcsctp/timer/task_queue_timeout.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_public__socket",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/timer/task_queue_timeout.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -4191,118 +2068,42 @@
     name: "webrtc_experiments__bandwidth_quality_scaler_settings",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "rtc_base/experiments/bandwidth_quality_scaler_settings.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
         "webrtc_transport__field_trial_based_config",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -4313,95 +2114,19 @@
     defaults: ["webrtc_defaults"],
     srcs: ["rtc_base/synchronization/yield.cc"],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -4411,213 +2136,137 @@
     name: "webrtc_test__fake_video_codecs",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        "test/fake_vp8_encoder.cc",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_debugging__demangle_internal",
-        "test/fake_vp8_decoder.cc",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        "test/fake_decoder.cc",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        "test/configurable_frame_size_encoder.cc",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        "test/fake_encoder.cc",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_hash__low_level_hash",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "test/configurable_frame_size_encoder.cc",
+        "test/fake_decoder.cc",
+        "test/fake_encoder.cc",
+        "test/fake_vp8_decoder.cc",
+        "test/fake_vp8_encoder.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_video_codecs__vp8_temporal_layers_factory",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__criticalsection",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_rtc_base__criticalsection",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_codecs__vp8_temporal_layers_factory",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -4628,129 +2277,53 @@
     name: "webrtc_packet__error_cause",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "net/dcsctp/packet/error_cause/out_of_resource_error_cause.cc",
-        "net/dcsctp/packet/error_cause/missing_mandatory_parameter_cause.cc",
-        "net/dcsctp/packet/error_cause/protocol_violation_cause.cc",
-        "net/dcsctp/packet/error_cause/restart_of_an_association_with_new_address_cause.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_strings__internal",
-        "net/dcsctp/packet/error_cause/user_initiated_abort_cause.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "net/dcsctp/packet/error_cause/no_user_data_cause.cc",
-        "net/dcsctp/packet/error_cause/error_cause.cc",
-        "net/dcsctp/packet/error_cause/unrecognized_parameter_cause.cc",
-        "net/dcsctp/packet/error_cause/invalid_stream_identifier_cause.cc",
-        "net/dcsctp/packet/error_cause/invalid_mandatory_parameter_cause.cc",
-        "net/dcsctp/packet/error_cause/cookie_received_while_shutting_down_cause.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/packet/error_cause/cookie_received_while_shutting_down_cause.cc",
+        "net/dcsctp/packet/error_cause/error_cause.cc",
+        "net/dcsctp/packet/error_cause/invalid_mandatory_parameter_cause.cc",
+        "net/dcsctp/packet/error_cause/invalid_stream_identifier_cause.cc",
+        "net/dcsctp/packet/error_cause/missing_mandatory_parameter_cause.cc",
+        "net/dcsctp/packet/error_cause/no_user_data_cause.cc",
+        "net/dcsctp/packet/error_cause/out_of_resource_error_cause.cc",
+        "net/dcsctp/packet/error_cause/protocol_violation_cause.cc",
+        "net/dcsctp/packet/error_cause/restart_of_an_association_with_new_address_cause.cc",
         "net/dcsctp/packet/error_cause/stale_cookie_error_cause.cc",
         "net/dcsctp/packet/error_cause/unrecognized_chunk_type_cause.cc",
-        ":webrtc_strings__strings",
+        "net/dcsctp/packet/error_cause/unrecognized_parameter_cause.cc",
         "net/dcsctp/packet/error_cause/unresolvable_address_cause.cc",
+        "net/dcsctp/packet/error_cause/user_initiated_abort_cause.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_packet__tlv_trait",
         "webrtc_packet__parameter",
+        "webrtc_packet__tlv_trait",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -4767,51 +2340,40 @@
 cc_library_static {
     name: "webrtc_common_audio__common_audio_sse2",
     defaults: ["webrtc_defaults"],
-    srcs: [],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "common_audio/fir_filter_sse.cc",
+        "common_audio/resampler/sinc_resampler_sse.cc",
+    ],
     host_supported: true,
+    cflags: ["-msse2"],
     static_libs: [
         "webrtc_containers__flat_containers_internal",
-        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_memory__aligned_malloc",
         "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
     ],
     arch: {
-        x86_64: {
-            srcs: [
-                ":webrtc_types__bad_optional_access",
-                "common_audio/resampler/sinc_resampler_sse.cc",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                "common_audio/fir_filter_sse.cc",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                ":webrtc_base__spinlock_wait",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
-            ],
+        arm: {
+            enabled: false,
+        },
+        arm64: {
+            enabled: false,
         },
         x86: {
-            srcs: [
-                ":webrtc_types__bad_optional_access",
-                "common_audio/resampler/sinc_resampler_sse.cc",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                "common_audio/fir_filter_sse.cc",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                ":webrtc_base__spinlock_wait",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
             ],
         },
     },
@@ -4826,277 +2388,80 @@
 }
 
 /* From target:
-//modules/audio_processing/agc2/rnn_vad:rnn_vad_auto_correlation
-*/
-cc_library_static {
-    name: "webrtc_rnn_vad__rnn_vad_auto_correlation",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/agc2/rnn_vad/auto_correlation.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_utility__pffft_wrapper",
-        "webrtc_rtc_base__platform_thread_types",
-    ],
-}
-
-/* From target:
 //common_audio:common_audio_c
 */
 cc_library_static {
     name: "webrtc_common_audio__common_audio_c",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "common_audio/signal_processing/filter_ma_fast_q12.c",
-        "common_audio/signal_processing/auto_corr_to_refl_coef.c",
-        "common_audio/signal_processing/resample_by_2.c",
-        "common_audio/signal_processing/resample.c",
-        "common_audio/signal_processing/sqrt_of_one_minus_x_squared.c",
-        "common_audio/signal_processing/spl_sqrt.c",
-        "common_audio/signal_processing/resample_fractional.c",
-        "common_audio/ring_buffer.c",
-        "common_audio/vad/vad_gmm.c",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_strings__internal",
-        "common_audio/signal_processing/randomization_functions.c",
-        "common_audio/signal_processing/get_hanning_window.c",
-        "common_audio/signal_processing/min_max_operations.c",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "common_audio/signal_processing/filter_ar.c",
-        "common_audio/signal_processing/spl_init.c",
         ":webrtc_base__log_severity",
-        "common_audio/signal_processing/get_scaling_square.c",
-        "common_audio/signal_processing/lpc_to_refl_coef.c",
-        "common_audio/signal_processing/complex_fft.c",
-        "common_audio/signal_processing/refl_coef_to_lpc.c",
-        "common_audio/signal_processing/downsample_fast.c",
-        "common_audio/signal_processing/levinson_durbin.c",
-        "common_audio/vad/webrtc_vad.c",
-        "common_audio/signal_processing/copy_set_operations.c",
-        "common_audio/signal_processing/vector_scaling_operations.c",
-        "common_audio/signal_processing/energy.c",
-        "common_audio/signal_processing/splitting_filter.c",
-        "common_audio/signal_processing/division_operations.c",
-        ":webrtc_base__throw_delegate",
-        "common_audio/vad/vad_filterbank.c",
-        "common_audio/signal_processing/real_fft.c",
         ":webrtc_base__raw_logging_internal",
-        "common_audio/signal_processing/ilbc_specific_functions.c",
-        "common_audio/signal_processing/spl_inl.c",
-        "common_audio/signal_processing/resample_48khz.c",
-        "common_audio/vad/vad_core.c",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
-        "common_audio/signal_processing/cross_correlation.c",
-        "common_audio/vad/vad_sp.c",
+        ":webrtc_types__bad_optional_access",
+        "common_audio/ring_buffer.c",
+        "common_audio/signal_processing/auto_corr_to_refl_coef.c",
         "common_audio/signal_processing/auto_correlation.c",
+        "common_audio/signal_processing/complex_fft.c",
+        "common_audio/signal_processing/copy_set_operations.c",
+        "common_audio/signal_processing/cross_correlation.c",
+        "common_audio/signal_processing/division_operations.c",
+        "common_audio/signal_processing/downsample_fast.c",
+        "common_audio/signal_processing/energy.c",
+        "common_audio/signal_processing/filter_ar.c",
+        "common_audio/signal_processing/filter_ma_fast_q12.c",
+        "common_audio/signal_processing/get_hanning_window.c",
+        "common_audio/signal_processing/get_scaling_square.c",
+        "common_audio/signal_processing/ilbc_specific_functions.c",
+        "common_audio/signal_processing/levinson_durbin.c",
+        "common_audio/signal_processing/lpc_to_refl_coef.c",
+        "common_audio/signal_processing/min_max_operations.c",
+        "common_audio/signal_processing/randomization_functions.c",
+        "common_audio/signal_processing/real_fft.c",
+        "common_audio/signal_processing/refl_coef_to_lpc.c",
+        "common_audio/signal_processing/resample.c",
+        "common_audio/signal_processing/resample_48khz.c",
+        "common_audio/signal_processing/resample_by_2.c",
         "common_audio/signal_processing/resample_by_2_internal.c",
+        "common_audio/signal_processing/resample_fractional.c",
+        "common_audio/signal_processing/spl_init.c",
+        "common_audio/signal_processing/spl_inl.c",
+        "common_audio/signal_processing/spl_sqrt.c",
+        "common_audio/signal_processing/splitting_filter.c",
+        "common_audio/signal_processing/sqrt_of_one_minus_x_squared.c",
+        "common_audio/signal_processing/vector_scaling_operations.c",
+        "common_audio/vad/vad_core.c",
+        "common_audio/vad/vad_filterbank.c",
+        "common_audio/vad/vad_gmm.c",
+        "common_audio/vad/vad_sp.c",
+        "common_audio/vad/webrtc_vad.c",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_common_audio__common_audio_cc",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_ooura__fft_size_256",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_spl_sqrt_floor__spl_sqrt_floor",
         "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_common_audio__common_audio_cc",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+            srcs: [
+                "common_audio/signal_processing/complex_bit_reverse.c",
+                "common_audio/signal_processing/filter_ar_fast_q12.c",
+            ],
+        },
         x86_64: {
             srcs: [
                 "common_audio/signal_processing/complex_bit_reverse.c",
@@ -5104,19 +2469,56 @@
             ],
         },
         x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
             srcs: [
                 "common_audio/signal_processing/complex_bit_reverse.c",
                 "common_audio/signal_processing/filter_ar_fast_q12.c",
             ],
         },
+    },
+}
+
+/* From target:
+//modules/audio_processing/agc2/rnn_vad:rnn_vad_auto_correlation
+*/
+cc_library_static {
+    name: "webrtc_rnn_vad__rnn_vad_auto_correlation",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/rnn_vad/auto_correlation.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__pffft_wrapper",
+    ],
+    arch: {
+        arm: {
+        },
         arm64: {
-            srcs: [
-                "common_audio/signal_processing/complex_bit_reverse.c",
-                "common_audio/signal_processing/filter_ar_fast_q12.c",
-            ],
+            cflags: ["-mbranch-protection=standard"],
         },
-        arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
         },
     },
 }
@@ -5128,154 +2530,78 @@
     name: "webrtc_timing__jitter_estimator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "modules/video_coding/timing/jitter_estimator.cc",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "modules/video_coding/timing/jitter_estimator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__zero_memory",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
-        "webrtc_units__frequency",
-        "webrtc_units__timestamp",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_timing__frame_delay_variation_kalman_filter",
         "webrtc_timing__rtt_filter",
         "webrtc_units__data_size",
-        "webrtc_rtc_base__checks",
-        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_units__frequency",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__logging",
-        "webrtc_timing__frame_delay_variation_kalman_filter",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -5285,116 +2611,40 @@
     name: "webrtc_audio__audio_frame_api",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "api/audio/audio_frame.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "api/audio/channel_layout.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio/audio_frame.cc",
+        "api/audio/channel_layout.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_api__rtp_packet_info",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -5404,174 +2654,102 @@
     name: "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc",
-        ":webrtc_debugging__demangle_internal",
-        "modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        "modules/remote_bitrate_estimator/overuse_detector.cc",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        "modules/remote_bitrate_estimator/aimd_rate_control.cc",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "modules/remote_bitrate_estimator/inter_arrival.cc",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "modules/remote_bitrate_estimator/overuse_estimator.cc",
-        "modules/remote_bitrate_estimator/bwe_defines.cc",
-        "modules/remote_bitrate_estimator/packet_arrival_map.cc",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        "modules/remote_bitrate_estimator/remote_estimator_proxy.cc",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/remote_bitrate_estimator/aimd_rate_control.cc",
+        "modules/remote_bitrate_estimator/bwe_defines.cc",
+        "modules/remote_bitrate_estimator/inter_arrival.cc",
+        "modules/remote_bitrate_estimator/overuse_detector.cc",
+        "modules/remote_bitrate_estimator/overuse_estimator.cc",
+        "modules/remote_bitrate_estimator/packet_arrival_map.cc",
+        "modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.cc",
+        "modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc",
+        "modules/remote_bitrate_estimator/remote_estimator_proxy.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0"],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_api__rtp_headers",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_units__timestamp",
-        "webrtc_units__data_size",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_rtc_base__rate_statistics",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_units__data_rate",
-        "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__checks",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_rtc_base__logging",
         "webrtc_goog_cc__link_capacity_estimator",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_transport__network_control",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__rate_statistics",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -5589,145 +2767,65 @@
     name: "webrtc_audio_device__audio_device_impl",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_device/dummy/file_audio_device.cc",
-        ":webrtc_types__bad_optional_access",
         ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_utility__utility",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_utility__utility",
         "modules/audio_device/audio_device_data_observer.cc",
         "modules/audio_device/audio_device_impl.cc",
         "modules/audio_device/dummy/audio_device_dummy.cc",
+        "modules/audio_device/dummy/file_audio_device.cc",
         "modules/audio_device/dummy/file_audio_device_factory.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__internal",
         "modules/audio_device/include/test_audio_device.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DWEBRTC_DUMMY_FILE_DEVICES",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DWEBRTC_DUMMY_FILE_DEVICES"],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__random",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
+        "webrtc_audio_device__audio_device_buffer",
+        "webrtc_audio_device__audio_device_generic",
         "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
         "webrtc_synchronization__sequence_checker_internal",
         "webrtc_synchronization__yield",
         "webrtc_system__file_wrapper",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio_device__audio_device_buffer",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_generic",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -5738,120 +2836,48 @@
     name: "webrtc_opus__audio_encoder_multiopus",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "api/audio_codecs/opus/audio_encoder_multi_channel_opus.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/opus/audio_encoder_multi_channel_opus.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
         "webrtc_audio_coding__webrtc_multiopus",
-        "webrtc_opus__audio_encoder_opus_config",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_opus__audio_encoder_opus_config",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+            cflags: ["-DOPUS_FIXED_POINT"],
+        },
+        arm64: {
+            cflags: [
+                "-DOPUS_FIXED_POINT",
+                "-mbranch-protection=standard",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -5861,115 +2887,39 @@
     name: "webrtc_experiments__normalize_simulcast_size_experiment",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/experiments/normalize_simulcast_size_experiment.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/experiments/normalize_simulcast_size_experiment.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -5979,114 +2929,38 @@
     name: "webrtc_common_audio__common_audio_cc",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "common_audio/signal_processing/dot_product_with_scale.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "common_audio/signal_processing/dot_product_with_scale.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -6104,210 +2978,264 @@
     name: "webrtc_pc__rtp_parameters_conversion",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__session_description",
+        ":webrtc_pc__simulcast_description",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_pc__session_description",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_pc__simulcast_description",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        "pc/rtp_parameters_conversion.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/rtp_parameters_conversion.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_pc__media_protocol_names",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_pc__media_protocol_names",
+        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
+}
+
+/* From target:
+//call:fake_network
+*/
+cc_library_static {
+    name: "webrtc_call__fake_network",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "call/fake_network_pipe.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__transport_api",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__simulated_network",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -6317,13 +3245,13 @@
 filegroup {
     name: "webrtc_synchronization__synchronization",
     srcs: [
-        "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
-        "third_party/abseil-cpp/absl/synchronization/notification.cc",
-        "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
         "third_party/abseil-cpp/absl/synchronization/barrier.cc",
+        "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
+        "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
+        "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
         "third_party/abseil-cpp/absl/synchronization/internal/waiter.cc",
         "third_party/abseil-cpp/absl/synchronization/mutex.cc",
-        "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
+        "third_party/abseil-cpp/absl/synchronization/notification.cc",
     ],
 }
 
@@ -6336,333 +3264,51 @@
 }
 
 /* From target:
-//call:fake_network
-*/
-cc_library_static {
-    name: "webrtc_call__fake_network",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        "call/fake_network_pipe.cc",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__random",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_api__transport_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtc_error",
-        "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_call__simulated_network",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
-    ],
-    arch: {
-        arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
-        },
-    },
-}
-
-/* From target:
 //net/dcsctp/tx:retransmission_queue
 */
 cc_library_static {
     name: "webrtc_tx__retransmission_queue",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "net/dcsctp/tx/retransmission_queue.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_public__socket",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/tx/retransmission_queue.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_tx__retransmission_timeout",
-        "webrtc_tx__outstanding_data",
-        "webrtc_timer__timer",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_packet__chunk",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
+        "webrtc_timer__timer",
+        "webrtc_tx__outstanding_data",
+        "webrtc_tx__retransmission_timeout",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -6680,113 +3326,37 @@
     name: "webrtc_timer__timer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "net/dcsctp/timer/timer.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_public__socket",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/timer/timer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_containers__flat_containers_internal",
-        "webrtc_task_queue__task_queue",
         "webrtc_rtc_base__checks",
+        "webrtc_task_queue__task_queue",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -6796,107 +3366,31 @@
     name: "webrtc_rtc_base__zero_memory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_base__throw_delegate",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
         "rtc_base/zero_memory.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -6906,114 +3400,38 @@
     name: "webrtc_rtc_base__async_resolver_interface",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/async_resolver_interface.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/async_resolver_interface.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__socket_address",
         "webrtc_rtc_base__checks",
-        "webrtc_sigslot__sigslot",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -7023,222 +3441,278 @@
     name: "webrtc_api__libjingle_peerconnection_api",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/sctp_transport_interface.cc",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "api/data_channel_interface.cc",
-        "api/peer_connection_interface.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        "api/rtp_transceiver_interface.cc",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        "api/legacy_stats_types.cc",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        "api/jsep.cc",
-        ":webrtc_synchronization__synchronization",
-        "api/rtp_receiver_interface.cc",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/data_channel_interface.cc",
+        "api/jsep.cc",
         "api/jsep_ice_candidate.cc",
+        "api/legacy_stats_types.cc",
+        "api/peer_connection_interface.cc",
+        "api/rtp_receiver_interface.cc",
+        "api/rtp_transceiver_interface.cc",
+        "api/sctp_transport_interface.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__audio_options_api",
         "webrtc_api__candidate",
         "webrtc_api__dtls_transport_interface",
-        "webrtc_units__timestamp",
-        "webrtc_transport__bitrate_settings",
         "webrtc_api__field_trials",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_api__audio_options_api",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
+        "webrtc_api__media_stream_interface",
         "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_api__rtp_sender_interface",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_audio_processing__audio_processing_statistics",
-        "webrtc_rtc_base__logging",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_processing_statistics",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_transport__network_control",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__bitrate_settings",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
+}
+
+/* From target:
+//modules/rtp_rtcp:rtp_rtcp_format
+*/
+cc_library_static {
+    name: "webrtc_rtp_rtcp__rtp_rtcp_format",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/rtp_rtcp/include/report_block_data.cc",
+        "modules/rtp_rtcp/include/rtp_rtcp_defines.cc",
+        "modules/rtp_rtcp/source/rtcp_packet.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/app.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/bye.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/common_header.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/compound_packet.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/dlrr.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/extended_reports.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/fir.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/loss_notification.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/nack.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/pli.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/psfb.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/receiver_report.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/remb.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/remote_estimate.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/report_block.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/rrtr.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/rtpfb.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/sdes.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/sender_report.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/tmmb_item.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/tmmbn.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc",
+        "modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc",
+        "modules/rtp_rtcp/source/rtp_dependency_descriptor_extension.cc",
+        "modules/rtp_rtcp/source/rtp_dependency_descriptor_reader.cc",
+        "modules/rtp_rtcp/source/rtp_dependency_descriptor_writer.cc",
+        "modules/rtp_rtcp/source/rtp_generic_frame_descriptor.cc",
+        "modules/rtp_rtcp/source/rtp_generic_frame_descriptor_extension.cc",
+        "modules/rtp_rtcp/source/rtp_header_extension_map.cc",
+        "modules/rtp_rtcp/source/rtp_header_extensions.cc",
+        "modules/rtp_rtcp/source/rtp_packet.cc",
+        "modules/rtp_rtcp/source/rtp_packet_received.cc",
+        "modules/rtp_rtcp/source/rtp_packet_to_send.cc",
+        "modules/rtp_rtcp/source/rtp_util.cc",
+        "modules/rtp_rtcp/source/rtp_video_layers_allocation_extension.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_common_video__common_video",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_rtc_base__bit_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -7250,299 +3724,19 @@
     defaults: ["webrtc_defaults"],
     srcs: ["api/call/transport.cc"],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-}
-
-/* From target:
-//modules/rtp_rtcp:rtp_rtcp_format
-*/
-cc_library_static {
-    name: "webrtc_rtp_rtcp__rtp_rtcp_format",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        "modules/rtp_rtcp/source/rtp_header_extensions.cc",
-        "modules/rtp_rtcp/source/rtp_packet.cc",
-        "modules/rtp_rtcp/include/rtp_rtcp_defines.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_numeric__int128",
-        ":webrtc_strings__cordz_functions",
-        "modules/rtp_rtcp/source/rtcp_packet/receiver_report.cc",
-        "modules/rtp_rtcp/source/rtp_header_extension_map.cc",
-        ":webrtc_strings__cordz_handle",
-        "modules/rtp_rtcp/include/report_block_data.cc",
-        ":webrtc_synchronization__graphcycles_internal",
-        "modules/rtp_rtcp/source/rtcp_packet/nack.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_types__bad_variant_access",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        "modules/rtp_rtcp/source/rtp_video_layers_allocation_extension.cc",
-        ":webrtc_debugging__demangle_internal",
-        "modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc",
-        "modules/rtp_rtcp/source/rtp_dependency_descriptor_extension.cc",
-        "modules/rtp_rtcp/source/rtp_packet_received.cc",
-        ":webrtc_base__base",
-        ":webrtc_time__time",
-        ":webrtc_debugging__symbolize",
-        "modules/rtp_rtcp/source/rtcp_packet/sender_report.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc",
-        ":webrtc_hash__city",
-        "modules/rtp_rtcp/source/rtcp_packet/dlrr.cc",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_strings__cord",
-        "modules/rtp_rtcp/source/rtcp_packet/extended_reports.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/loss_notification.cc",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_rtc_base__callback_list",
-        "modules/rtp_rtcp/source/rtcp_packet/pli.cc",
-        ":webrtc_base__log_severity",
-        "modules/rtp_rtcp/source/rtp_generic_frame_descriptor.cc",
-        "modules/rtp_rtcp/source/rtcp_packet.cc",
-        "modules/rtp_rtcp/source/rtp_util.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/common_header.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/rtpfb.cc",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_hash__hash",
-        "modules/rtp_rtcp/source/rtcp_packet/remote_estimate.cc",
-        ":webrtc_base__throw_delegate",
-        "modules/rtp_rtcp/source/rtcp_packet/sdes.cc",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        "modules/rtp_rtcp/source/rtp_dependency_descriptor_reader.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/rrtr.cc",
-        ":webrtc_container__raw_hash_set",
-        "modules/rtp_rtcp/source/rtp_generic_frame_descriptor_extension.cc",
-        ":webrtc_rtc_base__network_constants",
-        "modules/rtp_rtcp/source/rtcp_packet/report_block.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/bye.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/tmmbn.cc",
-        "modules/rtp_rtcp/source/rtp_packet_to_send.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/app.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/compound_packet.cc",
-        "modules/rtp_rtcp/source/rtcp_packet/psfb.cc",
-        ":webrtc_container__hashtablez_sampler",
-        "modules/rtp_rtcp/source/rtcp_packet/fir.cc",
-        ":webrtc_base__raw_logging_internal",
-        "modules/rtp_rtcp/source/rtcp_packet/remb.cc",
-        ":webrtc_api__field_trials_registry",
-        "modules/rtp_rtcp/source/rtcp_packet/tmmb_item.cc",
-        "modules/rtp_rtcp/source/rtp_dependency_descriptor_writer.cc",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_units__timestamp",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_common_video__common_video",
-        "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_rtc_base__bit_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_transport__network_control",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_rtp_headers",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -7552,194 +3746,114 @@
     name: "webrtc_audio_coding__ilbc_c",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_coding/codecs/ilbc/chebyshev.c",
-        "modules/audio_coding/codecs/ilbc/split_vq.c",
-        "modules/audio_coding/codecs/ilbc/hp_input.c",
-        "modules/audio_coding/codecs/ilbc/sort_sq.c",
-        "modules/audio_coding/codecs/ilbc/decoder_interpolate_lsf.c",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_strings__internal",
-        "modules/audio_coding/codecs/ilbc/constants.c",
-        "modules/audio_coding/codecs/ilbc/window32_w32.c",
-        ":webrtc_numeric__int128",
-        "modules/audio_coding/codecs/ilbc/comp_corr.c",
-        "modules/audio_coding/codecs/ilbc/lsp_to_lsf.c",
-        "modules/audio_coding/codecs/ilbc/frame_classify.c",
-        "modules/audio_coding/codecs/ilbc/abs_quant_loop.c",
-        "modules/audio_coding/codecs/ilbc/cb_search.c",
-        ":webrtc_strings__strings",
-        "modules/audio_coding/codecs/ilbc/lsf_check.c",
-        "modules/audio_coding/codecs/ilbc/cb_update_best_index.c",
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_coding/codecs/ilbc/lsf_to_poly.c",
-        "modules/audio_coding/codecs/ilbc/vq3.c",
         ":webrtc_base__base",
-        "modules/audio_coding/codecs/ilbc/enhancer.c",
-        "modules/audio_coding/codecs/ilbc/augmented_cb_corr.c",
-        "modules/audio_coding/codecs/ilbc/lpc_encode.c",
-        "modules/audio_coding/codecs/ilbc/interpolate_samples.c",
-        "modules/audio_coding/codecs/ilbc/enhancer_interface.c",
-        "modules/audio_coding/codecs/ilbc/interpolate.c",
-        "modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c",
-        "modules/audio_coding/codecs/ilbc/filtered_cb_vecs.c",
-        "modules/audio_coding/codecs/ilbc/abs_quant.c",
-        "modules/audio_coding/codecs/ilbc/ilbc.c",
-        "modules/audio_coding/codecs/ilbc/vq4.c",
-        "modules/audio_coding/codecs/ilbc/cb_search_core.c",
-        "modules/audio_coding/codecs/ilbc/hp_output.c",
-        "modules/audio_coding/codecs/ilbc/decode.c",
-        "modules/audio_coding/codecs/ilbc/enh_upsample.c",
-        "modules/audio_coding/codecs/ilbc/state_construct.c",
-        "modules/audio_coding/codecs/ilbc/encode.c",
-        "modules/audio_coding/codecs/ilbc/cb_mem_energy_augmentation.c",
         ":webrtc_base__log_severity",
-        "modules/audio_coding/codecs/ilbc/cb_mem_energy.c",
-        "modules/audio_coding/codecs/ilbc/get_cd_vec.c",
-        "modules/audio_coding/codecs/ilbc/init_encode.c",
-        "modules/audio_coding/codecs/ilbc/poly_to_lsp.c",
-        "modules/audio_coding/codecs/ilbc/do_plc.c",
-        "modules/audio_coding/codecs/ilbc/init_decode.c",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/ilbc/abs_quant.c",
+        "modules/audio_coding/codecs/ilbc/abs_quant_loop.c",
+        "modules/audio_coding/codecs/ilbc/augmented_cb_corr.c",
+        "modules/audio_coding/codecs/ilbc/bw_expand.c",
+        "modules/audio_coding/codecs/ilbc/cb_construct.c",
+        "modules/audio_coding/codecs/ilbc/cb_mem_energy.c",
+        "modules/audio_coding/codecs/ilbc/cb_mem_energy_augmentation.c",
+        "modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c",
+        "modules/audio_coding/codecs/ilbc/cb_search.c",
+        "modules/audio_coding/codecs/ilbc/cb_search_core.c",
+        "modules/audio_coding/codecs/ilbc/cb_update_best_index.c",
+        "modules/audio_coding/codecs/ilbc/chebyshev.c",
+        "modules/audio_coding/codecs/ilbc/comp_corr.c",
+        "modules/audio_coding/codecs/ilbc/constants.c",
         "modules/audio_coding/codecs/ilbc/create_augmented_vec.c",
-        "modules/audio_coding/codecs/ilbc/lsf_interpolate_to_poly_dec.c",
+        "modules/audio_coding/codecs/ilbc/decode.c",
+        "modules/audio_coding/codecs/ilbc/decode_residual.c",
+        "modules/audio_coding/codecs/ilbc/decoder_interpolate_lsf.c",
+        "modules/audio_coding/codecs/ilbc/do_plc.c",
+        "modules/audio_coding/codecs/ilbc/encode.c",
         "modules/audio_coding/codecs/ilbc/energy_inverse.c",
-        "modules/audio_coding/codecs/ilbc/simple_lpc_analysis.c",
-        "modules/audio_coding/codecs/ilbc/poly_to_lsf.c",
-        "modules/audio_coding/codecs/ilbc/lsf_interpolate_to_poly_enc.c",
-        "modules/audio_coding/codecs/ilbc/get_sync_seq.c",
+        "modules/audio_coding/codecs/ilbc/enh_upsample.c",
+        "modules/audio_coding/codecs/ilbc/enhancer.c",
+        "modules/audio_coding/codecs/ilbc/enhancer_interface.c",
+        "modules/audio_coding/codecs/ilbc/filtered_cb_vecs.c",
+        "modules/audio_coding/codecs/ilbc/frame_classify.c",
         "modules/audio_coding/codecs/ilbc/gain_dequant.c",
         "modules/audio_coding/codecs/ilbc/gain_quant.c",
+        "modules/audio_coding/codecs/ilbc/get_cd_vec.c",
+        "modules/audio_coding/codecs/ilbc/get_lsp_poly.c",
+        "modules/audio_coding/codecs/ilbc/get_sync_seq.c",
+        "modules/audio_coding/codecs/ilbc/hp_input.c",
+        "modules/audio_coding/codecs/ilbc/hp_output.c",
+        "modules/audio_coding/codecs/ilbc/ilbc.c",
         "modules/audio_coding/codecs/ilbc/index_conv_dec.c",
         "modules/audio_coding/codecs/ilbc/index_conv_enc.c",
+        "modules/audio_coding/codecs/ilbc/init_decode.c",
+        "modules/audio_coding/codecs/ilbc/init_encode.c",
+        "modules/audio_coding/codecs/ilbc/interpolate.c",
+        "modules/audio_coding/codecs/ilbc/interpolate_samples.c",
+        "modules/audio_coding/codecs/ilbc/lpc_encode.c",
+        "modules/audio_coding/codecs/ilbc/lsf_check.c",
+        "modules/audio_coding/codecs/ilbc/lsf_interpolate_to_poly_dec.c",
+        "modules/audio_coding/codecs/ilbc/lsf_interpolate_to_poly_enc.c",
+        "modules/audio_coding/codecs/ilbc/lsf_to_lsp.c",
+        "modules/audio_coding/codecs/ilbc/lsf_to_poly.c",
+        "modules/audio_coding/codecs/ilbc/lsp_to_lsf.c",
+        "modules/audio_coding/codecs/ilbc/my_corr.c",
+        "modules/audio_coding/codecs/ilbc/nearest_neighbor.c",
+        "modules/audio_coding/codecs/ilbc/pack_bits.c",
+        "modules/audio_coding/codecs/ilbc/poly_to_lsf.c",
+        "modules/audio_coding/codecs/ilbc/poly_to_lsp.c",
+        "modules/audio_coding/codecs/ilbc/refiner.c",
+        "modules/audio_coding/codecs/ilbc/simple_interpolate_lsf.c",
+        "modules/audio_coding/codecs/ilbc/simple_lpc_analysis.c",
+        "modules/audio_coding/codecs/ilbc/simple_lsf_dequant.c",
+        "modules/audio_coding/codecs/ilbc/simple_lsf_quant.c",
+        "modules/audio_coding/codecs/ilbc/smooth.c",
+        "modules/audio_coding/codecs/ilbc/smooth_out_data.c",
+        "modules/audio_coding/codecs/ilbc/sort_sq.c",
+        "modules/audio_coding/codecs/ilbc/split_vq.c",
+        "modules/audio_coding/codecs/ilbc/state_construct.c",
+        "modules/audio_coding/codecs/ilbc/state_search.c",
         "modules/audio_coding/codecs/ilbc/swap_bytes.c",
         "modules/audio_coding/codecs/ilbc/unpack_bits.c",
-        "modules/audio_coding/codecs/ilbc/smooth.c",
-        "modules/audio_coding/codecs/ilbc/cb_construct.c",
-        "modules/audio_coding/codecs/ilbc/simple_interpolate_lsf.c",
-        "modules/audio_coding/codecs/ilbc/smooth_out_data.c",
-        "modules/audio_coding/codecs/ilbc/decode_residual.c",
-        "modules/audio_coding/codecs/ilbc/nearest_neighbor.c",
-        "modules/audio_coding/codecs/ilbc/state_search.c",
-        "modules/audio_coding/codecs/ilbc/bw_expand.c",
-        "modules/audio_coding/codecs/ilbc/simple_lsf_dequant.c",
-        "modules/audio_coding/codecs/ilbc/get_lsp_poly.c",
-        "modules/audio_coding/codecs/ilbc/my_corr.c",
-        ":webrtc_base__raw_logging_internal",
-        "modules/audio_coding/codecs/ilbc/refiner.c",
-        "modules/audio_coding/codecs/ilbc/simple_lsf_quant.c",
-        "modules/audio_coding/codecs/ilbc/lsf_to_lsp.c",
+        "modules/audio_coding/codecs/ilbc/vq3.c",
+        "modules/audio_coding/codecs/ilbc/vq4.c",
+        "modules/audio_coding/codecs/ilbc/window32_w32.c",
         "modules/audio_coding/codecs/ilbc/xcorr_coef.c",
-        "modules/audio_coding/codecs/ilbc/pack_bits.c",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -7766,111 +3880,35 @@
     name: "webrtc_task_queue__task_queue",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/task_queue/task_queue_base.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/task_queue/task_queue_base.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
         "webrtc_rtc_base__checks",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -7880,122 +3918,46 @@
     name: "webrtc_logging__rtc_event_bwe",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "logging/rtc_event_log/events/rtc_event_route_change.cc",
-        ":webrtc_types__bad_optional_access",
-        "logging/rtc_event_log/events/rtc_event_probe_result_failure.cc",
-        "logging/rtc_event_log/events/rtc_event_bwe_update_loss_based.cc",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "logging/rtc_event_log/events/rtc_event_probe_cluster_created.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "logging/rtc_event_log/events/rtc_event_probe_result_success.cc",
-        "logging/rtc_event_log/events/rtc_event_bwe_update_delay_based.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "logging/rtc_event_log/events/rtc_event_bwe_update_delay_based.cc",
+        "logging/rtc_event_log/events/rtc_event_bwe_update_loss_based.cc",
+        "logging/rtc_event_log/events/rtc_event_probe_cluster_created.cc",
+        "logging/rtc_event_log/events/rtc_event_probe_result_failure.cc",
+        "logging/rtc_event_log/events/rtc_event_probe_result_success.cc",
+        "logging/rtc_event_log/events/rtc_event_route_change.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_logging__rtc_event_field",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -8005,112 +3967,36 @@
     name: "webrtc_units__timestamp",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "api/units/timestamp.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/units/timestamp.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__stringutils",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__checks",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -8122,542 +4008,94 @@
 }
 
 /* From target:
-//media:rtc_audio_video
-*/
-cc_library_static {
-    name: "webrtc_media__rtc_audio_video",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "media/engine/unhandled_packets_buffer.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_profiling__exponential_biased",
-        "media/engine/adm_helpers.cc",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "media/engine/webrtc_voice_engine.cc",
-        ":webrtc_strings__cordz_functions",
-        "media/engine/webrtc_video_engine.cc",
-        ":webrtc_video_capture__video_capture_internal_impl",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_strings__cordz_handle",
-        "media/engine/webrtc_media_engine.cc",
-        ":webrtc_audio_coding__default_neteq_factory",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
-        "media/engine/payload_type_mapper.cc",
-        ":webrtc_neteq__tick_timer",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_types__bad_variant_access",
-        ":webrtc_strings__strings",
-        ":webrtc_svc__scalable_video_controller",
-        ":webrtc_neteq__default_neteq_controller_factory",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-DHAVE_WEBRTC_VIDEO",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_audio_coding__neteq",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_api__media_stream_interface",
-        "webrtc_video_coding__video_coding",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_transport__bitrate_settings",
-        "webrtc_config__encoder_config",
-        "webrtc_common_video__common_video",
-        "webrtc_rtc_base__checks",
-        "webrtc_call__call",
-        "webrtc_call__video_stream_api",
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__rate_control_settings",
-        "webrtc_agc2__cpu_features",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_experiments__normalize_simulcast_size_experiment",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__random",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_aec_dump__null_aec_dump_factory",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_api__transport_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_base64__base64",
-        "webrtc_api__rtp_parameters",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_video__encoded_image",
-        "webrtc_audio_mixer__audio_mixer_impl",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_video_capture__video_capture_module",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_video__frame_decode_timing",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtc_error",
-        "webrtc_video__video_frame",
-        "webrtc_async_audio_processing__async_audio_processing",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_video_coding__webrtc_vp9_helpers",
-        "webrtc_rtc_base__audio_format_to_string",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_sigslot__sigslot",
-        "webrtc_experiments__min_video_bitrate_experiment",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_units__data_rate",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_video_codecs__rtc_software_fallback_wrappers",
-        "webrtc_system__file_wrapper",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
-    ],
-    arch: {
-        arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
-        },
-    },
-}
-
-/* From target:
 //modules/video_coding:packet_buffer
 */
 cc_library_static {
     name: "webrtc_video_coding__packet_buffer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "modules/video_coding/packet_buffer.cc",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/packet_buffer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_api__rtp_packet_info",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_common_video__common_video",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
         "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_rtp_rtcp__rtp_video_header",
-        "webrtc_units__timestamp",
-        "webrtc_units__data_rate",
-        "webrtc_common_video__common_video",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
         "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
         "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
         "webrtc_video__encoded_image",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
-}
-
-/* From target:
-//logging:rtc_stream_config
-*/
-cc_library_static {
-    name: "webrtc_logging__rtc_stream_config",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "logging/rtc_event_log/rtc_stream_config.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_synchronization__yield",
-        "webrtc_api__rtp_parameters",
-        "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -8667,119 +4105,43 @@
     name: "webrtc_g711__audio_encoder_g711",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "api/audio_codecs/g711/audio_encoder_g711.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/g711/audio_encoder_g711.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_audio_coding__g711",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -8789,125 +4151,269 @@
     name: "webrtc_agc2__fixed_digital",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
-        "modules/audio_processing/agc2/limiter.cc",
+        ":webrtc_types__bad_optional_access",
         "modules/audio_processing/agc2/fixed_digital_level_estimator.cc",
         "modules/audio_processing/agc2/interpolated_gain_curve.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__internal",
+        "modules/audio_processing/agc2/limiter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_audio_processing__apm_logging",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//media:rtc_audio_video
+*/
+cc_library_static {
+    name: "webrtc_media__rtc_audio_video",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_coding__default_neteq_factory",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__default_neteq_controller_factory",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_neteq__tick_timer",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
+        ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_capture__video_capture_internal_impl",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "media/engine/adm_helpers.cc",
+        "media/engine/payload_type_mapper.cc",
+        "media/engine/unhandled_packets_buffer.cc",
+        "media/engine/webrtc_media_engine.cc",
+        "media/engine/webrtc_video_engine.cc",
+        "media/engine/webrtc_voice_engine.cc",
+    ],
+    host_supported: true,
+    cflags: ["-DHAVE_WEBRTC_VIDEO"],
+    static_libs: [
+        "webrtc_aec_dump__null_aec_dump_factory",
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_api__transport_api",
+        "webrtc_async_audio_processing__async_audio_processing",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__neteq",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_mixer__audio_mixer_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_base64__base64",
+        "webrtc_call__call",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__video_stream_api",
+        "webrtc_common_video__common_video",
+        "webrtc_config__encoder_config",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__min_video_bitrate_experiment",
+        "webrtc_experiments__normalize_simulcast_size_experiment",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__audio_format_to_string",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__bitrate_settings",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__frame_decode_timing",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_capture__video_capture_module",
+        "webrtc_video_codecs__rtc_software_fallback_wrappers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding",
+        "webrtc_video_coding__video_coding_utility",
+        "webrtc_video_coding__webrtc_vp9_helpers",
+    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
+}
+
+/* From target:
+//logging:rtc_stream_config
+*/
+cc_library_static {
+    name: "webrtc_logging__rtc_stream_config",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "logging/rtc_event_log/rtc_stream_config.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_parameters",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -8918,113 +4424,37 @@
     name: "webrtc_api__rtp_parameters",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/rtp_parameters.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "api/media_types.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/media_types.cc",
+        "api/rtp_parameters.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -9043,96 +4473,20 @@
     defaults: ["webrtc_defaults"],
     srcs: ["modules/audio_coding/codecs/g711/g711_interface.c"],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_g711__g711_3p"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -9142,111 +4496,35 @@
     name: "webrtc_video__video_bitrate_allocation",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/video/video_bitrate_allocation.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/video/video_bitrate_allocation.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -9256,114 +4534,38 @@
     name: "webrtc_logging__rtc_event_number_encodings",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "logging/rtc_event_log/encoder/var_int.cc",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "logging/rtc_event_log/encoder/bit_writer.cc",
         "logging/rtc_event_log/encoder/rtc_event_log_encoder_common.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        "logging/rtc_event_log/encoder/var_int.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_rtc_base__bit_buffer",
         "webrtc_rtc_base__checks",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -9373,160 +4575,88 @@
     name: "webrtc_goog_cc__send_side_bwe",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
         ":webrtc_video_codecs__scalability_mode",
         "modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_types__bad_variant_access",
-        ":webrtc_strings__strings",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0"],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
-        "webrtc_logging__rtc_event_bwe",
-        "webrtc_units__timestamp",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_units__data_rate",
-        "webrtc_rtc_base__checks",
-        "webrtc_goog_cc__loss_based_bwe_v2",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__logging",
         "webrtc_goog_cc__loss_based_bwe_v1",
+        "webrtc_goog_cc__loss_based_bwe_v2",
+        "webrtc_logging__rtc_event_bwe",
         "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_transport__network_control",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -9536,116 +4666,40 @@
     name: "webrtc_experiments__alr_experiment",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/experiments/alr_experiment.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/experiments/alr_experiment.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
         "webrtc_transport__field_trial_based_config",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -9655,110 +4709,34 @@
     name: "webrtc_packet__crc32c",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "net/dcsctp/packet/crc32c.cc",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
         ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "net/dcsctp/packet/crc32c.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -9768,152 +4746,80 @@
     name: "webrtc_video__encoded_frame",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_video__video_frame_metadata",
-        "api/video/encoded_frame.cc",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/video/encoded_frame.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_video_coding__encoded_frame",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
         "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
+        "webrtc_video_coding__encoded_frame",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -9923,116 +4829,40 @@
     name: "webrtc_experiments__stable_target_rate_experiment",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "rtc_base/experiments/stable_target_rate_experiment.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__field_trial_parser",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
         "webrtc_transport__field_trial_based_config",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -10041,51 +4871,43 @@
 cc_library_static {
     name: "webrtc_common_audio__common_audio_avx2",
     defaults: ["webrtc_defaults"],
-    srcs: [],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "common_audio/fir_filter_avx2.cc",
+        "common_audio/resampler/sinc_resampler_avx2.cc",
+    ],
     host_supported: true,
+    cflags: [
+        "-mavx2",
+        "-mfma",
+    ],
     static_libs: [
         "webrtc_containers__flat_containers_internal",
-        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_memory__aligned_malloc",
         "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
     ],
     arch: {
-        x86_64: {
-            srcs: [
-                ":webrtc_types__bad_optional_access",
-                "common_audio/resampler/sinc_resampler_avx2.cc",
-                ":webrtc_base__spinlock_wait",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                "common_audio/fir_filter_avx2.cc",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
-            ],
+        arm: {
+            enabled: false,
+        },
+        arm64: {
+            enabled: false,
         },
         x86: {
-            srcs: [
-                ":webrtc_types__bad_optional_access",
-                "common_audio/resampler/sinc_resampler_avx2.cc",
-                ":webrtc_base__spinlock_wait",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                "common_audio/fir_filter_avx2.cc",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
             ],
         },
     },
@@ -10098,134 +4920,56 @@
     name: "webrtc_audio_codecs__builtin_audio_encoder_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        "api/audio_codecs/builtin_audio_encoder_factory.cc",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/audio_codecs/builtin_audio_encoder_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
     cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-DWEBRTC_USE_BUILTIN_OPUS=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
         "-DWEBRTC_USE_BUILTIN_ILBC=1",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
+        "-DWEBRTC_USE_BUILTIN_OPUS=1",
     ],
     static_libs: [
-        "webrtc_ilbc__audio_encoder_ilbc",
         "webrtc_L16__audio_encoder_L16",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_g711__audio_encoder_g711",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_opus__audio_encoder_opus",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_opus__audio_encoder_multiopus",
-        "webrtc_rtc_base__checks",
+        "webrtc_g711__audio_encoder_g711",
         "webrtc_g722__audio_encoder_g722",
+        "webrtc_ilbc__audio_encoder_ilbc",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_opus__audio_encoder_multiopus",
+        "webrtc_opus__audio_encoder_opus",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -10236,134 +4980,58 @@
     name: "webrtc_packet__chunk",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "net/dcsctp/packet/chunk/reconfig_chunk.cc",
-        ":webrtc_types__bad_optional_access",
-        "net/dcsctp/packet/chunk/iforward_tsn_chunk.cc",
-        "net/dcsctp/packet/chunk/shutdown_chunk.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_strings__internal",
-        "net/dcsctp/packet/chunk/heartbeat_request_chunk.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "net/dcsctp/packet/chunk/idata_chunk.cc",
-        "net/dcsctp/packet/chunk/chunk.cc",
-        "net/dcsctp/packet/chunk/cookie_echo_chunk.cc",
-        "net/dcsctp/packet/chunk/error_chunk.cc",
-        "net/dcsctp/packet/chunk/shutdown_ack_chunk.cc",
-        "net/dcsctp/packet/chunk/forward_tsn_chunk.cc",
-        "net/dcsctp/packet/chunk/init_chunk.cc",
-        "net/dcsctp/packet/chunk/init_ack_chunk.cc",
-        ":webrtc_base__throw_delegate",
         ":webrtc_base__raw_logging_internal",
-        "net/dcsctp/packet/chunk/cookie_ack_chunk.cc",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
-        "net/dcsctp/packet/chunk/sack_chunk.cc",
-        "net/dcsctp/packet/chunk/data_chunk.cc",
-        "net/dcsctp/packet/chunk/heartbeat_ack_chunk.cc",
-        "net/dcsctp/packet/chunk/shutdown_complete_chunk.cc",
+        ":webrtc_types__bad_optional_access",
         "net/dcsctp/packet/chunk/abort_chunk.cc",
+        "net/dcsctp/packet/chunk/chunk.cc",
+        "net/dcsctp/packet/chunk/cookie_ack_chunk.cc",
+        "net/dcsctp/packet/chunk/cookie_echo_chunk.cc",
+        "net/dcsctp/packet/chunk/data_chunk.cc",
+        "net/dcsctp/packet/chunk/error_chunk.cc",
+        "net/dcsctp/packet/chunk/forward_tsn_chunk.cc",
+        "net/dcsctp/packet/chunk/heartbeat_ack_chunk.cc",
+        "net/dcsctp/packet/chunk/heartbeat_request_chunk.cc",
+        "net/dcsctp/packet/chunk/idata_chunk.cc",
+        "net/dcsctp/packet/chunk/iforward_tsn_chunk.cc",
+        "net/dcsctp/packet/chunk/init_ack_chunk.cc",
+        "net/dcsctp/packet/chunk/init_chunk.cc",
+        "net/dcsctp/packet/chunk/reconfig_chunk.cc",
+        "net/dcsctp/packet/chunk/sack_chunk.cc",
+        "net/dcsctp/packet/chunk/shutdown_ack_chunk.cc",
+        "net/dcsctp/packet/chunk/shutdown_chunk.cc",
+        "net/dcsctp/packet/chunk/shutdown_complete_chunk.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_packet__tlv_trait",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_packet__error_cause",
         "webrtc_packet__parameter",
+        "webrtc_packet__tlv_trait",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -10373,253 +5041,177 @@
     name: "webrtc_pc__transceiver_list",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_pc__rtp_transport",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_pc__ice_transport",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_pc__external_hmac",
-        ":webrtc_pc__transport_stats",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_pc__srtp_session",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_pc__sctp_utils",
-        ":webrtc_public__factory",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_pc__session_description",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_pc__dtls_srtp_transport",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_public__socket",
-        ":webrtc_pc__sctp_transport",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_pc__simulcast_description",
-        ":webrtc_pc__jsep_transport",
-        "pc/transceiver_list.cc",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_pc__srtp_transport",
-        ":webrtc_pc__jsep_transport_collection",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_pc__srtp_filter",
-        ":webrtc_public__utils",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_crc32c__crc32c",
-        ":webrtc_pc__rtp_media_utils",
-        ":webrtc_pc__dtls_transport",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_pc__channel",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_audio_processing__rms_level",
-        ":webrtc_pc__rtcp_mux_filter",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__channel",
+        ":webrtc_pc__dtls_srtp_transport",
+        ":webrtc_pc__dtls_transport",
+        ":webrtc_pc__external_hmac",
+        ":webrtc_pc__ice_transport",
+        ":webrtc_pc__jsep_transport",
+        ":webrtc_pc__jsep_transport_collection",
         ":webrtc_pc__jsep_transport_controller",
+        ":webrtc_pc__rtcp_mux_filter",
+        ":webrtc_pc__rtp_media_utils",
+        ":webrtc_pc__rtp_transport",
+        ":webrtc_pc__sctp_transport",
+        ":webrtc_pc__sctp_utils",
+        ":webrtc_pc__session_description",
+        ":webrtc_pc__simulcast_description",
+        ":webrtc_pc__srtp_filter",
+        ":webrtc_pc__srtp_session",
+        ":webrtc_pc__srtp_transport",
+        ":webrtc_pc__transport_stats",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__factory",
+        ":webrtc_public__socket",
+        ":webrtc_public__utils",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/transceiver_list.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_pc__rtp_transceiver",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_call__rtp_receiver",
-        "webrtc_pc__peer_connection_message_handler",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_pc__sctp_data_channel",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_sigslot__sigslot",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_api__ice_transport_factory",
-        "webrtc_packet__sctp_packet",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_pc__media_protocol_names",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__candidate",
         "webrtc_api__dtls_transport_interface",
-        "webrtc_units__timestamp",
-        "webrtc_call__call_interfaces",
-        "webrtc_pc__proxy",
-        "webrtc_base64__base64",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
+        "webrtc_api__ice_transport_factory",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
         "webrtc_api__rtc_error",
-        "webrtc_pc__usage_pattern",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_socket__dcsctp_socket",
-        "webrtc_packet__chunk",
-        "webrtc_call__video_stream_api",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_api__rtp_sender_interface",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_base64__base64",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
+        "webrtc_call__video_stream_api",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_network__sent_packet",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_packet__chunk",
+        "webrtc_packet__sctp_packet",
+        "webrtc_pc__media_protocol_names",
+        "webrtc_pc__peer_connection_message_handler",
+        "webrtc_pc__proxy",
+        "webrtc_pc__rtp_transceiver",
+        "webrtc_pc__sctp_data_channel",
+        "webrtc_pc__usage_pattern",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_network__sent_packet",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_socket__dcsctp_socket",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -10630,113 +5222,37 @@
     name: "webrtc_timing__inter_frame_delay",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/video_coding/timing/inter_frame_delay.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/video_coding/timing/inter_frame_delay.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__frequency",
-        "webrtc_units__timestamp",
-        "webrtc_units__time_delta",
         "webrtc_rtc_base__checks",
+        "webrtc_units__frequency",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -10746,211 +5262,135 @@
     name: "webrtc_video_coding__webrtc_multiplex",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        "modules/video_coding/codecs/multiplex/multiplex_encoded_image_packer.cc",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        "modules/video_coding/codecs/multiplex/augmented_video_frame_buffer.cc",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        "modules/video_coding/codecs/multiplex/multiplex_decoder_adapter.cc",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/codecs/multiplex/augmented_video_frame_buffer.cc",
+        "modules/video_coding/codecs/multiplex/multiplex_decoder_adapter.cc",
+        "modules/video_coding/codecs/multiplex/multiplex_encoded_image_packer.cc",
         "modules/video_coding/codecs/multiplex/multiplex_encoder_adapter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_common_video__common_video",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -10960,11 +5400,11 @@
 filegroup {
     name: "webrtc_base__base",
     srcs: [
-        "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
         "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
-        "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
         "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
+        "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
         "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
+        "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
     ],
 }
 
@@ -10975,114 +5415,38 @@
     name: "webrtc_rtc_base__buffer_queue",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "rtc_base/buffer_queue.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/buffer_queue.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -11092,112 +5456,36 @@
     name: "webrtc_rtc_base__ip_address",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/ip_address.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/ip_address.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__net_helpers",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__net_helpers",
+        "webrtc_rtc_base__stringutils",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -11206,21 +5494,21 @@
 filegroup {
     name: "webrtc_strings__strings",
     srcs: [
-        "third_party/abseil-cpp/absl/strings/str_replace.cc",
         "third_party/abseil-cpp/absl/strings/ascii.cc",
-        "third_party/abseil-cpp/absl/strings/substitute.cc",
+        "third_party/abseil-cpp/absl/strings/charconv.cc",
         "third_party/abseil-cpp/absl/strings/escaping.cc",
-        "third_party/abseil-cpp/absl/strings/string_view.cc",
         "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
+        "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
+        "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
+        "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
         "third_party/abseil-cpp/absl/strings/internal/stringify_sink.cc",
         "third_party/abseil-cpp/absl/strings/match.cc",
-        "third_party/abseil-cpp/absl/strings/str_split.cc",
         "third_party/abseil-cpp/absl/strings/numbers.cc",
-        "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
-        "third_party/abseil-cpp/absl/strings/charconv.cc",
-        "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
         "third_party/abseil-cpp/absl/strings/str_cat.cc",
-        "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
+        "third_party/abseil-cpp/absl/strings/str_replace.cc",
+        "third_party/abseil-cpp/absl/strings/str_split.cc",
+        "third_party/abseil-cpp/absl/strings/string_view.cc",
+        "third_party/abseil-cpp/absl/strings/substitute.cc",
     ],
 }
 
@@ -11231,211 +5519,135 @@
     name: "webrtc_pc__rtp_sender",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        "pc/rtp_sender.cc",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/rtp_sender.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__audio_options_api",
+        "webrtc_api__dtls_transport_interface",
         "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_pc__dtmf_sender",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_api__dtls_transport_interface",
-        "webrtc_units__timestamp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_api__audio_options_api",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pc__dtmf_sender",
+        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -11446,213 +5658,137 @@
     name: "webrtc_media__rtc_simulcast_encoder_adapter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        "media/engine/simulcast_encoder_adapter.cc",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "media/engine/simulcast_encoder_adapter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
         "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__video_stream_api",
+        "webrtc_common_video__common_video",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__encoder_info_settings",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_call__video_stream_api",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video_codecs__rtc_software_fallback_wrappers",
-        "webrtc_video__encoded_image",
-        "webrtc_experiments__rate_control_settings",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_agc2__cpu_features",
-        "webrtc_experiments__encoder_info_settings",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__rtc_software_fallback_wrappers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -11663,120 +5799,44 @@
     name: "webrtc_audio_codecs__audio_codecs_api",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/audio_codecs/audio_encoder.cc",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         ":webrtc_types__bad_optional_access",
         "api/audio_codecs/audio_codec_pair_id.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "api/audio_codecs/audio_format.cc",
         "api/audio_codecs/audio_decoder.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        "api/audio_codecs/audio_encoder.cc",
+        "api/audio_codecs/audio_format.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_synchronization__yield",
         "webrtc_units__data_rate",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -11786,119 +5846,47 @@
     name: "webrtc_video__decode_synchronizer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        "video/decode_synchronizer.cc",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "video/decode_synchronizer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__frame_decode_timing",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__frame_decode_timing",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -11916,127 +5904,55 @@
     name: "webrtc_video__frame_cadence_adapter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "video/frame_cadence_adapter.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "video/frame_cadence_adapter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_units__timestamp",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_video__video_frame",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rate_statistics",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__rate_statistics",
         "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__video_frame",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -12054,339 +5970,41 @@
     name: "webrtc_rnn_vad__rnn_vad_pitch",
     defaults: ["webrtc_defaults"],
     srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/audio_processing/agc2/rnn_vad/pitch_search.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         "modules/audio_processing/agc2/rnn_vad/pitch_search_internal.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_agc2__cpu_features",
-        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_rnn_vad__rnn_vad_auto_correlation",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
-    ],
-}
-
-/* From target:
-//modules/video_coding:webrtc_h264
-*/
-cc_library_static {
-    name: "webrtc_video_coding__webrtc_h264",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        "modules/video_coding/codecs/h264/h264_color_space.cc",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        "modules/video_coding/codecs/h264/h264.cc",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "modules/video_coding/codecs/h264/h264_encoder_impl.cc",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        "modules/video_coding/codecs/h264/h264_decoder_impl.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
-        ":webrtc_svc__scalable_video_controller",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
         "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_video__video_frame_i010",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
     ],
     arch: {
-        arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
         },
     },
 }
@@ -12397,17 +6015,163 @@
 filegroup {
     name: "webrtc_strings__cord_internal",
     srcs: [
+        "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
+        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
+        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
+        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
         "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
         "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
         "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc",
-        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
-        "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
-        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
-        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
     ],
 }
 
 /* From target:
+//modules/video_coding:webrtc_h264
+*/
+cc_library_static {
+    name: "webrtc_video_coding__webrtc_h264",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_structures",
+        ":webrtc_svc__scalable_video_controller",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/codecs/h264/h264.cc",
+        "modules/video_coding/codecs/h264/h264_color_space.cc",
+        "modules/video_coding/codecs/h264/h264_decoder_impl.cc",
+        "modules/video_coding/codecs/h264/h264_encoder_impl.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_common_video__common_video",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_frame_i010",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding_utility",
+    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
+}
+
+/* From target:
 //api/transport/rtp:dependency_descriptor
 */
 filegroup {
@@ -12422,150 +6186,74 @@
     name: "webrtc_rx__interleaved_reassembly_streams",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_public__socket",
-        ":webrtc_strings__cordz_functions",
-        "net/dcsctp/rx/interleaved_reassembly_streams.cc",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__socket",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "net/dcsctp/rx/interleaved_reassembly_streams.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_base",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
+        "webrtc_packet__chunk",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -12582,9 +6270,9 @@
 filegroup {
     name: "webrtc_debugging__debugging_internal",
     srcs: [
-        "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
         "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
         "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
+        "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
     ],
 }
 
@@ -12595,119 +6283,43 @@
     name: "webrtc_video__video_rtp_headers",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/video/video_timing.cc",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         ":webrtc_types__bad_optional_access",
+        "api/video/color_space.cc",
         "api/video/hdr_metadata.cc",
         "api/video/video_content_type.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "api/video/color_space.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        "api/video/video_timing.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
         "webrtc_synchronization__yield",
         "webrtc_units__data_rate",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -12717,125 +6329,45 @@
     name: "webrtc_utility__audio_frame_operations",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "audio/utility/channel_mixing_matrix.cc",
-        "audio/utility/channel_mixer.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "audio/utility/audio_frame_operations.cc",
+        "audio/utility/channel_mixer.cc",
+        "audio/utility/channel_mixing_matrix.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_audio__audio_frame_api",
+        "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
         "webrtc_system_wrappers__field_trial",
         "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__logging",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_common_audio__common_audio",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -12854,120 +6386,44 @@
     name: "webrtc_tx__outstanding_data",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_base__throw_delegate",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "net/dcsctp/tx/outstanding_data.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_public__socket",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/tx/outstanding_data.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_tx__retransmission_timeout",
-        "webrtc_timer__timer",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_packet__chunk",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
+        "webrtc_timer__timer",
+        "webrtc_tx__retransmission_timeout",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -12985,334 +6441,258 @@
     name: "webrtc___webrtc",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_pc__external_hmac",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_pc__srtp_session",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_pc__media_session",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_numeric__int128",
-        ":webrtc_pc__rtc_stats_traversal",
-        ":webrtc_pc__sdp_serializer",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_pc__jsep_transport",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_pc__webrtc_session_description_factory",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_coding__default_neteq_factory",
         ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_public__utils",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_pc__data_channel_controller",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_strings__strings",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
-        ":webrtc_pc__jsep_transport_controller",
         ":webrtc_neteq__default_neteq_controller_factory",
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_neteq__tick_timer",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__channel",
+        ":webrtc_pc__data_channel_controller",
+        ":webrtc_pc__dtls_srtp_transport",
+        ":webrtc_pc__dtls_transport",
+        ":webrtc_pc__external_hmac",
+        ":webrtc_pc__ice_transport",
+        ":webrtc_pc__jsep_transport",
+        ":webrtc_pc__jsep_transport_collection",
+        ":webrtc_pc__jsep_transport_controller",
+        ":webrtc_pc__legacy_stats_collector",
+        ":webrtc_pc__local_audio_source",
+        ":webrtc_pc__media_session",
+        ":webrtc_pc__peer_connection",
+        ":webrtc_pc__peer_connection_factory",
+        ":webrtc_pc__rtc_stats_collector",
+        ":webrtc_pc__rtc_stats_traversal",
+        ":webrtc_pc__rtcp_mux_filter",
+        ":webrtc_pc__rtp_media_utils",
+        ":webrtc_pc__rtp_transport",
+        ":webrtc_pc__sctp_transport",
+        ":webrtc_pc__sctp_utils",
+        ":webrtc_pc__sdp_offer_answer",
+        ":webrtc_pc__sdp_serializer",
+        ":webrtc_pc__sdp_utils",
+        ":webrtc_pc__session_description",
+        ":webrtc_pc__simulcast_description",
+        ":webrtc_pc__srtp_filter",
+        ":webrtc_pc__srtp_session",
+        ":webrtc_pc__srtp_transport",
+        ":webrtc_pc__track_media_info_map",
+        ":webrtc_pc__transport_stats",
+        ":webrtc_pc__video_track_source_proxy",
+        ":webrtc_pc__webrtc_sdp",
+        ":webrtc_pc__webrtc_session_description_factory",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__factory",
+        ":webrtc_public__socket",
+        ":webrtc_public__utils",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_base__base",
-        ":webrtc_time__time",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_public__socket",
-        ":webrtc_pc__sctp_transport",
-        ":webrtc_video_capture__video_capture_internal_impl",
-        ":webrtc_hash__city",
-        ":webrtc_rtc_base__rtc_operations_chain",
-        ":webrtc_pc__jsep_transport_collection",
-        ":webrtc_pc__webrtc_sdp",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_pc__srtp_filter",
-        ":webrtc_pc__peer_connection_factory",
-        ":webrtc_strings__cord",
-        ":webrtc_pc__rtp_media_utils",
-        ":webrtc_pc__dtls_transport",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_pc__peer_connection",
-        ":webrtc_pc__transport_stats",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_pc__local_audio_source",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_pc__sctp_utils",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_pc__session_description",
-        ":webrtc_base__log_severity",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_pc__rtc_stats_collector",
-        ":webrtc_audio_coding__default_neteq_factory",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_transport__stun_types",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_crc32c__crc32c",
-        ":webrtc_pc__sdp_utils",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_neteq__tick_timer",
-        ":webrtc_pc__legacy_stats_collector",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_svc__scalable_video_controller",
-        ":webrtc_pc__rtp_transport",
-        ":webrtc_pc__ice_transport",
         ":webrtc_rtc_base__network_constants",
-        ":webrtc_public__factory",
-        ":webrtc_pc__dtls_srtp_transport",
-        ":webrtc_pc__simulcast_description",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_pc__srtp_transport",
-        ":webrtc_pc__video_track_source_proxy",
+        ":webrtc_rtc_base__rtc_operations_chain",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
+        ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
         ":webrtc_utility__utility",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_pc__channel",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_pc__rtcp_mux_filter",
-        ":webrtc_pc__track_media_info_map",
-        ":webrtc_pc__sdp_offer_answer",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_capture__video_capture_internal_impl",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_pc__peer_connection_message_handler",
-        "webrtc_audio_coding__neteq",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_api__media_stream_interface",
-        "webrtc_pc__media_stream",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_api__rtc_event_log_output_file",
-        "webrtc_pc__proxy",
-        "webrtc_transport__bitrate_settings",
-        "webrtc_pc__audio_rtp_receiver",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__audio_options_api",
-        "webrtc_config__encoder_config",
-        "webrtc_common_video__common_video",
-        "webrtc_rtc_base__checks",
-        "webrtc_pc__video_rtp_receiver",
-        "webrtc_media__rtc_sdp_video_format_utils",
+        "webrtc_api__candidate",
+        "webrtc_api__create_peerconnection_factory",
+        "webrtc_api__dtls_transport_interface",
+        "webrtc_api__ice_transport_factory",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtc_event_log_output_file",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_api__transport_api",
+        "webrtc_audio__audio",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_codecs__builtin_audio_decoder_factory",
+        "webrtc_audio_codecs__builtin_audio_encoder_factory",
+        "webrtc_audio_coding__neteq",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_processing_statistics",
+        "webrtc_base64__base64",
         "webrtc_call__call",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
         "webrtc_call__rtp_sender",
         "webrtc_call__video_stream_api",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_event_log__rtc_event_log_factory",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_pc__rtp_parameters_conversion",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__random",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_api__transport_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_pc__remote_audio_source",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_pc__dtmf_sender",
-        "webrtc_task_queue__task_queue",
-        "webrtc_units__timestamp",
-        "webrtc_pc__video_track",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_rtc_base__weak_ptr",
-        "webrtc_pc__video_track_source",
-        "webrtc_media__rtc_audio_video",
-        "webrtc_base64__base64",
-        "webrtc_pc__media_stream_observer",
-        "webrtc_video_codecs__builtin_video_decoder_factory",
-        "webrtc_audio_processing__api",
-        "webrtc_api__rtp_parameters",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_audio_codecs__builtin_audio_encoder_factory",
-        "webrtc_packet__chunk",
-        "webrtc_pc__transceiver_list",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_pc__rtp_sender",
-        "webrtc_video_capture__video_capture_module",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__webrtc_h264",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_pc__rtp_transceiver",
-        "webrtc_call__rtp_receiver",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_pc__sctp_data_channel",
-        "webrtc_pc__ice_server_parsing",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__ice_transport_factory",
-        "webrtc_packet__sctp_packet",
-        "webrtc_pc__media_protocol_names",
-        "webrtc_api__candidate",
-        "webrtc_api__dtls_transport_interface",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_video__frame_decode_timing",
-        "webrtc_pc__audio_track",
-        "webrtc_audio_codecs__builtin_audio_decoder_factory",
-        "webrtc_video_coding__webrtc_vp8",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtc_error",
-        "webrtc_pc__rtp_transmission_manager",
-        "webrtc_video__video_frame",
-        "webrtc_socket__dcsctp_socket",
-        "webrtc_audio__audio",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_audio_processing__audio_processing_statistics",
-        "webrtc_pc__jitter_buffer_delay",
-        "webrtc_metrics__metric",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_transport__network_control",
-        "webrtc_logging__ice_log",
-        "webrtc_sigslot__sigslot",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_video__video",
-        "webrtc_pc__connection_context",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_units__data_rate",
-        "webrtc_video_coding__webrtc_vp9",
         "webrtc_common_audio__common_audio",
-        "webrtc_pc__usage_pattern",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_task_queue__default_task_queue_factory",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
+        "webrtc_common_video__common_video",
+        "webrtc_config__encoder_config",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_pc__rtp_receiver",
-        "webrtc_video__builtin_video_bitrate_allocator_factory",
-        "webrtc_system__file_wrapper",
-        "webrtc_pc__data_channel_utils",
-        "webrtc_video_codecs__builtin_video_encoder_factory",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_logging__ice_log",
+        "webrtc_media__rtc_audio_video",
+        "webrtc_media__rtc_media_base",
+        "webrtc_media__rtc_sdp_video_format_utils",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_metrics__metric",
         "webrtc_network__sent_packet",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_packet__chunk",
+        "webrtc_packet__sctp_packet",
+        "webrtc_pc__audio_rtp_receiver",
+        "webrtc_pc__audio_track",
+        "webrtc_pc__connection_context",
+        "webrtc_pc__data_channel_utils",
+        "webrtc_pc__dtmf_sender",
+        "webrtc_pc__ice_server_parsing",
+        "webrtc_pc__jitter_buffer_delay",
+        "webrtc_pc__media_protocol_names",
+        "webrtc_pc__media_stream",
+        "webrtc_pc__media_stream_observer",
+        "webrtc_pc__peer_connection_message_handler",
+        "webrtc_pc__proxy",
+        "webrtc_pc__remote_audio_source",
+        "webrtc_pc__rtp_parameters_conversion",
+        "webrtc_pc__rtp_receiver",
+        "webrtc_pc__rtp_sender",
+        "webrtc_pc__rtp_transceiver",
+        "webrtc_pc__rtp_transmission_manager",
+        "webrtc_pc__sctp_data_channel",
+        "webrtc_pc__transceiver_list",
+        "webrtc_pc__usage_pattern",
+        "webrtc_pc__video_rtp_receiver",
+        "webrtc_pc__video_track",
+        "webrtc_pc__video_track_source",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_api__create_peerconnection_factory",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__weak_ptr",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtc_event_log__rtc_event_log_factory",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_socket__dcsctp_socket",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__default_task_queue_factory",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__bitrate_settings",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__builtin_video_bitrate_allocator_factory",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__frame_decode_timing",
+        "webrtc_video__video",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_capture__video_capture_module",
+        "webrtc_video_codecs__builtin_video_decoder_factory",
+        "webrtc_video_codecs__builtin_video_encoder_factory",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__webrtc_h264",
+        "webrtc_video_coding__webrtc_vp8",
+        "webrtc_video_coding__webrtc_vp9",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -13323,206 +6703,130 @@
     name: "webrtc_pc__ice_server_parsing",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        "pc/ice_server_parsing.cc",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/ice_server_parsing.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -13533,208 +6837,132 @@
     name: "webrtc_rtp__control_handler",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        "modules/congestion_controller/rtp/control_handler.cc",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/congestion_controller/rtp/control_handler.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_units__data_size",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_pacing__pacing",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pacing__pacing",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_transport__network_control",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -13745,121 +6973,41 @@
     name: "webrtc_audio_mixer__audio_frame_manipulator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_mixer/audio_frame_manipulator.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_mixer/audio_frame_manipulator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_utility__audio_frame_operations",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
         "webrtc_audio__audio_frame_api",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__audio_frame_operations",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -13878,126 +7026,46 @@
     name: "webrtc_agc2__input_volume_controller",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "modules/audio_processing/agc2/speech_probability_buffer.cc",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/agc2/input_volume_controller.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/input_volume_controller.cc",
+        "modules/audio_processing/agc2/speech_probability_buffer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_system_wrappers__system_wrappers",
         "webrtc_agc2__clipping_predictor",
-        "webrtc_rtc_base__logging",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
         "webrtc_audio_processing__api",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_audio_processing__audio_buffer",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -14008,106 +7076,30 @@
     name: "webrtc_pc__media_protocol_names",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "pc/media_protocol_names.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "pc/media_protocol_names.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -14117,159 +7109,83 @@
     name: "webrtc_socket__stream_reset_handler",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "net/dcsctp/socket/stream_reset_handler.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
+        ":webrtc_api__field_trials_registry",
         ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
         ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_public__socket",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
+        ":webrtc_base__malloc_internal",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
         ":webrtc_crc32c__crc32c",
         ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__socket",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "net/dcsctp/socket/stream_reset_handler.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_tx__retransmission_queue",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_timer__timer",
-        "webrtc_rtc_base__zero_memory",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_packet__tlv_trait",
-        "webrtc_packet__sctp_packet",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__checks",
         "webrtc_packet__chunk",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_rx__reassembly_queue",
-        "webrtc_rx__data_tracker",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_packet__parameter",
+        "webrtc_packet__sctp_packet",
+        "webrtc_packet__tlv_trait",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rx__data_tracker",
+        "webrtc_rx__reassembly_queue",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_task_queue__task_queue",
+        "webrtc_timer__timer",
+        "webrtc_tx__retransmission_queue",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -14279,152 +7195,76 @@
     name: "webrtc_api__dtls_transport_interface",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        "api/dtls_transport_interface.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "api/dtls_transport_interface.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__threading",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_api__rtc_error",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__threading",
         "webrtc_rtc_base__zero_memory",
         "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_rtc_base__checks",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_api__rtc_error",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -14434,127 +7274,57 @@
     name: "webrtc_audio_coding__webrtc_multiopus",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_coding/codecs/opus/audio_encoder_multi_channel_opus_impl.cc",
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_coding/codecs/opus/audio_decoder_multi_channel_opus_impl.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/opus/audio_decoder_multi_channel_opus_impl.cc",
+        "modules/audio_coding/codecs/opus/audio_encoder_multi_channel_opus_impl.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
     cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
         "-DWEBRTC_CODEC_ILBC",
-        "-DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
         "-DWEBRTC_CODEC_OPUS",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
+        "-DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1",
     ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio_coding__webrtc_opus_wrapper",
-        "webrtc_opus__audio_encoder_opus_config",
         "webrtc_audio_coding__audio_coding_opus_common",
+        "webrtc_audio_coding__webrtc_opus_wrapper",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_opus__audio_encoder_opus_config",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_synchronization__yield",
         "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+            cflags: ["-DOPUS_FIXED_POINT"],
+        },
+        arm64: {
+            cflags: [
+                "-DOPUS_FIXED_POINT",
+                "-mbranch-protection=standard",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -14564,122 +7334,46 @@
     name: "webrtc_logging__rtc_event_audio",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "logging/rtc_event_log/events/rtc_event_audio_playout.cc",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc",
-        "logging/rtc_event_log/events/rtc_event_audio_network_adaptation.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        "logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "logging/rtc_event_log/events/rtc_event_audio_network_adaptation.cc",
+        "logging/rtc_event_log/events/rtc_event_audio_playout.cc",
+        "logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc",
+        "logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_logging__rtc_stream_config",
-        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_audio_coding__audio_network_adaptor_config",
-        "webrtc_synchronization__yield",
         "webrtc_logging__rtc_event_field",
+        "webrtc_logging__rtc_stream_config",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -14689,114 +7383,38 @@
     name: "webrtc_audio_processing__audio_frame_proxies",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/audio_processing/include/audio_frame_proxies.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_audio_processing__api",
-        "webrtc_synchronization__yield",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_processing__api",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -14806,123 +7424,47 @@
     name: "webrtc_rnn_vad__rnn_vad",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_processing/agc2/rnn_vad/features_extraction.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/agc2/rnn_vad/rnn.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/rnn_vad/features_extraction.cc",
+        "modules/audio_processing/agc2/rnn_vad/rnn.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_agc2__biquad_filter",
-        "webrtc_rnn_vad__rnn_vad_spectral_features",
         "webrtc_agc2__cpu_features",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rnn_vad__rnn_vad_lp_residual",
-        "webrtc_synchronization__yield",
-        "webrtc_rnn_vad__rnn_vad_pitch",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_rnn_vad__rnn_vad_lp_residual",
+        "webrtc_rnn_vad__rnn_vad_pitch",
+        "webrtc_rnn_vad__rnn_vad_spectral_features",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
+    arch: {
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
 }
 
 /* From target:
@@ -14932,10 +7474,10 @@
     name: "webrtc_svc__scalability_structures",
     srcs: [
         "modules/video_coding/svc/create_scalability_structure.cc",
-        "modules/video_coding/svc/scalability_structure_l2t2_key_shift.cc",
-        "modules/video_coding/svc/scalability_structure_simulcast.cc",
         "modules/video_coding/svc/scalability_structure_full_svc.cc",
         "modules/video_coding/svc/scalability_structure_key_svc.cc",
+        "modules/video_coding/svc/scalability_structure_l2t2_key_shift.cc",
+        "modules/video_coding/svc/scalability_structure_simulcast.cc",
     ],
 }
 
@@ -14954,235 +7496,37 @@
     name: "webrtc_system_wrappers__metrics",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "system_wrappers/source/metrics.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "system_wrappers/source/metrics.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__checks",
         "webrtc_synchronization__yield",
     ],
-}
-
-/* From target:
-//pc:audio_track
-*/
-cc_library_static {
-    name: "webrtc_pc__audio_track",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "pc/audio_track.cc",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_synchronization__yield",
-        "webrtc_api__media_stream_interface",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_frame",
-        "webrtc_video__video_rtp_headers",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -15192,134 +7536,106 @@
     name: "webrtc_audio_codecs__builtin_audio_decoder_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/audio_codecs/builtin_audio_decoder_factory.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/audio_codecs/builtin_audio_decoder_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
     cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-DWEBRTC_USE_BUILTIN_OPUS=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
         "-DWEBRTC_USE_BUILTIN_ILBC=1",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
+        "-DWEBRTC_USE_BUILTIN_OPUS=1",
     ],
     static_libs: [
-        "webrtc_opus__audio_decoder_multiopus",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_audio_codecs__audio_codecs_api",
         "webrtc_L16__audio_decoder_L16",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__checks",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
+        "webrtc_audio_codecs__audio_codecs_api",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_ilbc__audio_decoder_ilbc",
-        "webrtc_opus__audio_decoder_opus",
         "webrtc_g711__audio_decoder_g711",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_g722__audio_decoder_g722",
+        "webrtc_ilbc__audio_decoder_ilbc",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_opus__audio_decoder_multiopus",
+        "webrtc_opus__audio_decoder_opus",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//pc:audio_track
+*/
+cc_library_static {
+    name: "webrtc_pc__audio_track",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/audio_track.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_api__media_stream_interface",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -15330,248 +7646,39 @@
     name: "webrtc_metrics__metrics_logger",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        "api/test/metrics/metrics_logger.cc",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/test/metrics/metrics_logger.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_synchronization__yield",
-        "webrtc_metrics__metric",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_metrics__metric",
         "webrtc_metrics__metrics_accumulator",
         "webrtc_numerics__numerics",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-    ],
-}
-
-/* From target:
-//modules/audio_coding:ilbc
-*/
-cc_library_static {
-    name: "webrtc_audio_coding__ilbc",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__internal",
-        "modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_audio_coding__legacy_encoded_audio_frame",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_memory__aligned_malloc",
         "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_common_audio__common_audio",
-        "webrtc_rtc_base__checks",
-        "webrtc_audio_coding__ilbc_c",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
         },
     },
 }
@@ -15585,131 +7692,106 @@
 }
 
 /* From target:
+//modules/audio_coding:ilbc
+*/
+cc_library_static {
+    name: "webrtc_audio_coding__ilbc",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.cc",
+        "modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__ilbc_c",
+        "webrtc_audio_coding__legacy_encoded_audio_frame",
+        "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
 //modules/audio_processing/agc2:vad_wrapper
 */
 cc_library_static {
     name: "webrtc_agc2__vad_wrapper",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        "modules/audio_processing/agc2/vad_wrapper.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/vad_wrapper.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_agc2__cpu_features",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rnn_vad__rnn_vad",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_rnn_vad__rnn_vad",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -15720,113 +7802,37 @@
     name: "webrtc_api__rtc_error",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/rtc_error.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/rtc_error.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rtc_base__checks",
         "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -15835,61 +7841,48 @@
 cc_library_static {
     name: "webrtc_aec3__aec3_avx2",
     defaults: ["webrtc_defaults"],
-    srcs: [],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/aec3/adaptive_fir_filter_avx2.cc",
+        "modules/audio_processing/aec3/adaptive_fir_filter_erl_avx2.cc",
+        "modules/audio_processing/aec3/fft_data_avx2.cc",
+        "modules/audio_processing/aec3/matched_filter_avx2.cc",
+        "modules/audio_processing/aec3/vector_math_avx2.cc",
+    ],
     host_supported: true,
+    cflags: [
+        "-mavx2",
+        "-mfma",
+    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
         "webrtc_audio_processing__apm_logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_audio_processing__apm_logging",
         "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_ooura__fft_size_128",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
-        x86_64: {
-            srcs: [
-                "modules/audio_processing/aec3/adaptive_fir_filter_erl_avx2.cc",
-                ":webrtc_strings__internal",
-                "modules/audio_processing/aec3/vector_math_avx2.cc",
-                ":webrtc_types__bad_optional_access",
-                "modules/audio_processing/aec3/adaptive_fir_filter_avx2.cc",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                "modules/audio_processing/aec3/matched_filter_avx2.cc",
-                ":webrtc_base__spinlock_wait",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                "modules/audio_processing/aec3/fft_data_avx2.cc",
-            ],
+        arm: {
+            enabled: false,
+        },
+        arm64: {
+            enabled: false,
         },
         x86: {
-            srcs: [
-                "modules/audio_processing/aec3/adaptive_fir_filter_erl_avx2.cc",
-                ":webrtc_strings__internal",
-                "modules/audio_processing/aec3/vector_math_avx2.cc",
-                ":webrtc_types__bad_optional_access",
-                "modules/audio_processing/aec3/adaptive_fir_filter_avx2.cc",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                "modules/audio_processing/aec3/matched_filter_avx2.cc",
-                ":webrtc_base__spinlock_wait",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                "modules/audio_processing/aec3/fft_data_avx2.cc",
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
             ],
         },
     },
@@ -15910,260 +7903,184 @@
     name: "webrtc_pc__rtp_transmission_manager",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_pc__rtp_transport",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_pc__ice_transport",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_pc__external_hmac",
-        ":webrtc_pc__transport_stats",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_pc__srtp_session",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_pc__sctp_utils",
-        ":webrtc_public__factory",
-        "pc/rtp_transmission_manager.cc",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_pc__session_description",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_pc__dtls_srtp_transport",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_public__socket",
-        ":webrtc_pc__sctp_transport",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_pc__simulcast_description",
-        ":webrtc_pc__jsep_transport",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_pc__srtp_transport",
-        ":webrtc_pc__video_track_source_proxy",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_pc__jsep_transport_collection",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_pc__srtp_filter",
-        ":webrtc_public__utils",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_crc32c__crc32c",
-        ":webrtc_pc__rtp_media_utils",
-        ":webrtc_pc__dtls_transport",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_pc__channel",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_audio_processing__rms_level",
-        ":webrtc_pc__rtcp_mux_filter",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__channel",
+        ":webrtc_pc__dtls_srtp_transport",
+        ":webrtc_pc__dtls_transport",
+        ":webrtc_pc__external_hmac",
+        ":webrtc_pc__ice_transport",
+        ":webrtc_pc__jsep_transport",
+        ":webrtc_pc__jsep_transport_collection",
         ":webrtc_pc__jsep_transport_controller",
+        ":webrtc_pc__rtcp_mux_filter",
+        ":webrtc_pc__rtp_media_utils",
+        ":webrtc_pc__rtp_transport",
+        ":webrtc_pc__sctp_transport",
+        ":webrtc_pc__sctp_utils",
+        ":webrtc_pc__session_description",
+        ":webrtc_pc__simulcast_description",
+        ":webrtc_pc__srtp_filter",
+        ":webrtc_pc__srtp_session",
+        ":webrtc_pc__srtp_transport",
+        ":webrtc_pc__transport_stats",
+        ":webrtc_pc__video_track_source_proxy",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__factory",
+        ":webrtc_public__socket",
+        ":webrtc_public__utils",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/rtp_transmission_manager.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_pc__peer_connection_message_handler",
-        "webrtc_api__media_stream_interface",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_pc__proxy",
-        "webrtc_pc__audio_rtp_receiver",
-        "webrtc_rtc_base__checks",
-        "webrtc_pc__video_rtp_receiver",
-        "webrtc_call__video_stream_api",
-        "webrtc_synchronization__yield",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__weak_ptr",
-        "webrtc_base64__base64",
-        "webrtc_api__rtp_parameters",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_video__encoded_frame",
-        "webrtc_pc__transceiver_list",
-        "webrtc_packet__chunk",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_pc__rtp_sender",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_pc__rtp_transceiver",
-        "webrtc_call__rtp_receiver",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_pc__sctp_data_channel",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__ice_transport_factory",
-        "webrtc_packet__sctp_packet",
-        "webrtc_pc__media_protocol_names",
         "webrtc_api__candidate",
         "webrtc_api__dtls_transport_interface",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_rtc_base__event_tracer",
+        "webrtc_api__ice_transport_factory",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
         "webrtc_api__rtc_error",
-        "webrtc_video__video_frame",
-        "webrtc_socket__dcsctp_socket",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_sigslot__sigslot",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_base64__base64",
         "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_units__data_rate",
-        "webrtc_pc__usage_pattern",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
+        "webrtc_call__video_stream_api",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_pc__rtp_receiver",
-        "webrtc_system__file_wrapper",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
         "webrtc_network__sent_packet",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_packet__chunk",
+        "webrtc_packet__sctp_packet",
+        "webrtc_pc__audio_rtp_receiver",
+        "webrtc_pc__media_protocol_names",
+        "webrtc_pc__peer_connection_message_handler",
+        "webrtc_pc__proxy",
+        "webrtc_pc__rtp_receiver",
+        "webrtc_pc__rtp_sender",
+        "webrtc_pc__rtp_transceiver",
+        "webrtc_pc__sctp_data_channel",
+        "webrtc_pc__transceiver_list",
+        "webrtc_pc__usage_pattern",
+        "webrtc_pc__video_rtp_receiver",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__weak_ptr",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_socket__dcsctp_socket",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -16174,116 +8091,40 @@
     name: "webrtc_async_audio_processing__async_audio_processing",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/async_audio_processing/async_audio_processing.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/async_audio_processing/async_audio_processing.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_audio__audio_frame_api",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -16301,219 +8142,143 @@
     name: "webrtc_pacing__pacing",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        "modules/pacing/bitrate_prober.cc",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        "modules/pacing/pacing_controller.cc",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "modules/pacing/packet_router.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        "modules/pacing/task_queue_paced_sender.cc",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/pacing/bitrate_prober.cc",
+        "modules/pacing/pacing_controller.cc",
+        "modules/pacing/packet_router.cc",
         "modules/pacing/prioritized_packet_queue.cc",
+        "modules/pacing/task_queue_paced_sender.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
+        "webrtc_logging__rtc_event_bwe",
+        "webrtc_logging__rtc_event_pacing",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
         "webrtc_pacing__interval_budget",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_task_queue__task_queue",
-        "webrtc_logging__rtc_event_bwe",
-        "webrtc_units__timestamp",
-        "webrtc_units__data_size",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
+        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_rtp_rtcp__rtp_rtcp",
-        "webrtc_video__encoded_image",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_logging__rtc_event_pacing",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_transport__network_control",
-        "webrtc_sigslot__sigslot",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -16524,245 +8289,169 @@
     name: "webrtc_audio__audio",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_coding__default_neteq_factory",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__default_neteq_controller_factory",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_neteq__tick_timer",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "audio/audio_state.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        "audio/remix_resample.cc",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "audio/audio_transport_impl.cc",
-        ":webrtc_strings__cordz_functions",
-        "audio/audio_level.cc",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        "audio/channel_send.cc",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_audio_coding__default_neteq_factory",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        "audio/channel_receive_frame_transformer_delegate.cc",
-        ":webrtc_synchronization__graphcycles_internal",
-        "audio/audio_receive_stream.cc",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "audio/channel_send_frame_transformer_delegate.cc",
-        "audio/channel_receive.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        "audio/audio_send_stream.cc",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_neteq__tick_timer",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_neteq__default_neteq_controller_factory",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "audio/audio_level.cc",
+        "audio/audio_receive_stream.cc",
+        "audio/audio_send_stream.cc",
+        "audio/audio_state.cc",
+        "audio/audio_transport_impl.cc",
+        "audio/channel_receive.cc",
+        "audio/channel_receive_frame_transformer_delegate.cc",
+        "audio/channel_send.cc",
+        "audio/channel_send_frame_transformer_delegate.cc",
+        "audio/remix_resample.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_audio_coding__neteq",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_api__media_stream_interface",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_audio_processing__audio_processing",
-        "webrtc_rtc_base__checks",
-        "webrtc_synchronization__yield",
-        "webrtc_audio_coding__audio_encoder_cng",
         "webrtc_agc2__cpu_features",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_api__transport_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_async_audio_processing__async_audio_processing",
+        "webrtc_audio__aec3_factory",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__audio_coding",
+        "webrtc_audio_coding__audio_encoder_cng",
+        "webrtc_audio_coding__audio_network_adaptor_config",
+        "webrtc_audio_coding__neteq",
+        "webrtc_audio_coding__red",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_frame_proxies",
+        "webrtc_audio_processing__audio_processing",
+        "webrtc_call__bitrate_allocator",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_logging__rtc_event_audio",
+        "webrtc_logging__rtc_stream_config",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pacing__pacing",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__audio_format_to_string",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__rate_limiter",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
         "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
         "webrtc_units__timestamp",
-        "webrtc_logging__rtc_stream_config",
-        "webrtc_api__rtp_parameters",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
+        "webrtc_utility__audio_frame_operations",
         "webrtc_video__encoded_frame",
         "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_utility__audio_frame_operations",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_audio_processing__audio_frame_proxies",
-        "webrtc_call__bitrate_allocator",
-        "webrtc_logging__rtc_event_audio",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtc_error",
-        "webrtc_video__video_frame",
-        "webrtc_async_audio_processing__async_audio_processing",
-        "webrtc_pacing__pacing",
-        "webrtc_audio_coding__audio_network_adaptor_config",
-        "webrtc_rtc_base__audio_format_to_string",
-        "webrtc_audio_processing__apm_logging",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
         "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_sigslot__sigslot",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_audio_coding__audio_coding",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_units__data_rate",
-        "webrtc_common_audio__common_audio",
-        "webrtc_audio_coding__red",
-        "webrtc_audio__aec3_factory",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__rate_limiter",
-        "webrtc_rtp_rtcp__rtp_rtcp",
-        "webrtc_system__file_wrapper",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -16773,128 +8462,52 @@
     name: "webrtc_opus__audio_encoder_opus",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        "api/audio_codecs/opus/audio_encoder_opus.cc",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/audio_codecs/opus/audio_encoder_opus.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_audio_coding__webrtc_opus",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_memory__aligned_malloc",
         "webrtc_opus__audio_encoder_opus_config",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_audio_coding__webrtc_opus",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
+            cflags: ["-DOPUS_FIXED_POINT"],
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: [
+                "-DOPUS_FIXED_POINT",
+                "-mbranch-protection=standard",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -16913,131 +8526,51 @@
     name: "webrtc_vad__vad",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_processing/vad/pitch_internal.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/audio_processing/vad/gmm.cc",
         "modules/audio_processing/vad/pitch_based_vad.cc",
-        "modules/audio_processing/vad/voice_activity_detector.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
+        "modules/audio_processing/vad/pitch_internal.cc",
         "modules/audio_processing/vad/pole_zero_filter.cc",
-        "modules/audio_processing/vad/vad_audio_proc.cc",
-        ":webrtc_base__spinlock_wait",
-        "modules/audio_processing/vad/vad_circular_buffer.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
         "modules/audio_processing/vad/standalone_vad.cc",
+        "modules/audio_processing/vad/vad_audio_proc.cc",
+        "modules/audio_processing/vad/vad_circular_buffer.cc",
+        "modules/audio_processing/vad/voice_activity_detector.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_utility__audio_frame_operations",
-        "webrtc_system_wrappers__system_wrappers",
         "webrtc_audio_coding__isac_vad",
-        "webrtc_ooura__fft_size_256",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_256",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__audio_frame_operations",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -17048,227 +8581,151 @@
     name: "webrtc_media__rtc_internal_video_codecs",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_profiling__exponential_biased",
-        "media/engine/fake_video_codec_factory.cc",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "media/engine/internal_decoder_factory.cc",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        "media/engine/multiplex_codec_factory.cc",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        "media/engine/internal_encoder_factory.cc",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "media/engine/fake_video_codec_factory.cc",
+        "media/engine/internal_decoder_factory.cc",
+        "media/engine/internal_encoder_factory.cc",
+        "media/engine/multiplex_codec_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__video_stream_api",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_encoder_simulcast_proxy",
+        "webrtc_media__rtc_media_base",
+        "webrtc_media__rtc_simulcast_encoder_adapter",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_video_coding__webrtc_vp9",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_video_coding__webrtc_vp8",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_call__video_stream_api",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_media__rtc_encoder_simulcast_proxy",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_video_coding__webrtc_multiplex",
-        "webrtc_synchronization__yield",
-        "webrtc_video_codecs__rtc_software_fallback_wrappers",
-        "webrtc_video__encoded_image",
         "webrtc_test__fake_video_codecs",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
         "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_media__rtc_simulcast_encoder_adapter",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_video_coding__webrtc_h264",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__rtc_software_fallback_wrappers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__webrtc_h264",
+        "webrtc_video_coding__webrtc_multiplex",
+        "webrtc_video_coding__webrtc_vp8",
+        "webrtc_video_coding__webrtc_vp9",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -17279,122 +8736,46 @@
     name: "webrtc_logging__rtc_event_log_impl_encoder",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
-        "logging/rtc_event_log/encoder/delta_encoding.cc",
         ":webrtc_base__base",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "logging/rtc_event_log/encoder/blob_encoding.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "logging/rtc_event_log/encoder/blob_encoding.cc",
+        "logging/rtc_event_log/encoder/delta_encoding.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__bit_buffer",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_api__rtp_parameters",
-        "webrtc_transport__network_control",
         "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__checks",
+        "webrtc_api__rtp_parameters",
         "webrtc_logging__rtc_event_number_encodings",
+        "webrtc_rtc_base__bit_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__yield",
+        "webrtc_transport__network_control",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -17404,121 +8785,41 @@
     name: "webrtc_audio_processing__apm_logging",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/logging/apm_data_dumper.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/logging/apm_data_dumper.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -17529,216 +8830,45 @@
     name: "webrtc_experiments__quality_scaling_experiment",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/experiments/quality_scaling_experiment.cc",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "rtc_base/experiments/quality_scaling_experiment.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
         "webrtc_video_codecs__video_codecs_api",
     ],
-}
-
-/* From target:
-//video:unique_timestamp_counter
-*/
-cc_library_static {
-    name: "webrtc_video__unique_timestamp_counter",
-    defaults: ["webrtc_defaults"],
-    srcs: ["video/unique_timestamp_counter.cc"],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -17748,212 +8878,136 @@
     name: "webrtc_video_coding__webrtc_vp8_temporal_layers",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "modules/video_coding/codecs/vp8/temporal_layers_checker.cc",
-        ":webrtc_debugging__demangle_internal",
-        "modules/video_coding/codecs/vp8/default_temporal_layers.cc",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        "modules/video_coding/codecs/vp8/screenshare_layers.cc",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/codecs/vp8/default_temporal_layers.cc",
+        "modules/video_coding/codecs/vp8/screenshare_layers.cc",
+        "modules/video_coding/codecs/vp8/temporal_layers_checker.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__rate_statistics",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
+        "webrtc_audio_codecs__audio_codecs_api",
         "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rate_statistics",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -17963,55 +9017,42 @@
 cc_library_static {
     name: "webrtc_common_audio__common_audio_neon",
     defaults: ["webrtc_defaults"],
-    srcs: [],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "common_audio/fir_filter_neon.cc",
+        "common_audio/resampler/sinc_resampler_neon.cc",
+    ],
     host_supported: true,
+    cflags: ["-DWEBRTC_HAS_NEON"],
     static_libs: [
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__checks",
         "webrtc_common_audio__common_audio_neon_c",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__checks",
-        "webrtc_common_audio__common_audio_neon_c",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_memory__aligned_malloc",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
-        arm64: {
-            srcs: [
-                "common_audio/resampler/sinc_resampler_neon.cc",
-                ":webrtc_types__bad_optional_access",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                ":webrtc_base__spinlock_wait",
-                "common_audio/fir_filter_neon.cc",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
-            ],
-        },
         arm: {
-            srcs: [
-                "common_audio/resampler/sinc_resampler_neon.cc",
-                ":webrtc_types__bad_optional_access",
-                ":webrtc_common_audio__common_audio_c_arm_asm",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                ":webrtc_base__spinlock_wait",
-                "common_audio/fir_filter_neon.cc",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
-            ],
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            enabled: false,
+        },
+        x86: {
+            enabled: false,
         },
     },
 }
@@ -18022,15 +9063,15 @@
 filegroup {
     name: "webrtc_cctz__time_zone",
     srcs: [
-        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
-        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
-        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
         "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
         "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
-        "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
-        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
+        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
         "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
+        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
+        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
         "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
+        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
+        "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
     ],
 }
 
@@ -18041,102 +9082,26 @@
     name: "webrtc_audio_coding__isac_vad",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_coding/codecs/isac/main/source/isac_vad.c",
         "modules/audio_coding/codecs/isac/main/source/filter_functions.c",
-        "modules/audio_coding/codecs/isac/main/source/pitch_filter.c",
+        "modules/audio_coding/codecs/isac/main/source/isac_vad.c",
         "modules/audio_coding/codecs/isac/main/source/pitch_estimator.c",
+        "modules/audio_coding/codecs/isac/main/source/pitch_filter.c",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_fft__fft"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -18154,113 +9119,37 @@
     name: "webrtc_pc__jitter_buffer_delay",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        "pc/jitter_buffer_delay.cc",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "pc/jitter_buffer_delay.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_synchronization__sequence_checker_internal",
         "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -18270,125 +9159,45 @@
     name: "webrtc_agc2__adaptive_digital_gain_applier",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        "modules/audio_processing/agc2/adaptive_digital_gain_applier.cc",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/adaptive_digital_gain_applier.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
         "webrtc_agc2__gain_applier",
-        "webrtc_rtc_base__logging",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
         "webrtc_audio_processing__api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_common_audio__common_audio",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_audio_processing__apm_logging",
+        "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -18407,236 +9216,35 @@
     name: "webrtc_rtc_base__rtc_event",
     defaults: ["webrtc_defaults"],
     srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         ":webrtc_types__bad_optional_access",
         "rtc_base/event.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__timeutils",
         "webrtc_synchronization__yield_policy",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__checks",
-    ],
-}
-
-/* From target:
-//modules/audio_processing/agc2:saturation_protector
-*/
-cc_library_static {
-    name: "webrtc_agc2__saturation_protector",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        "modules/audio_processing/agc2/saturation_protector.cc",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
-        "modules/audio_processing/agc2/saturation_protector_buffer.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_audio_processing__apm_logging",
     ],
     arch: {
         arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
         },
     },
 }
@@ -18648,130 +9256,95 @@
     name: "webrtc_audio_device__audio_device_buffer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
-        "modules/audio_device/fine_audio_buffer.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/audio_device/audio_device_buffer.cc",
+        "modules/audio_device/fine_audio_buffer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__timestamp_aligner",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
         "webrtc_common_audio__common_audio_c",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__timestamp_aligner",
         "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__task_queue",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//modules/audio_processing/agc2:saturation_protector
+*/
+cc_library_static {
+    name: "webrtc_agc2__saturation_protector",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/saturation_protector.cc",
+        "modules/audio_processing/agc2/saturation_protector_buffer.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -18782,112 +9355,36 @@
     name: "webrtc_metrics__stdout_metrics_exporter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/test/metrics/stdout_metrics_exporter.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/test/metrics/stdout_metrics_exporter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_metrics__metric",
-        "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -18897,189 +9394,111 @@
     name: "webrtc_aec3__aec3",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/aec3/suppression_gain.cc",
-        "modules/audio_processing/aec3/coarse_filter_update_gain.cc",
-        "modules/audio_processing/aec3/spectrum_buffer.cc",
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_processing/aec3/moving_average.cc",
-        "modules/audio_processing/aec3/api_call_jitter_metrics.cc",
-        "modules/audio_processing/aec3/render_delay_controller_metrics.cc",
-        "modules/audio_processing/aec3/erl_estimator.cc",
-        "modules/audio_processing/aec3/matched_filter.cc",
-        "modules/audio_processing/aec3/echo_path_delay_estimator.cc",
-        "modules/audio_processing/aec3/multi_channel_content_detector.cc",
-        "modules/audio_processing/aec3/decimator.cc",
-        ":webrtc_base__spinlock_wait",
-        "modules/audio_processing/aec3/echo_path_variability.cc",
-        "modules/audio_processing/aec3/erle_estimator.cc",
-        "modules/audio_processing/aec3/frame_blocker.cc",
-        ":webrtc_strings__internal",
-        "modules/audio_processing/aec3/subband_nearend_detector.cc",
-        "modules/audio_processing/aec3/render_delay_buffer.cc",
-        "modules/audio_processing/aec3/render_buffer.cc",
-        "modules/audio_processing/aec3/suppression_filter.cc",
-        "modules/audio_processing/aec3/aec_state.cc",
-        "modules/audio_processing/aec3/block_processor.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_processing/aec3/echo_remover_metrics.cc",
-        "modules/audio_processing/aec3/refined_filter_update_gain.cc",
-        "modules/audio_processing/aec3/reverb_frequency_response.cc",
-        "modules/audio_processing/aec3/config_selector.cc",
         ":webrtc_base__log_severity",
-        "modules/audio_processing/aec3/matched_filter_lag_aggregator.cc",
-        "modules/audio_processing/aec3/reverb_model_estimator.cc",
-        "modules/audio_processing/aec3/adaptive_fir_filter.cc",
-        "modules/audio_processing/aec3/block_buffer.cc",
-        "modules/audio_processing/aec3/render_signal_analyzer.cc",
-        "modules/audio_processing/aec3/block_delay_buffer.cc",
-        "modules/audio_processing/aec3/echo_audibility.cc",
-        "modules/audio_processing/aec3/fullband_erle_estimator.cc",
-        "modules/audio_processing/aec3/signal_dependent_erle_estimator.cc",
-        "modules/audio_processing/aec3/echo_remover.cc",
-        "modules/audio_processing/aec3/block_processor_metrics.cc",
-        "modules/audio_processing/aec3/aec3_fft.cc",
-        "modules/audio_processing/aec3/fft_buffer.cc",
-        "modules/audio_processing/aec3/aec3_common.cc",
-        "modules/audio_processing/aec3/subtractor.cc",
-        "modules/audio_processing/aec3/render_delay_controller.cc",
-        "modules/audio_processing/aec3/adaptive_fir_filter_erl.cc",
-        "modules/audio_processing/aec3/subtractor_output_analyzer.cc",
-        "modules/audio_processing/aec3/subtractor_output.cc",
-        "modules/audio_processing/aec3/transparent_mode.cc",
-        ":webrtc_base__throw_delegate",
-        "modules/audio_processing/aec3/filter_analyzer.cc",
-        "modules/audio_processing/aec3/echo_canceller3.cc",
         ":webrtc_base__raw_logging_internal",
-        "modules/audio_processing/aec3/clockdrift_detector.cc",
-        "modules/audio_processing/aec3/block_framer.cc",
-        "modules/audio_processing/aec3/stationarity_estimator.cc",
-        "modules/audio_processing/aec3/residual_echo_estimator.cc",
-        "modules/audio_processing/aec3/alignment_mixer.cc",
-        "modules/audio_processing/aec3/reverb_decay_estimator.cc",
-        "modules/audio_processing/aec3/downsampled_render_buffer.cc",
-        "modules/audio_processing/aec3/reverb_model.cc",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
-        "modules/audio_processing/aec3/subband_erle_estimator.cc",
-        "modules/audio_processing/aec3/dominant_nearend_detector.cc",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/aec3/adaptive_fir_filter.cc",
+        "modules/audio_processing/aec3/adaptive_fir_filter_erl.cc",
+        "modules/audio_processing/aec3/aec3_common.cc",
+        "modules/audio_processing/aec3/aec3_fft.cc",
+        "modules/audio_processing/aec3/aec_state.cc",
+        "modules/audio_processing/aec3/alignment_mixer.cc",
+        "modules/audio_processing/aec3/api_call_jitter_metrics.cc",
+        "modules/audio_processing/aec3/block_buffer.cc",
+        "modules/audio_processing/aec3/block_delay_buffer.cc",
+        "modules/audio_processing/aec3/block_framer.cc",
+        "modules/audio_processing/aec3/block_processor.cc",
+        "modules/audio_processing/aec3/block_processor_metrics.cc",
+        "modules/audio_processing/aec3/clockdrift_detector.cc",
+        "modules/audio_processing/aec3/coarse_filter_update_gain.cc",
         "modules/audio_processing/aec3/comfort_noise_generator.cc",
+        "modules/audio_processing/aec3/config_selector.cc",
+        "modules/audio_processing/aec3/decimator.cc",
+        "modules/audio_processing/aec3/dominant_nearend_detector.cc",
+        "modules/audio_processing/aec3/downsampled_render_buffer.cc",
+        "modules/audio_processing/aec3/echo_audibility.cc",
+        "modules/audio_processing/aec3/echo_canceller3.cc",
+        "modules/audio_processing/aec3/echo_path_delay_estimator.cc",
+        "modules/audio_processing/aec3/echo_path_variability.cc",
+        "modules/audio_processing/aec3/echo_remover.cc",
+        "modules/audio_processing/aec3/echo_remover_metrics.cc",
+        "modules/audio_processing/aec3/erl_estimator.cc",
+        "modules/audio_processing/aec3/erle_estimator.cc",
+        "modules/audio_processing/aec3/fft_buffer.cc",
+        "modules/audio_processing/aec3/filter_analyzer.cc",
+        "modules/audio_processing/aec3/frame_blocker.cc",
+        "modules/audio_processing/aec3/fullband_erle_estimator.cc",
+        "modules/audio_processing/aec3/matched_filter.cc",
+        "modules/audio_processing/aec3/matched_filter_lag_aggregator.cc",
+        "modules/audio_processing/aec3/moving_average.cc",
+        "modules/audio_processing/aec3/multi_channel_content_detector.cc",
+        "modules/audio_processing/aec3/refined_filter_update_gain.cc",
+        "modules/audio_processing/aec3/render_buffer.cc",
+        "modules/audio_processing/aec3/render_delay_buffer.cc",
+        "modules/audio_processing/aec3/render_delay_controller.cc",
+        "modules/audio_processing/aec3/render_delay_controller_metrics.cc",
+        "modules/audio_processing/aec3/render_signal_analyzer.cc",
+        "modules/audio_processing/aec3/residual_echo_estimator.cc",
+        "modules/audio_processing/aec3/reverb_decay_estimator.cc",
+        "modules/audio_processing/aec3/reverb_frequency_response.cc",
+        "modules/audio_processing/aec3/reverb_model.cc",
+        "modules/audio_processing/aec3/reverb_model_estimator.cc",
+        "modules/audio_processing/aec3/signal_dependent_erle_estimator.cc",
+        "modules/audio_processing/aec3/spectrum_buffer.cc",
+        "modules/audio_processing/aec3/stationarity_estimator.cc",
+        "modules/audio_processing/aec3/subband_erle_estimator.cc",
+        "modules/audio_processing/aec3/subband_nearend_detector.cc",
+        "modules/audio_processing/aec3/subtractor.cc",
+        "modules/audio_processing/aec3/subtractor_output.cc",
+        "modules/audio_processing/aec3/subtractor_output_analyzer.cc",
+        "modules/audio_processing/aec3/suppression_filter.cc",
+        "modules/audio_processing/aec3/suppression_gain.cc",
+        "modules/audio_processing/aec3/transparent_mode.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__logging",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_utility__cascaded_biquad_filter",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
+        "webrtc_audio__aec3_config",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_audio_processing__audio_buffer",
+        "webrtc_audio_processing__high_pass_filter",
+        "webrtc_common_audio__common_audio_c",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
-        "webrtc_audio__aec3_config",
-        "webrtc_audio_processing__high_pass_filter",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_aec3__aec3_avx2",
-        "webrtc_aec3__aec3_avx2",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__cascaded_biquad_filter",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            static_libs: ["webrtc_aec3__aec3_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_aec3__aec3_avx2"],
+        },
     },
 }
 
@@ -19090,119 +9509,43 @@
     name: "webrtc_g722__audio_encoder_g722",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/audio_codecs/g722/audio_encoder_g722.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/g722/audio_encoder_g722.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_audio_coding__g722",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
+        "webrtc_audio_coding__g722",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -19212,116 +9555,40 @@
     name: "webrtc_experiments__keyframe_interval_settings_experiment",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
-        "rtc_base/experiments/keyframe_interval_settings.cc",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/experiments/keyframe_interval_settings.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__field_trial_parser",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
         "webrtc_transport__field_trial_based_config",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -19331,115 +9598,39 @@
     name: "webrtc_video_coding__frame_dependencies_calculator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/video_coding/frame_dependencies_calculator.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtp__dependency_descriptor",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/video_coding/frame_dependencies_calculator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -19449,123 +9640,43 @@
     name: "webrtc_agc__legacy_agc",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_processing/agc/legacy/digital_agc.cc",
-        "modules/audio_processing/agc/legacy/analog_agc.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc/legacy/analog_agc.cc",
+        "modules/audio_processing/agc/legacy/digital_agc.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_ooura__fft_size_256",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_256",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -19576,107 +9687,31 @@
     name: "webrtc_agc2__biquad_filter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_processing/agc2/biquad_filter.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "modules/audio_processing/agc2/biquad_filter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -19686,115 +9721,39 @@
     name: "webrtc_api__rtp_packet_info",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "api/rtp_packet_info.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/rtp_packet_info.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__yield",
         "webrtc_api__rtp_headers",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -19804,119 +9763,43 @@
     name: "webrtc_L16__audio_encoder_L16",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "api/audio_codecs/L16/audio_encoder_L16.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/L16/audio_encoder_L16.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_audio_coding__pcm16b",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
+        "webrtc_audio_coding__pcm16b",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -19926,206 +9809,130 @@
     name: "webrtc_p2p__rtc_p2p",
     defaults: ["webrtc_defaults"],
     srcs: [
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        "p2p/base/async_stun_tcp_socket.cc",
+        "p2p/base/basic_async_resolver_factory.cc",
+        "p2p/base/basic_ice_controller.cc",
+        "p2p/base/basic_packet_socket_factory.cc",
+        "p2p/base/connection.cc",
+        "p2p/base/connection_info.cc",
+        "p2p/base/default_ice_transport_factory.cc",
+        "p2p/base/dtls_transport.cc",
+        "p2p/base/dtls_transport_internal.cc",
+        "p2p/base/ice_controller_interface.cc",
+        "p2p/base/ice_credentials_iterator.cc",
+        "p2p/base/ice_switch_reason.cc",
+        "p2p/base/ice_transport_internal.cc",
+        "p2p/base/p2p_constants.cc",
+        "p2p/base/p2p_transport_channel.cc",
+        "p2p/base/packet_transport_internal.cc",
+        "p2p/base/port.cc",
+        "p2p/base/port_allocator.cc",
+        "p2p/base/port_interface.cc",
+        "p2p/base/pseudo_tcp.cc",
+        "p2p/base/regathering_controller.cc",
+        "p2p/base/stun_port.cc",
+        "p2p/base/stun_request.cc",
+        "p2p/base/tcp_port.cc",
+        "p2p/base/transport_description.cc",
+        "p2p/base/transport_description_factory.cc",
+        "p2p/base/turn_port.cc",
         "p2p/base/wrapping_active_ice_controller.cc",
         "p2p/client/basic_port_allocator.cc",
-        "p2p/base/tcp_port.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "p2p/base/stun_request.cc",
-        "p2p/base/port_interface.cc",
-        "p2p/base/connection_info.cc",
-        ":webrtc_debugging__demangle_internal",
-        "p2p/base/port.cc",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        "p2p/base/async_stun_tcp_socket.cc",
-        "p2p/base/ice_switch_reason.cc",
-        "p2p/base/basic_async_resolver_factory.cc",
-        "p2p/base/transport_description_factory.cc",
-        "p2p/base/ice_controller_interface.cc",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        "p2p/base/regathering_controller.cc",
-        ":webrtc_time__time",
-        ":webrtc_cctz__time_zone",
-        "p2p/base/pseudo_tcp.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "p2p/base/basic_ice_controller.cc",
-        "p2p/base/dtls_transport.cc",
-        ":webrtc_strings__cordz_functions",
-        "p2p/base/port_allocator.cc",
-        ":webrtc_hash__city",
-        "p2p/base/default_ice_transport_factory.cc",
-        ":webrtc_strings__cordz_handle",
-        "p2p/base/ice_credentials_iterator.cc",
-        "p2p/base/p2p_constants.cc",
-        "p2p/base/packet_transport_internal.cc",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_transport__stun_types",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        "p2p/base/connection.cc",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        "p2p/base/p2p_transport_channel.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "p2p/base/turn_port.cc",
-        "p2p/base/ice_transport_internal.cc",
-        ":webrtc_strings__str_format_internal",
-        "p2p/base/stun_port.cc",
-        "p2p/base/dtls_transport_internal.cc",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_strings__strings",
         "p2p/client/turn_port_factory.cc",
-        ":webrtc_hash__low_level_hash",
-        "p2p/base/transport_description.cc",
-        ":webrtc_types__bad_variant_access",
-        "p2p/base/basic_packet_socket_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
         "webrtc_api__candidate",
         "webrtc_api__dtls_transport_interface",
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__weak_ptr",
-        "webrtc_network__sent_packet",
-        "webrtc_base64__base64",
-        "webrtc_system_wrappers__metrics",
         "webrtc_api__rtc_error",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
+        "webrtc_base64__base64",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__rate_tracker",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__buffer_queue",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__net_helpers",
+        "webrtc_experiments__field_trial_parser",
         "webrtc_logging__ice_log",
-        "webrtc_sigslot__sigslot",
+        "webrtc_network__sent_packet",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__buffer_queue",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__net_helpers",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rate_tracker",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__weak_ptr",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -20135,140 +9942,60 @@
     name: "webrtc_ns__ns",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/ns/fast_math.cc",
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_processing/ns/suppression_params.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_strings__internal",
-        "modules/audio_processing/ns/quantile_noise_estimator.cc",
-        "modules/audio_processing/ns/prior_signal_model.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "modules/audio_processing/ns/noise_estimator.cc",
-        "modules/audio_processing/ns/prior_signal_model_estimator.cc",
-        "modules/audio_processing/ns/ns_fft.cc",
-        "modules/audio_processing/ns/signal_model_estimator.cc",
-        "modules/audio_processing/ns/noise_suppressor.cc",
-        ":webrtc_base__throw_delegate",
         ":webrtc_base__raw_logging_internal",
-        "modules/audio_processing/ns/histograms.cc",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
-        "modules/audio_processing/ns/speech_probability_estimator.cc",
-        "modules/audio_processing/ns/wiener_filter.cc",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/ns/fast_math.cc",
+        "modules/audio_processing/ns/histograms.cc",
+        "modules/audio_processing/ns/noise_estimator.cc",
+        "modules/audio_processing/ns/noise_suppressor.cc",
+        "modules/audio_processing/ns/ns_fft.cc",
+        "modules/audio_processing/ns/prior_signal_model.cc",
+        "modules/audio_processing/ns/prior_signal_model_estimator.cc",
+        "modules/audio_processing/ns/quantile_noise_estimator.cc",
         "modules/audio_processing/ns/signal_model.cc",
+        "modules/audio_processing/ns/signal_model_estimator.cc",
+        "modules/audio_processing/ns/speech_probability_estimator.cc",
+        "modules/audio_processing/ns/suppression_params.cc",
+        "modules/audio_processing/ns/wiener_filter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_ooura__fft_size_256",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_memory__aligned_malloc",
         "webrtc_audio_processing__apm_logging",
-        "webrtc_utility__cascaded_biquad_filter",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
         "webrtc_audio_processing__audio_buffer",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_audio_processing__high_pass_filter",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_ooura__fft_size_256",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_ooura__fft_size_128",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__cascaded_biquad_filter",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -20279,279 +10006,203 @@
     name: "webrtc_video__video",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "video/rtp_streams_synchronizer2.cc",
-        ":webrtc_debugging__demangle_internal",
-        "video/stats_counter.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        "video/video_send_stream.cc",
-        "video/video_send_stream_impl.cc",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
         ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
+        ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
         "video/buffered_frame_decryptor.cc",
         "video/call_stats2.cc",
-        "video/receive_statistics_proxy2.cc",
-        ":webrtc_strings__cordz_functions",
+        "video/encoder_rtcp_feedback.cc",
+        "video/quality_limitation_reason_tracker.cc",
         "video/quality_threshold.cc",
-        "video/stream_synchronization.cc",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "video/receive_statistics_proxy2.cc",
+        "video/report_block_stats.cc",
+        "video/rtp_streams_synchronizer2.cc",
+        "video/rtp_video_stream_receiver2.cc",
         "video/rtp_video_stream_receiver_frame_transformer_delegate.cc",
         "video/send_delay_stats.cc",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        "video/quality_limitation_reason_tracker.cc",
-        "video/rtp_video_stream_receiver2.cc",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_hash__hash",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        "video/video_quality_observer2.cc",
-        "video/report_block_stats.cc",
-        ":webrtc_base__throw_delegate",
-        "video/encoder_rtcp_feedback.cc",
-        "video/video_stream_decoder2.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        "video/video_receive_stream2.cc",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
-        "video/transport_adapter.cc",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_types__bad_variant_access",
-        ":webrtc_strings__strings",
-        ":webrtc_svc__scalable_video_controller",
         "video/send_statistics_proxy.cc",
+        "video/stats_counter.cc",
+        "video/stream_synchronization.cc",
+        "video/transport_adapter.cc",
+        "video/video_quality_observer2.cc",
+        "video/video_receive_stream2.cc",
+        "video/video_send_stream.cc",
+        "video/video_send_stream_impl.cc",
+        "video/video_stream_decoder2.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_experiments__field_trial_parser",
+        "webrtc_adaptation__video_adaptation",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_video_coding__video_coding",
-        "webrtc_render__incoming_video_stream",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_config__encoder_config",
-        "webrtc_common_video__common_video",
-        "webrtc_rtc_base__checks",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_api__transport_api",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__bitrate_allocator",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
         "webrtc_call__rtp_sender",
         "webrtc_call__video_stream_api",
-        "webrtc_video__unique_timestamp_counter",
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__rate_control_settings",
-        "webrtc_agc2__cpu_features",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_experiments__normalize_simulcast_size_experiment",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_api__transport_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtp_rtcp__rtp_video_header",
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_video_coding__packet_buffer",
-        "webrtc_api__rtp_parameters",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_experiments__alr_experiment",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__frame_cadence_adapter",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_call__rtp_receiver",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_common_video__common_video",
+        "webrtc_config__encoder_config",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_call__bitrate_allocator",
-        "webrtc_timing__timing_module",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_video__frame_decode_timing",
-        "webrtc_video__video_stream_buffer_controller",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtc_error",
-        "webrtc_video__video_frame",
-        "webrtc_pacing__pacing",
-        "webrtc_rtc_base__rate_tracker",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_video_coding__webrtc_vp9_helpers",
-        "webrtc_adaptation__video_adaptation",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_sigslot__sigslot",
+        "webrtc_crypto__options",
+        "webrtc_experiments__alr_experiment",
+        "webrtc_experiments__field_trial_parser",
         "webrtc_experiments__keyframe_interval_settings_experiment",
         "webrtc_experiments__min_video_bitrate_experiment",
-        "webrtc_video__video_stream_encoder_impl",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__frequency",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_call__call_interfaces",
-        "webrtc_rtc_base__rate_statistics",
+        "webrtc_experiments__normalize_simulcast_size_experiment",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_media_base",
         "webrtc_memory__aligned_malloc",
-        "webrtc_units__data_rate",
-        "webrtc_video__frame_dumping_decoder",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pacing__pacing",
+        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
+        "webrtc_render__incoming_video_stream",
+        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__histogram_percentile_counter",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtp_rtcp__rtp_rtcp",
-        "webrtc_video_coding__nack_requester",
-        "webrtc_system__file_wrapper",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_rtc_base__sample_counter",
-        "webrtc_video__task_queue_frame_decode_scheduler",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_rtc_base__rate_statistics",
+        "webrtc_rtc_base__rate_tracker",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__sample_counter",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_rtp_rtcp__rtp_video_header",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
+        "webrtc_timing__timing_module",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_units__data_rate",
+        "webrtc_units__frequency",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__frame_cadence_adapter",
+        "webrtc_video__frame_decode_timing",
+        "webrtc_video__frame_dumping_decoder",
+        "webrtc_video__task_queue_frame_decode_scheduler",
+        "webrtc_video__unique_timestamp_counter",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video__video_stream_buffer_controller",
+        "webrtc_video__video_stream_encoder_impl",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__nack_requester",
+        "webrtc_video_coding__packet_buffer",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding",
+        "webrtc_video_coding__video_coding_utility",
+        "webrtc_video_coding__webrtc_vp9_helpers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -20562,142 +10213,62 @@
     name: "webrtc_audio_coding__audio_coding",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_coding/acm2/acm_resampler.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_neteq__neteq_api",
-        "modules/audio_coding/acm2/call_statistics.cc",
-        "modules/audio_coding/acm2/acm_remixing.cc",
-        "modules/audio_coding/acm2/audio_coding_module.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_audio_coding__default_neteq_factory",
         ":webrtc_base__base",
-        ":webrtc_neteq__tick_timer",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_coding/acm2/acm_receiver.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
-        ":webrtc_strings__internal",
         ":webrtc_neteq__default_neteq_controller_factory",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_neteq__tick_timer",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/acm2/acm_receiver.cc",
+        "modules/audio_coding/acm2/acm_remixing.cc",
+        "modules/audio_coding/acm2/acm_resampler.cc",
+        "modules/audio_coding/acm2/audio_coding_module.cc",
+        "modules/audio_coding/acm2/call_statistics.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
         "webrtc_audio_coding__neteq",
+        "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
         "webrtc_containers__flat_containers_internal",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_units__data_rate",
-        "webrtc_common_audio__common_audio",
-        "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__checks",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__audio_format_to_string",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_common_audio__common_audio_c",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -20708,103 +10279,27 @@
     name: "webrtc_opus__audio_encoder_opus_config",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
         ":webrtc_base__log_severity",
-        "api/audio_codecs/opus/audio_encoder_opus_config.cc",
-        "api/audio_codecs/opus/audio_encoder_multi_channel_opus_config.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/opus/audio_encoder_multi_channel_opus_config.cc",
+        "api/audio_codecs/opus/audio_encoder_opus_config.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -20814,120 +10309,44 @@
     name: "webrtc_audio_coding__g711",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_coding/codecs/g711/audio_encoder_pcm.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_coding/codecs/g711/audio_decoder_pcm.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/g711/audio_decoder_pcm.cc",
+        "modules/audio_coding/codecs/g711/audio_encoder_pcm.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_audio_coding__legacy_encoded_audio_frame",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_audio_coding__g711_c",
+        "webrtc_audio_coding__legacy_encoded_audio_frame",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -20937,219 +10356,143 @@
     name: "webrtc_pc__connection_context",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__factory",
+        ":webrtc_public__socket",
+        ":webrtc_public__utils",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_public__factory",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_public__socket",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_public__utils",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_crc32c__crc32c",
-        "pc/connection_context.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/connection_context.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_packet__sctp_packet",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_socket__dcsctp_socket",
-        "webrtc_packet__chunk",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_media__rtc_data_sctp_transport_factory",
-        "webrtc_rtc_base__rtc_event",
+        "webrtc_audio_codecs__audio_codecs_api",
         "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_media__rtc_data_sctp_transport_factory",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_packet__chunk",
+        "webrtc_packet__sctp_packet",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_socket__dcsctp_socket",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -21160,205 +10503,129 @@
     name: "webrtc_pc__video_rtp_track_source",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "pc/video_rtp_track_source.cc",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/video_rtp_track_source.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_pc__video_track_source",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pc__video_track_source",
+        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -21377,112 +10644,36 @@
     name: "webrtc_rtc_base__timeutils",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/time_utils.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/system_time.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/system_time.cc",
+        "rtc_base/time_utils.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -21492,122 +10683,42 @@
     name: "webrtc_agc__level_estimation",
     defaults: ["webrtc_defaults"],
     srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         ":webrtc_types__bad_optional_access",
         "modules/audio_processing/agc/agc.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         "modules/audio_processing/agc/loudness_histogram.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
         "modules/audio_processing/agc/utility.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_vad__vad",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_vad__vad",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -21626,216 +10737,140 @@
     name: "webrtc_call__call_interfaces",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "call/syncable.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        "call/audio_state.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "call/audio_send_stream.cc",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_synchronization__graphcycles_internal",
-        "call/audio_receive_stream.cc",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        "call/call_config.cc",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "call/audio_receive_stream.cc",
+        "call/audio_send_stream.cc",
+        "call/audio_state.cc",
+        "call/call_config.cc",
         "call/flexfec_receive_stream.cc",
+        "call/syncable.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_api__transport_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_sigslot__sigslot",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_transport__bitrate_settings",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_audio_processing__audio_processing",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_async_audio_processing__async_audio_processing",
-        "webrtc_call__video_stream_api",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__audio_format_to_string",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_audio_processing__audio_processing_statistics",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_api__transport_api",
+        "webrtc_async_audio_processing__async_audio_processing",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_processing",
+        "webrtc_audio_processing__audio_processing_statistics",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__video_stream_api",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_network__sent_packet",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__audio_format_to_string",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__bitrate_settings",
         "webrtc_transport__network_control",
-        "webrtc_network__sent_packet",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -21846,115 +10881,39 @@
     name: "webrtc_api__field_trials",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "api/field_trials.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/field_trials.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -21964,118 +10923,42 @@
     name: "webrtc_experiments__quality_rampup_experiment",
     defaults: ["webrtc_defaults"],
     srcs: [
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         ":webrtc_types__bad_optional_access",
         "rtc_base/experiments/quality_rampup_experiment.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
         "webrtc_transport__field_trial_based_config",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -22085,120 +10968,44 @@
     name: "webrtc_video__video_receive_stream_timeout_tracker",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "video/video_receive_stream_timeout_tracker.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "video/video_receive_stream_timeout_tracker.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_task_utils__repeating_task",
-        "webrtc_units__timestamp",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -22208,227 +11015,151 @@
     name: "webrtc_video_coding__webrtc_vp9",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "modules/video_coding/codecs/vp9/vp9_frame_buffer_pool.cc",
-        "modules/video_coding/codecs/vp9/vp9.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        "modules/video_coding/codecs/vp9/libvpx_vp9_decoder.cc",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        "modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/codecs/vp9/libvpx_vp9_decoder.cc",
+        "modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc",
+        "modules/video_coding/codecs/vp9/vp9.cc",
+        "modules/video_coding/codecs/vp9/vp9_frame_buffer_pool.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_media__rtc_media_base",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_video_coding__webrtc_libvpx_interface",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_video__video_frame_i010",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
         "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_common_video__common_video",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__encoder_info_settings",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_experiments__rate_control_settings",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_video_coding__webrtc_vp9_helpers",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_agc2__cpu_features",
-        "webrtc_experiments__encoder_info_settings",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_frame_i010",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding_utility",
+        "webrtc_video_coding__webrtc_libvpx_interface",
+        "webrtc_video_coding__webrtc_vp9_helpers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -22439,149 +11170,77 @@
     name: "webrtc_video__video_frame_i010",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        "api/video/i010_buffer.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        "api/video/i210_buffer.cc",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "api/video/i010_buffer.cc",
+        "api/video/i210_buffer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__socket",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_base",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
         "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -22591,115 +11250,39 @@
     name: "webrtc_metrics__metrics_accumulator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/test/metrics/metrics_accumulator.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/test/metrics/metrics_accumulator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_synchronization__yield",
         "webrtc_metrics__metric",
         "webrtc_numerics__numerics",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -22709,126 +11292,46 @@
     name: "webrtc_audio_coding__red",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_coding/codecs/red/audio_encoder_copy_red.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/red/audio_encoder_copy_red.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__logging",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -22847,213 +11350,137 @@
     name: "webrtc_goog_cc__delay_based_bwe",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        "modules/congestion_controller/goog_cc/delay_based_bwe.cc",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        "modules/congestion_controller/goog_cc/inter_arrival_delta.cc",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/congestion_controller/goog_cc/delay_based_bwe.cc",
+        "modules/congestion_controller/goog_cc/inter_arrival_delta.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0"],
     static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
+        "webrtc_goog_cc__estimators",
+        "webrtc_logging__rtc_event_bwe",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
+        "webrtc_pacing__pacing",
+        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_logging__rtc_event_bwe",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_goog_cc__estimators",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_pacing__pacing",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
         "webrtc_transport__network_control",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -23072,122 +11499,50 @@
     name: "webrtc_av1__av1_svc_config",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/video_coding/codecs/av1/av1_svc_config.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/codecs/av1/av1_svc_config.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
         "webrtc_synchronization__yield",
         "webrtc_video__video_bitrate_allocation",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_video_codecs__video_codecs_api",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -23199,122 +11554,58 @@
 }
 
 /* From target:
+//third_party/abseil-cpp/absl/debugging:symbolize
+*/
+filegroup {
+    name: "webrtc_debugging__symbolize",
+    srcs: ["third_party/abseil-cpp/absl/debugging/symbolize.cc"],
+}
+
+/* From target:
 //video/render:video_render_frames
 */
 cc_library_static {
     name: "webrtc_render__video_render_frames",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "video/render/video_render_frames.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "video/render/video_render_frames.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__logging",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_frame",
         "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_video__video_frame",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -23324,123 +11615,43 @@
     name: "webrtc_audio__aec3_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/audio/echo_canceller3_factory.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio/echo_canceller3_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_aec3__aec3",
+        "webrtc_audio__aec3_config",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_audio__aec3_config",
-        "webrtc_aec3__aec3",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_audio_processing__apm_logging",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -23451,226 +11662,142 @@
     name: "webrtc_video__frame_dumping_decoder",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        "video/frame_dumping_decoder.cc",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "video/frame_dumping_decoder.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_video_coding__video_coding",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
 /* From target:
-//third_party/abseil-cpp/absl/debugging:symbolize
-*/
-filegroup {
-    name: "webrtc_debugging__symbolize",
-    srcs: ["third_party/abseil-cpp/absl/debugging/symbolize.cc"],
-}
-
-/* From target:
 //modules/audio_coding:g722_c
 */
 cc_library_static {
@@ -23678,96 +11805,20 @@
     defaults: ["webrtc_defaults"],
     srcs: ["modules/audio_coding/codecs/g722/g722_interface.c"],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_g722__g722_3p"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -23777,115 +11828,39 @@
     name: "webrtc_task_queue__default_task_queue_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/task_queue/default_task_queue_factory_libevent.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/task_queue/default_task_queue_factory_libevent.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_task_queue_libevent",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_task_queue_libevent",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -23895,117 +11870,41 @@
     name: "webrtc_audio_coding__legacy_encoded_audio_frame",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_coding/codecs/legacy_encoded_audio_frame.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/legacy_encoded_audio_frame.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -24015,114 +11914,38 @@
     name: "webrtc_rtc_base__socket",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "rtc_base/socket.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/socket.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__socket_address",
         "webrtc_rtc_base__checks",
-        "webrtc_sigslot__sigslot",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -24132,118 +11955,42 @@
     name: "webrtc_experiments__quality_scaler_settings",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/experiments/quality_scaler_settings.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/experiments/quality_scaler_settings.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
         "webrtc_transport__field_trial_based_config",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -24253,115 +12000,39 @@
     name: "webrtc_rtc_base__rate_limiter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/rate_limiter.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/rate_limiter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__rate_statistics",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rate_statistics",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -24372,95 +12043,19 @@
     defaults: ["webrtc_defaults"],
     srcs: ["modules/third_party/g711/g711.c"],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -24472,413 +12067,351 @@
 }
 
 /* From target:
-//pc:rtc_stats_collector
-*/
-filegroup {
-    name: "webrtc_pc__rtc_stats_collector",
-    srcs: ["pc/rtc_stats_collector.cc"],
-}
-
-/* From target:
 //modules/rtp_rtcp:rtp_rtcp
 */
 cc_library_static {
     name: "webrtc_rtp_rtcp__rtp_rtcp",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/rtp_rtcp/source/rtp_format_video_generic.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        "modules/rtp_rtcp/source/video_rtp_depacketizer_generic.cc",
-        ":webrtc_cctz__time_zone",
-        "modules/rtp_rtcp/source/video_rtp_depacketizer_h264.cc",
-        ":webrtc_numeric__int128",
-        "modules/rtp_rtcp/source/rtp_format_vp9.cc",
-        ":webrtc_strings__cordz_functions",
-        "modules/rtp_rtcp/source/video_rtp_depacketizer_raw.cc",
-        "modules/rtp_rtcp/source/rtp_packetizer_av1.cc",
-        "modules/rtp_rtcp/source/forward_error_correction_internal.cc",
-        ":webrtc_strings__cordz_handle",
-        "modules/rtp_rtcp/source/dtmf_queue.cc",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
         ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_synchronization__graphcycles_internal",
-        "modules/rtp_rtcp/source/create_video_rtp_depacketizer.cc",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_strings__strings",
-        "modules/rtp_rtcp/source/ulpfec_generator.cc",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
-        ":webrtc_types__bad_variant_access",
-        "modules/rtp_rtcp/source/video_rtp_depacketizer_av1.cc",
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        "modules/rtp_rtcp/source/video_rtp_depacketizer_vp8.cc",
-        "modules/rtp_rtcp/source/video_rtp_depacketizer.cc",
-        ":webrtc_debugging__demangle_internal",
-        "modules/rtp_rtcp/source/rtp_sender.cc",
-        ":webrtc_video__video_frame_metadata",
-        "modules/rtp_rtcp/source/rtp_format_vp8.cc",
-        ":webrtc_base__base",
-        ":webrtc_time__time",
-        "modules/rtp_rtcp/source/video_rtp_depacketizer_vp9.cc",
-        ":webrtc_debugging__symbolize",
-        "modules/rtp_rtcp/source/rtp_format_h264.cc",
-        ":webrtc_hash__city",
-        "modules/rtp_rtcp/source/ulpfec_receiver.cc",
-        ":webrtc_debugging__stacktrace",
-        "modules/rtp_rtcp/source/capture_clock_offset_updater.cc",
-        ":webrtc_strings__cord",
-        "modules/rtp_rtcp/source/rtcp_sender.cc",
-        ":webrtc_neteq__neteq_api",
-        "modules/rtp_rtcp/source/rtp_sender_video_frame_transformer_delegate.cc",
-        "modules/rtp_rtcp/source/flexfec_sender.cc",
-        ":webrtc_audio_processing__rms_level",
-        "modules/rtp_rtcp/source/flexfec_header_reader_writer.cc",
-        "modules/rtp_rtcp/source/remote_ntp_time_estimator.cc",
-        "modules/rtp_rtcp/source/tmmbr_help.cc",
-        "modules/rtp_rtcp/source/source_tracker.cc",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_cctz__civil_time",
-        "modules/rtp_rtcp/source/ulpfec_header_reader_writer.cc",
-        "modules/rtp_rtcp/source/receive_statistics_impl.cc",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_base__log_severity",
-        "modules/rtp_rtcp/source/forward_error_correction.cc",
-        "modules/rtp_rtcp/source/rtp_sender_video.cc",
-        "modules/rtp_rtcp/source/flexfec_receiver.cc",
-        "modules/rtp_rtcp/source/absolute_capture_time_sender.cc",
-        ":webrtc_rtp__dependency_descriptor",
-        "modules/rtp_rtcp/source/rtp_packet_history.cc",
-        "modules/rtp_rtcp/source/rtp_format.cc",
-        ":webrtc_hash__hash",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_transport__stun_types",
-        "modules/rtp_rtcp/source/rtp_descriptor_authentication.cc",
-        ":webrtc_base__throw_delegate",
-        "modules/rtp_rtcp/source/time_util.cc",
-        "modules/rtp_rtcp/source/packet_sequencer.cc",
-        "modules/rtp_rtcp/source/fec_private_tables_random.cc",
-        "modules/rtp_rtcp/source/rtp_sequence_number_map.cc",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        "modules/rtp_rtcp/source/fec_private_tables_bursty.cc",
-        "modules/rtp_rtcp/source/active_decode_targets_helper.cc",
-        "modules/rtp_rtcp/source/rtp_sender_egress.cc",
         ":webrtc_rtc_base__network_constants",
-        "modules/rtp_rtcp/source/rtcp_nack_stats.cc",
-        "modules/rtp_rtcp/source/packet_loss_stats.cc",
-        "modules/rtp_rtcp/source/rtp_rtcp_impl2.cc",
-        "modules/rtp_rtcp/source/rtp_sender_audio.cc",
-        "modules/rtp_rtcp/source/rtcp_receiver.cc",
-        "modules/rtp_rtcp/source/absolute_capture_time_interpolator.cc",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
         ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/rtp_rtcp/source/absolute_capture_time_interpolator.cc",
+        "modules/rtp_rtcp/source/absolute_capture_time_sender.cc",
+        "modules/rtp_rtcp/source/active_decode_targets_helper.cc",
+        "modules/rtp_rtcp/source/capture_clock_offset_updater.cc",
+        "modules/rtp_rtcp/source/create_video_rtp_depacketizer.cc",
+        "modules/rtp_rtcp/source/dtmf_queue.cc",
+        "modules/rtp_rtcp/source/fec_private_tables_bursty.cc",
+        "modules/rtp_rtcp/source/fec_private_tables_random.cc",
+        "modules/rtp_rtcp/source/flexfec_header_reader_writer.cc",
+        "modules/rtp_rtcp/source/flexfec_receiver.cc",
+        "modules/rtp_rtcp/source/flexfec_sender.cc",
+        "modules/rtp_rtcp/source/forward_error_correction.cc",
+        "modules/rtp_rtcp/source/forward_error_correction_internal.cc",
+        "modules/rtp_rtcp/source/packet_loss_stats.cc",
+        "modules/rtp_rtcp/source/packet_sequencer.cc",
+        "modules/rtp_rtcp/source/receive_statistics_impl.cc",
+        "modules/rtp_rtcp/source/remote_ntp_time_estimator.cc",
+        "modules/rtp_rtcp/source/rtcp_nack_stats.cc",
+        "modules/rtp_rtcp/source/rtcp_receiver.cc",
+        "modules/rtp_rtcp/source/rtcp_sender.cc",
+        "modules/rtp_rtcp/source/rtp_descriptor_authentication.cc",
+        "modules/rtp_rtcp/source/rtp_format.cc",
+        "modules/rtp_rtcp/source/rtp_format_h264.cc",
+        "modules/rtp_rtcp/source/rtp_format_video_generic.cc",
+        "modules/rtp_rtcp/source/rtp_format_vp8.cc",
+        "modules/rtp_rtcp/source/rtp_format_vp9.cc",
         "modules/rtp_rtcp/source/rtp_header_extension_size.cc",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_api__field_trials_registry",
+        "modules/rtp_rtcp/source/rtp_packet_history.cc",
+        "modules/rtp_rtcp/source/rtp_packetizer_av1.cc",
+        "modules/rtp_rtcp/source/rtp_rtcp_impl2.cc",
+        "modules/rtp_rtcp/source/rtp_sender.cc",
+        "modules/rtp_rtcp/source/rtp_sender_audio.cc",
+        "modules/rtp_rtcp/source/rtp_sender_egress.cc",
+        "modules/rtp_rtcp/source/rtp_sender_video.cc",
+        "modules/rtp_rtcp/source/rtp_sender_video_frame_transformer_delegate.cc",
+        "modules/rtp_rtcp/source/rtp_sequence_number_map.cc",
+        "modules/rtp_rtcp/source/source_tracker.cc",
+        "modules/rtp_rtcp/source/time_util.cc",
+        "modules/rtp_rtcp/source/tmmbr_help.cc",
+        "modules/rtp_rtcp/source/ulpfec_generator.cc",
+        "modules/rtp_rtcp/source/ulpfec_header_reader_writer.cc",
+        "modules/rtp_rtcp/source/ulpfec_receiver.cc",
+        "modules/rtp_rtcp/source/video_rtp_depacketizer.cc",
+        "modules/rtp_rtcp/source/video_rtp_depacketizer_av1.cc",
+        "modules/rtp_rtcp/source/video_rtp_depacketizer_generic.cc",
+        "modules/rtp_rtcp/source/video_rtp_depacketizer_h264.cc",
+        "modules/rtp_rtcp/source/video_rtp_depacketizer_raw.cc",
+        "modules/rtp_rtcp/source/video_rtp_depacketizer_vp8.cc",
+        "modules/rtp_rtcp/source/video_rtp_depacketizer_vp9.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0"],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__random",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_logging__rtc_event_rtp_rtcp",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__transport_api",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_common_video__common_video",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
-        "webrtc_api__transport_api",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtp_rtcp__rtp_video_header",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_rtc_base__threading",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_units__timestamp",
         "webrtc_logging__rtc_event_audio",
-        "webrtc_rtc_base__rate_statistics",
+        "webrtc_logging__rtc_event_rtp_rtcp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__bit_buffer",
+        "webrtc_rtc_base__byte_buffer",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_rtc_base__bit_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__rate_limiter",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rate_limiter",
+        "webrtc_rtc_base__rate_statistics",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_rtp_rtcp__rtp_video_header",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
 /* From target:
-//modules/audio_processing:optionally_built_submodule_creators
+//api/video_codecs:rtc_software_fallback_wrappers
 */
 cc_library_static {
-    name: "webrtc_audio_processing__optionally_built_submodule_creators",
+    name: "webrtc_video_codecs__rtc_software_fallback_wrappers",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/optionally_built_submodule_creators.cc",
-        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__malloc_internal",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
         ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/video_codecs/video_decoder_software_fallback_wrapper.cc",
+        "api/video_codecs/video_encoder_software_fallback_wrapper.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_transient__transient_suppressor_impl",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
 /* From target:
+//pc:rtc_stats_collector
+*/
+filegroup {
+    name: "webrtc_pc__rtc_stats_collector",
+    srcs: ["pc/rtc_stats_collector.cc"],
+}
+
+/* From target:
 //pc:data_channel_controller
 */
 filegroup {
@@ -24887,216 +12420,46 @@
 }
 
 /* From target:
-//api/video_codecs:rtc_software_fallback_wrappers
+//modules/audio_processing:optionally_built_submodule_creators
 */
 cc_library_static {
-    name: "webrtc_video_codecs__rtc_software_fallback_wrappers",
+    name: "webrtc_audio_processing__optionally_built_submodule_creators",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
         ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
         ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "api/video_codecs/video_encoder_software_fallback_wrapper.cc",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        "api/video_codecs/video_decoder_software_fallback_wrapper.cc",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/optionally_built_submodule_creators.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
         "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_transient__transient_suppressor_impl",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -25123,220 +12486,144 @@
     name: "webrtc_config__streams_config",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "video/config/encoder_stream_factory.cc",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        "video/config/simulcast.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "video/config/encoder_stream_factory.cc",
+        "video/config/simulcast.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_adaptation__resource_adaptation",
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_config__encoder_config",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_config__encoder_config",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_adaptation__resource_adaptation",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_experiments__min_video_bitrate_experiment",
+        "webrtc_experiments__normalize_simulcast_size_experiment",
         "webrtc_experiments__rate_control_settings",
         "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_video_coding__webrtc_vp9_helpers",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_experiments__normalize_simulcast_size_experiment",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_experiments__min_video_bitrate_experiment",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_coding_utility",
+        "webrtc_video_coding__webrtc_vp9_helpers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -25349,582 +12636,276 @@
 }
 
 /* From target:
+//rtc_base/system:file_wrapper
+*/
+cc_library_static {
+    name: "webrtc_system__file_wrapper",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/system/file_wrapper.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__criticalsection",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
 //third_party/abseil-cpp/absl/time:time
 */
 filegroup {
     name: "webrtc_time__time",
     srcs: [
-        "third_party/abseil-cpp/absl/time/format.cc",
-        "third_party/abseil-cpp/absl/time/duration.cc",
-        "third_party/abseil-cpp/absl/time/clock.cc",
         "third_party/abseil-cpp/absl/time/civil_time.cc",
+        "third_party/abseil-cpp/absl/time/clock.cc",
+        "third_party/abseil-cpp/absl/time/duration.cc",
+        "third_party/abseil-cpp/absl/time/format.cc",
         "third_party/abseil-cpp/absl/time/time.cc",
     ],
 }
 
 /* From target:
-//rtc_base:async_socket
-*/
-cc_library_static {
-    name: "webrtc_rtc_base__async_socket",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "rtc_base/async_socket.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_rtc_base__checks",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
-    ],
-}
-
-/* From target:
 //api/transport:goog_cc
 */
 cc_library_static {
     name: "webrtc_transport__goog_cc",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "api/transport/goog_cc_factory.cc",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/transport/goog_cc_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_goog_cc__goog_cc",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_goog_cc__goog_cc",
-        "webrtc_transport__network_control",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
 /* From target:
-//net/dcsctp/tx:retransmission_timeout
-*/
-cc_library_static {
-    name: "webrtc_tx__retransmission_timeout",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "net/dcsctp/tx/retransmission_timeout.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: ["webrtc_rtc_base__checks"],
-}
-
-/* From target:
 //modules/audio_processing/agc2:clipping_predictor
 */
 cc_library_static {
     name: "webrtc_agc2__clipping_predictor",
     defaults: ["webrtc_defaults"],
     srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         ":webrtc_types__bad_optional_access",
         "modules/audio_processing/agc2/clipping_predictor.cc",
         "modules/audio_processing/agc2/clipping_predictor_level_buffer.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__logging",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
         "webrtc_audio_processing__api",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//rtc_base:async_socket
+*/
+cc_library_static {
+    name: "webrtc_rtc_base__async_socket",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/async_socket.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__yield",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -25937,116 +12918,38 @@
 }
 
 /* From target:
-//rtc_base/system:file_wrapper
+//net/dcsctp/tx:retransmission_timeout
 */
 cc_library_static {
-    name: "webrtc_system__file_wrapper",
+    name: "webrtc_tx__retransmission_timeout",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/system/file_wrapper.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/tx/retransmission_timeout.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_rtc_base__criticalsection",
-        "webrtc_rtc_base__checks",
-    ],
+    static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -26056,117 +12959,47 @@
     name: "webrtc_audio_coding__webrtc_opus_wrapper",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "modules/audio_coding/codecs/opus/opus_interface.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/opus/opus_interface.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
     cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
         "-DWEBRTC_CODEC_ILBC",
-        "-DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
         "-DWEBRTC_CODEC_OPUS",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
+        "-DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1",
     ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
     ],
+    arch: {
+        arm: {
+            cflags: ["-DOPUS_FIXED_POINT"],
+        },
+        arm64: {
+            cflags: [
+                "-DOPUS_FIXED_POINT",
+                "-mbranch-protection=standard",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -26176,230 +13009,154 @@
     name: "webrtc_video_coding__video_coding_utility",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/video_coding/utility/simulcast_utility.cc",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_types__bad_optional_access",
-        "modules/video_coding/utility/quality_scaler.cc",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "modules/video_coding/utility/frame_dropper.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_base__base",
-        "modules/video_coding/utility/ivf_file_writer.cc",
-        "modules/video_coding/utility/vp8_header_parser.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        "modules/video_coding/utility/vp9_uncompressed_header_parser.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "modules/video_coding/utility/qp_parser.cc",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        "modules/video_coding/utility/ivf_file_reader.cc",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        "modules/video_coding/utility/bandwidth_quality_scaler.cc",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        "modules/video_coding/utility/framerate_controller_deprecated.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "modules/video_coding/utility/simulcast_rate_allocator.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        "modules/video_coding/utility/decoded_frames_history.cc",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_hash__low_level_hash",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/utility/bandwidth_quality_scaler.cc",
+        "modules/video_coding/utility/decoded_frames_history.cc",
+        "modules/video_coding/utility/frame_dropper.cc",
+        "modules/video_coding/utility/framerate_controller_deprecated.cc",
+        "modules/video_coding/utility/ivf_file_reader.cc",
+        "modules/video_coding/utility/ivf_file_writer.cc",
+        "modules/video_coding/utility/qp_parser.cc",
+        "modules/video_coding/utility/quality_scaler.cc",
+        "modules/video_coding/utility/simulcast_rate_allocator.cc",
+        "modules/video_coding/utility/simulcast_utility.cc",
+        "modules/video_coding/utility/vp8_header_parser.cc",
+        "modules/video_coding/utility/vp9_uncompressed_header_parser.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__weak_ptr",
-        "webrtc_rtc_base__rate_statistics",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
         "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_common_video__common_video",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__bandwidth_quality_scaler_settings",
+        "webrtc_experiments__encoder_info_settings",
+        "webrtc_experiments__quality_scaler_settings",
+        "webrtc_experiments__quality_scaling_experiment",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_experiments__quality_scaler_settings",
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__bandwidth_quality_scaler_settings",
-        "webrtc_rtp_rtcp__rtp_rtcp",
-        "webrtc_video__encoded_image",
-        "webrtc_experiments__rate_control_settings",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_experiments__quality_scaling_experiment",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_agc2__cpu_features",
-        "webrtc_experiments__encoder_info_settings",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rate_statistics",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__weak_ptr",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -26418,111 +13175,35 @@
     name: "webrtc_goog_cc__link_capacity_estimator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/congestion_controller/goog_cc/link_capacity_estimator.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/congestion_controller/goog_cc/link_capacity_estimator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__data_rate",
         "webrtc_rtc_base__checks",
+        "webrtc_units__data_rate",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -26532,121 +13213,41 @@
     name: "webrtc_agc2__noise_level_estimator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/agc2/noise_level_estimator.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/noise_level_estimator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_agc2__biquad_filter",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_audio_processing__apm_logging",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -26657,106 +13258,30 @@
     name: "webrtc_rtc_base__net_helpers",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/net_helpers.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/net_helpers.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -26766,119 +13291,47 @@
     name: "webrtc_video__task_queue_frame_decode_scheduler",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "video/task_queue_frame_decode_scheduler.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "video/task_queue_frame_decode_scheduler.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_video__frame_decode_timing",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
+        "webrtc_units__timestamp",
+        "webrtc_video__frame_decode_timing",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -26888,101 +13341,25 @@
     name: "webrtc_network__sent_packet",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/network/sent_packet.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_base__raw_logging_internal",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/network/sent_packet.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -26992,113 +13369,37 @@
     name: "webrtc_video_coding__chain_diff_calculator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/video_coding/chain_diff_calculator.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/video_coding/chain_diff_calculator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rtc_base__checks",
         "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -27108,107 +13409,31 @@
     name: "webrtc_rtc_base__platform_thread_types",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
         "rtc_base/platform_thread_types.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -27218,313 +13443,237 @@
     name: "webrtc_api__create_peerconnection_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_pc__external_hmac",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_pc__srtp_session",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_pc__media_session",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_numeric__int128",
-        ":webrtc_pc__rtc_stats_traversal",
-        ":webrtc_pc__sdp_serializer",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_pc__jsep_transport",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_pc__webrtc_session_description_factory",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_coding__default_neteq_factory",
         ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_public__utils",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_pc__data_channel_controller",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_strings__strings",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
-        ":webrtc_pc__jsep_transport_controller",
         ":webrtc_neteq__default_neteq_controller_factory",
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_neteq__tick_timer",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__channel",
+        ":webrtc_pc__data_channel_controller",
+        ":webrtc_pc__dtls_srtp_transport",
+        ":webrtc_pc__dtls_transport",
+        ":webrtc_pc__external_hmac",
+        ":webrtc_pc__ice_transport",
+        ":webrtc_pc__jsep_transport",
+        ":webrtc_pc__jsep_transport_collection",
+        ":webrtc_pc__jsep_transport_controller",
+        ":webrtc_pc__legacy_stats_collector",
+        ":webrtc_pc__local_audio_source",
+        ":webrtc_pc__media_session",
+        ":webrtc_pc__peer_connection",
+        ":webrtc_pc__peer_connection_factory",
+        ":webrtc_pc__rtc_stats_collector",
+        ":webrtc_pc__rtc_stats_traversal",
+        ":webrtc_pc__rtcp_mux_filter",
+        ":webrtc_pc__rtp_media_utils",
+        ":webrtc_pc__rtp_transport",
+        ":webrtc_pc__sctp_transport",
+        ":webrtc_pc__sctp_utils",
+        ":webrtc_pc__sdp_offer_answer",
+        ":webrtc_pc__sdp_serializer",
+        ":webrtc_pc__session_description",
+        ":webrtc_pc__simulcast_description",
+        ":webrtc_pc__srtp_filter",
+        ":webrtc_pc__srtp_session",
+        ":webrtc_pc__srtp_transport",
+        ":webrtc_pc__track_media_info_map",
+        ":webrtc_pc__transport_stats",
+        ":webrtc_pc__video_track_source_proxy",
+        ":webrtc_pc__webrtc_sdp",
+        ":webrtc_pc__webrtc_session_description_factory",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__factory",
+        ":webrtc_public__socket",
+        ":webrtc_public__utils",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_base__base",
-        ":webrtc_time__time",
-        ":webrtc_debugging__symbolize",
-        "api/create_peerconnection_factory.cc",
-        ":webrtc_public__socket",
-        ":webrtc_pc__sctp_transport",
-        ":webrtc_video_capture__video_capture_internal_impl",
-        ":webrtc_hash__city",
-        ":webrtc_rtc_base__rtc_operations_chain",
-        ":webrtc_pc__jsep_transport_collection",
-        ":webrtc_pc__webrtc_sdp",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_pc__srtp_filter",
-        ":webrtc_pc__peer_connection_factory",
-        ":webrtc_strings__cord",
-        ":webrtc_pc__rtp_media_utils",
-        ":webrtc_pc__dtls_transport",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_pc__peer_connection",
-        ":webrtc_pc__transport_stats",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_pc__local_audio_source",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_pc__sctp_utils",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_pc__session_description",
-        ":webrtc_base__log_severity",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_pc__rtc_stats_collector",
-        ":webrtc_audio_coding__default_neteq_factory",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_transport__stun_types",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_crc32c__crc32c",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_neteq__tick_timer",
-        ":webrtc_pc__legacy_stats_collector",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_svc__scalable_video_controller",
-        ":webrtc_pc__rtp_transport",
-        ":webrtc_pc__ice_transport",
         ":webrtc_rtc_base__network_constants",
-        ":webrtc_public__factory",
-        ":webrtc_pc__dtls_srtp_transport",
-        ":webrtc_pc__simulcast_description",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_pc__srtp_transport",
-        ":webrtc_pc__video_track_source_proxy",
+        ":webrtc_rtc_base__rtc_operations_chain",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
+        ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
         ":webrtc_utility__utility",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_pc__channel",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_pc__rtcp_mux_filter",
-        ":webrtc_pc__track_media_info_map",
-        ":webrtc_pc__sdp_offer_answer",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_capture__video_capture_internal_impl",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "api/create_peerconnection_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-DHAVE_WEBRTC_VIDEO",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DHAVE_WEBRTC_VIDEO"],
     static_libs: [
-        "webrtc_pc__peer_connection_message_handler",
-        "webrtc_audio_coding__neteq",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_api__media_stream_interface",
-        "webrtc_pc__media_stream",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_pc__proxy",
-        "webrtc_transport__bitrate_settings",
-        "webrtc_api__audio_options_api",
-        "webrtc_config__encoder_config",
-        "webrtc_common_video__common_video",
-        "webrtc_rtc_base__checks",
-        "webrtc_media__rtc_sdp_video_format_utils",
-        "webrtc_call__rtp_sender",
-        "webrtc_call__video_stream_api",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_event_log__rtc_event_log_factory",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_pc__rtp_parameters_conversion",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__random",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_units__timestamp",
-        "webrtc_pc__video_track",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_rtc_base__weak_ptr",
-        "webrtc_media__rtc_audio_video",
-        "webrtc_base64__base64",
-        "webrtc_pc__media_stream_observer",
-        "webrtc_api__rtp_parameters",
-        "webrtc_audio_processing__api",
-        "webrtc_stats__rtc_stats",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_api__rtp_headers",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_pc__transceiver_list",
-        "webrtc_packet__chunk",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_pc__rtp_sender",
-        "webrtc_video_capture__video_capture_module",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_pc__rtp_transceiver",
-        "webrtc_call__rtp_receiver",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_pc__sctp_data_channel",
-        "webrtc_pc__ice_server_parsing",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__ice_transport_factory",
-        "webrtc_packet__sctp_packet",
-        "webrtc_pc__media_protocol_names",
+        "webrtc_api__audio_options_api",
         "webrtc_api__candidate",
         "webrtc_api__dtls_transport_interface",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_video__frame_decode_timing",
-        "webrtc_pc__audio_track",
-        "webrtc_rtc_base__event_tracer",
+        "webrtc_api__ice_transport_factory",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
         "webrtc_api__rtc_error",
-        "webrtc_pc__rtp_transmission_manager",
-        "webrtc_video__video_frame",
-        "webrtc_socket__dcsctp_socket",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_audio_processing__audio_processing_statistics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_transport__network_control",
-        "webrtc_sigslot__sigslot",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_pc__connection_context",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__neteq",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_processing_statistics",
+        "webrtc_base64__base64",
         "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_units__data_rate",
-        "webrtc_pc__usage_pattern",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_task_queue__default_task_queue_factory",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
+        "webrtc_call__rtp_sender",
+        "webrtc_call__video_stream_api",
+        "webrtc_common_video__common_video",
+        "webrtc_config__encoder_config",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_pc__rtp_receiver",
-        "webrtc_video__builtin_video_bitrate_allocator_factory",
-        "webrtc_system__file_wrapper",
-        "webrtc_pc__data_channel_utils",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_audio_video",
+        "webrtc_media__rtc_media_base",
+        "webrtc_media__rtc_sdp_video_format_utils",
+        "webrtc_memory__aligned_malloc",
         "webrtc_network__sent_packet",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_packet__chunk",
+        "webrtc_packet__sctp_packet",
+        "webrtc_pc__audio_track",
+        "webrtc_pc__connection_context",
+        "webrtc_pc__data_channel_utils",
+        "webrtc_pc__ice_server_parsing",
+        "webrtc_pc__media_protocol_names",
+        "webrtc_pc__media_stream",
+        "webrtc_pc__media_stream_observer",
+        "webrtc_pc__peer_connection_message_handler",
+        "webrtc_pc__proxy",
+        "webrtc_pc__rtp_parameters_conversion",
+        "webrtc_pc__rtp_receiver",
+        "webrtc_pc__rtp_sender",
+        "webrtc_pc__rtp_transceiver",
+        "webrtc_pc__rtp_transmission_manager",
+        "webrtc_pc__sctp_data_channel",
+        "webrtc_pc__transceiver_list",
+        "webrtc_pc__usage_pattern",
+        "webrtc_pc__video_track",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__weak_ptr",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtc_event_log__rtc_event_log_factory",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_socket__dcsctp_socket",
+        "webrtc_stats__rtc_stats",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__default_task_queue_factory",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__bitrate_settings",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__builtin_video_bitrate_allocator_factory",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__frame_decode_timing",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_capture__video_capture_module",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -27535,116 +13684,40 @@
     name: "webrtc_rnn_vad__rnn_vad_spectral_features",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/agc2/rnn_vad/spectral_features.cc",
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/rnn_vad/spectral_features.cc",
         "modules/audio_processing/agc2/rnn_vad/spectral_features_internal.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
-        "webrtc_utility__pffft_wrapper",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__pffft_wrapper",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -27654,126 +13727,44 @@
     name: "webrtc_aecm__aecm_core",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_processing/aecm/echo_control_mobile.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/aecm/aecm_core.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/aecm/aecm_core.cc",
         "modules/audio_processing/aecm/aecm_core_c.cc",
+        "modules/audio_processing/aecm/echo_control_mobile.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
         "webrtc_common_audio__common_audio_c",
-        "webrtc_synchronization__yield",
-        "webrtc_utility__legacy_delay_estimator",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__legacy_delay_estimator",
     ],
     arch: {
-        arm64: {
-            srcs: ["modules/audio_processing/aecm/aecm_core_neon.cc"],
-        },
         arm: {
             srcs: [
-                "modules/audio_processing/aecm/aecm_core_neon.cc",
                 ":webrtc_common_audio__common_audio_c_arm_asm",
+                "modules/audio_processing/aecm/aecm_core_neon.cc",
+            ],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+            srcs: ["modules/audio_processing/aecm/aecm_core_neon.cc"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
             ],
         },
     },
@@ -27786,122 +13777,46 @@
     name: "webrtc_audio_coding__pcm16b",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc",
-        "modules/audio_coding/codecs/pcm16b/pcm16b_common.cc",
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc",
+        "modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc",
+        "modules/audio_coding/codecs/pcm16b/pcm16b_common.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_audio_coding__legacy_encoded_audio_frame",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_audio_coding__g711",
+        "webrtc_audio_coding__legacy_encoded_audio_frame",
+        "webrtc_audio_coding__pcm16b_c",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_audio_coding__pcm16b_c",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -27911,156 +13826,84 @@
     name: "webrtc_video_coding__encoded_frame",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        "modules/video_coding/encoded_frame.cc",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/encoded_frame.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__alr_experiment",
+        "webrtc_experiments__rtt_mult_experiment",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__socket",
         "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
         "webrtc_rtp_rtcp__rtp_video_header",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__time_delta",
         "webrtc_video__encoded_image",
-        "webrtc_experiments__alr_experiment",
-        "webrtc_rtc_base__checks",
-        "webrtc_experiments__rtt_mult_experiment",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
+        "webrtc_video_coding__video_codec_interface",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -28070,175 +13913,103 @@
     name: "webrtc_audio_coding__neteq",
     defaults: ["webrtc_defaults"],
     srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_neteq__tick_timer",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/neteq/accelerate.cc",
+        "modules/audio_coding/neteq/audio_multi_vector.cc",
+        "modules/audio_coding/neteq/audio_vector.cc",
+        "modules/audio_coding/neteq/background_noise.cc",
+        "modules/audio_coding/neteq/buffer_level_filter.cc",
+        "modules/audio_coding/neteq/comfort_noise.cc",
+        "modules/audio_coding/neteq/cross_correlation.cc",
+        "modules/audio_coding/neteq/decision_logic.cc",
+        "modules/audio_coding/neteq/decoder_database.cc",
+        "modules/audio_coding/neteq/delay_manager.cc",
+        "modules/audio_coding/neteq/dsp_helper.cc",
         "modules/audio_coding/neteq/dtmf_buffer.cc",
-        "modules/audio_coding/neteq/histogram.cc",
+        "modules/audio_coding/neteq/dtmf_tone_generator.cc",
         "modules/audio_coding/neteq/expand.cc",
         "modules/audio_coding/neteq/expand_uma_logger.cc",
-        "modules/audio_coding/neteq/comfort_noise.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_strings__internal",
-        "modules/audio_coding/neteq/reorder_optimizer.cc",
-        "modules/audio_coding/neteq/audio_vector.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "modules/audio_coding/neteq/dsp_helper.cc",
-        "modules/audio_coding/neteq/underrun_optimizer.cc",
-        "modules/audio_coding/neteq/dtmf_tone_generator.cc",
-        ":webrtc_base__log_severity",
-        "modules/audio_coding/neteq/timestamp_scaler.cc",
-        "modules/audio_coding/neteq/delay_manager.cc",
+        "modules/audio_coding/neteq/histogram.cc",
+        "modules/audio_coding/neteq/merge.cc",
         "modules/audio_coding/neteq/nack_tracker.cc",
-        "modules/audio_coding/neteq/time_stretch.cc",
-        "modules/audio_coding/neteq/audio_multi_vector.cc",
+        "modules/audio_coding/neteq/neteq_impl.cc",
+        "modules/audio_coding/neteq/normal.cc",
+        "modules/audio_coding/neteq/packet.cc",
+        "modules/audio_coding/neteq/packet_arrival_history.cc",
+        "modules/audio_coding/neteq/packet_buffer.cc",
+        "modules/audio_coding/neteq/post_decode_vad.cc",
         "modules/audio_coding/neteq/preemptive_expand.cc",
         "modules/audio_coding/neteq/random_vector.cc",
         "modules/audio_coding/neteq/red_payload_splitter.cc",
-        "modules/audio_coding/neteq/merge.cc",
-        "modules/audio_coding/neteq/cross_correlation.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__raw_logging_internal",
-        "modules/audio_coding/neteq/neteq_impl.cc",
-        "modules/audio_coding/neteq/accelerate.cc",
-        "modules/audio_coding/neteq/packet_buffer.cc",
+        "modules/audio_coding/neteq/reorder_optimizer.cc",
         "modules/audio_coding/neteq/statistics_calculator.cc",
-        "modules/audio_coding/neteq/background_noise.cc",
-        ":webrtc_neteq__neteq_api",
-        "modules/audio_coding/neteq/decision_logic.cc",
-        "modules/audio_coding/neteq/normal.cc",
-        "modules/audio_coding/neteq/post_decode_vad.cc",
-        ":webrtc_neteq__tick_timer",
-        "modules/audio_coding/neteq/packet_arrival_history.cc",
-        ":webrtc_strings__strings",
         "modules/audio_coding/neteq/sync_buffer.cc",
-        "modules/audio_coding/neteq/buffer_level_filter.cc",
-        "modules/audio_coding/neteq/packet.cc",
-        "modules/audio_coding/neteq/decoder_database.cc",
+        "modules/audio_coding/neteq/time_stretch.cc",
+        "modules/audio_coding/neteq/timestamp_scaler.cc",
+        "modules/audio_coding/neteq/underrun_optimizer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__webrtc_cng",
+        "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_units__data_rate",
-        "webrtc_audio_coding__webrtc_cng",
-        "webrtc_common_audio__common_audio",
-        "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_rtc_base__checks",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__audio_format_to_string",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_common_audio__common_audio_c",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
 /* From target:
+//pc:srtp_filter
+*/
+filegroup {
+    name: "webrtc_pc__srtp_filter",
+    srcs: ["pc/srtp_filter.cc"],
+}
+
+/* From target:
 //modules/third_party/g722:g722_3p
 */
 cc_library_static {
@@ -28249,103 +14020,19 @@
         "modules/third_party/g722/g722_encode.c",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-}
-
-/* From target:
-//pc:srtp_filter
-*/
-filegroup {
-    name: "webrtc_pc__srtp_filter",
-    srcs: ["pc/srtp_filter.cc"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -28355,120 +14042,44 @@
     name: "webrtc_experiments__field_trial_parser",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "rtc_base/experiments/field_trial_list.cc",
-        ":webrtc_strings__strings",
-        "rtc_base/experiments/struct_parameters_parser.cc",
-        "rtc_base/experiments/field_trial_parser.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "rtc_base/experiments/field_trial_units.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/experiments/field_trial_list.cc",
+        "rtc_base/experiments/field_trial_parser.cc",
+        "rtc_base/experiments/field_trial_units.cc",
+        "rtc_base/experiments/struct_parameters_parser.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__data_size",
-        "webrtc_units__time_delta",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
         "webrtc_synchronization__yield",
         "webrtc_units__data_rate",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -28478,254 +14089,178 @@
     name: "webrtc_video_coding__video_coding",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        "modules/video_coding/h264_sps_pps_tracker.cc",
-        "modules/video_coding/rtp_vp8_ref_finder.cc",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "modules/video_coding/video_receiver2.cc",
-        "modules/video_coding/decoder_database.cc",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        "modules/video_coding/rtp_vp9_ref_finder.cc",
-        ":webrtc_video__video_frame_metadata",
-        "modules/video_coding/media_opt_util.cc",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        "modules/video_coding/loss_notification_controller.cc",
-        ":webrtc_base__base",
-        "modules/video_coding/rtp_generic_ref_finder.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_time__time",
-        "modules/video_coding/rtp_frame_reference_finder.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "modules/video_coding/fec_controller_default.cc",
-        ":webrtc_strings__cordz_functions",
-        "modules/video_coding/video_codec_initializer.cc",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
         ":webrtc_strings__cordz_handle",
-        "modules/video_coding/rtp_frame_id_only_ref_finder.cc",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
+        ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "modules/video_coding/decoder_database.cc",
+        "modules/video_coding/fec_controller_default.cc",
+        "modules/video_coding/frame_object.cc",
         "modules/video_coding/generic_decoder.cc",
         "modules/video_coding/h264_sprop_parameter_sets.cc",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
+        "modules/video_coding/h264_sps_pps_tracker.cc",
+        "modules/video_coding/loss_notification_controller.cc",
+        "modules/video_coding/media_opt_util.cc",
+        "modules/video_coding/rtp_frame_id_only_ref_finder.cc",
+        "modules/video_coding/rtp_frame_reference_finder.cc",
+        "modules/video_coding/rtp_generic_ref_finder.cc",
         "modules/video_coding/rtp_seq_num_only_ref_finder.cc",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "modules/video_coding/frame_object.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
-        ":webrtc_strings__strings",
-        ":webrtc_svc__scalable_video_controller",
+        "modules/video_coding/rtp_vp8_ref_finder.cc",
+        "modules/video_coding/rtp_vp9_ref_finder.cc",
+        "modules/video_coding/video_codec_initializer.cc",
+        "modules/video_coding/video_receiver2.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_video_coding__encoded_frame",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_api__media_stream_interface",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_units__data_size",
-        "webrtc_config__encoder_config",
-        "webrtc_common_video__common_video",
-        "webrtc_rtc_base__checks",
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__rate_control_settings",
         "webrtc_agc2__cpu_features",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_timing__jitter_estimator",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
+        "webrtc_audio_codecs__audio_codecs_api",
         "webrtc_audio_device__audio_device_impl",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_av1__av1_svc_config",
+        "webrtc_base64__base64",
         "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_common_video__common_video",
+        "webrtc_config__encoder_config",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__alr_experiment",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__min_video_bitrate_experiment",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_experiments__rtt_mult_experiment",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
         "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_rtp_rtcp__rtp_video_header",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_rtp_rtcp__rtp_video_header",
-        "webrtc_timing__rtt_filter",
-        "webrtc_units__timestamp",
-        "webrtc_base64__base64",
-        "webrtc_video_coding__frame_helpers",
-        "webrtc_api__rtp_parameters",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_experiments__alr_experiment",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_task_utils__repeating_task",
         "webrtc_timing__inter_frame_delay",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_experiments__rtt_mult_experiment",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
+        "webrtc_timing__jitter_estimator",
+        "webrtc_timing__rtt_filter",
         "webrtc_timing__timing_module",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtc_error",
-        "webrtc_video__video_frame",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_video_coding__webrtc_vp9_helpers",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_sigslot__sigslot",
-        "webrtc_experiments__min_video_bitrate_experiment",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__frequency",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_memory__aligned_malloc",
         "webrtc_units__data_rate",
-        "webrtc_av1__av1_svc_config",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_units__data_size",
+        "webrtc_units__frequency",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_units__timestamp",
         "webrtc_video__builtin_video_bitrate_allocator_factory",
-        "webrtc_system__file_wrapper",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__encoded_frame",
+        "webrtc_video_coding__frame_helpers",
+        "webrtc_video_coding__video_codec_interface",
         "webrtc_video_coding__video_coding_utility",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_coding__webrtc_vp9_helpers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -28736,124 +14271,48 @@
     name: "webrtc_socket__heartbeat_handler",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "net/dcsctp/socket/heartbeat_handler.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_public__socket",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
         ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_numeric__int128",
+        ":webrtc_public__socket",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/socket/heartbeat_handler.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_timer__timer",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_packet__sctp_packet",
-        "webrtc_task_queue__task_queue",
+        "webrtc_packet__chunk",
         "webrtc_packet__parameter",
+        "webrtc_packet__sctp_packet",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+        "webrtc_task_queue__task_queue",
+        "webrtc_timer__timer",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -28863,115 +14322,39 @@
     name: "webrtc_api__rtc_event_log_output_file",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "api/rtc_event_log_output_file.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/rtc_event_log_output_file.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system__file_wrapper",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_synchronization__yield",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_system__file_wrapper",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -28981,107 +14364,31 @@
     name: "webrtc_video_coding__webrtc_libvpx_interface",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/video_coding/codecs/interface/libvpx_interface.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "modules/video_coding/codecs/interface/libvpx_interface.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -29091,162 +14398,84 @@
     name: "webrtc_audio_processing__audio_processing",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_processing/audio_processing_impl.cc",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "modules/audio_processing/echo_control_mobile_impl.cc",
-        "modules/audio_processing/audio_processing_builder_impl.cc",
-        ":webrtc_strings__strings",
-        ":webrtc_base__log_severity",
         ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_audio_processing__rms_level",
-        "modules/audio_processing/gain_control_impl.cc",
-        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/audio_processing_builder_impl.cc",
+        "modules/audio_processing/audio_processing_impl.cc",
+        "modules/audio_processing/echo_control_mobile_impl.cc",
+        "modules/audio_processing/gain_control_impl.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_utility__audio_frame_operations",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_aecm__aecm_core",
-        "webrtc_ns__ns",
-        "webrtc_aec_dump__null_aec_dump_factory",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_audio_processing__audio_frame_proxies",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_audio_processing__audio_buffer",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_audio_processing__api",
-        "webrtc_common_audio__common_audio",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_audio_processing__gain_controller2",
-        "webrtc_system_wrappers__denormal_disabler",
-        "webrtc_ooura__fft_size_256",
-        "webrtc_audio_processing__high_pass_filter",
-        "webrtc_capture_levels_adjuster__capture_levels_adjuster",
-        "webrtc_synchronization__yield",
-        "webrtc_audio_processing__optionally_built_submodule_creators",
-        "webrtc_vad__vad",
-        "webrtc_common_audio__fir_filter_factory",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_system__file_wrapper",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_processing__audio_processing_statistics",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_audio__aec3_config",
         "webrtc_aec3__aec3",
+        "webrtc_aec_dump__null_aec_dump_factory",
+        "webrtc_aecm__aecm_core",
+        "webrtc_agc2__cpu_features",
         "webrtc_agc2__input_volume_stats_reporter",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_agc__agc",
         "webrtc_agc__legacy_agc",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_audio__aec3_config",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_buffer",
+        "webrtc_audio_processing__audio_frame_proxies",
+        "webrtc_audio_processing__audio_processing_statistics",
+        "webrtc_audio_processing__gain_controller2",
+        "webrtc_audio_processing__high_pass_filter",
+        "webrtc_audio_processing__optionally_built_submodule_creators",
+        "webrtc_capture_levels_adjuster__capture_levels_adjuster",
+        "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_common_audio__fir_filter_factory",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ns__ns",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_ooura__fft_size_256",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__denormal_disabler",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__audio_frame_operations",
+        "webrtc_vad__vad",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -29257,124 +14486,44 @@
     name: "webrtc_audio_processing__audio_buffer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/three_band_filter_bank.cc",
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_processing/splitting_filter.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "modules/audio_processing/audio_buffer.cc",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/audio_buffer.cc",
+        "modules/audio_processing/splitting_filter.cc",
+        "modules/audio_processing/three_band_filter_bank.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
         "webrtc_audio_processing__api",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -29393,119 +14542,39 @@
     name: "webrtc_audio_coding__webrtc_cng",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_coding/codecs/cng/webrtc_cng.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/cng/webrtc_cng.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__zero_memory",
         "webrtc_common_audio__common_audio_c",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__yield",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -29516,174 +14585,102 @@
     name: "webrtc_common_video__common_video",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "common_video/frame_rate_estimator.cc",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        "common_video/h264/pps_parser.cc",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        "common_video/framerate_controller.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        "common_video/video_frame_buffer.cc",
-        ":webrtc_debugging__symbolize",
-        "common_video/h264/sps_vui_rewriter.cc",
-        ":webrtc_strings__cordz_functions",
-        "common_video/bitrate_adjuster.cc",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        "common_video/video_frame_buffer_pool.cc",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        "common_video/h264/sps_parser.cc",
-        ":webrtc_container__hashtablez_sampler",
-        "common_video/h264/h264_common.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__cord",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        "common_video/libyuv/webrtc_libyuv.cc",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "common_video/bitrate_adjuster.cc",
+        "common_video/frame_rate_estimator.cc",
+        "common_video/framerate_controller.cc",
         "common_video/h264/h264_bitstream_parser.cc",
+        "common_video/h264/h264_common.cc",
+        "common_video/h264/pps_parser.cc",
+        "common_video/h264/sps_parser.cc",
+        "common_video/h264/sps_vui_rewriter.cc",
+        "common_video/libyuv/webrtc_libyuv.cc",
+        "common_video/video_frame_buffer.cc",
+        "common_video/video_frame_buffer_pool.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__zero_memory",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__rate_statistics",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_video__video_frame_i010",
-        "webrtc_video__video_bitrate_allocation",
+        "webrtc_rtc_base__bit_buffer",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__event_tracer",
-        "webrtc_video__video_frame",
-        "webrtc_rtc_base__bit_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__rate_statistics",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_frame_i010",
         "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -29693,106 +14690,30 @@
     name: "webrtc_rtc_base__checks",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/checks.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/checks.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -29802,214 +14723,138 @@
     name: "webrtc_pc__video_rtp_receiver",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__video_track_source_proxy",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        "pc/video_rtp_receiver.cc",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_pc__video_track_source_proxy",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/video_rtp_receiver.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__dtls_transport_interface",
         "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_pc__video_rtp_track_source",
-        "webrtc_pc__media_stream",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
+        "webrtc_pc__jitter_buffer_delay",
+        "webrtc_pc__media_stream",
+        "webrtc_pc__proxy",
+        "webrtc_pc__rtp_receiver",
+        "webrtc_pc__video_rtp_track_source",
+        "webrtc_pc__video_track",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_pc__proxy",
-        "webrtc_rtc_base__threading",
-        "webrtc_api__dtls_transport_interface",
-        "webrtc_units__timestamp",
-        "webrtc_pc__video_track",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
         "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_pc__rtp_receiver",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
         "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
         "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_pc__jitter_buffer_delay",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -30029,95 +14874,19 @@
     defaults: ["webrtc_defaults"],
     srcs: ["modules/third_party/fft/fft.c"],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -30127,227 +14896,151 @@
     name: "webrtc_call__rtp_sender",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        "call/rtp_transport_controller_send.cc",
         ":webrtc_strings__cord",
-        "call/rtp_video_sender.cc",
-        ":webrtc_base__raw_logging_internal",
-        "call/rtp_payload_params.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "call/rtp_payload_params.cc",
+        "call/rtp_transport_controller_send.cc",
+        "call/rtp_video_sender.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__random",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_api__transport_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_rtp__transport_feedback",
-        "webrtc_rtp__control_handler",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtp_rtcp__rtp_video_header",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_rtc_base__threading",
-        "webrtc_logging__rtc_event_bwe",
-        "webrtc_units__timestamp",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
         "webrtc_api__rtc_error",
         "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_pacing__pacing",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__rate_limiter",
-        "webrtc_synchronization__yield",
-        "webrtc_rtp_rtcp__rtp_rtcp",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_system__file_wrapper",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_transport__goog_cc",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_congestion_controller__congestion_controller",
-        "webrtc_call__bitrate_configurator",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__transport_api",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__bitrate_configurator",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_congestion_controller__congestion_controller",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_logging__rtc_event_bwe",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pacing__pacing",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rate_limiter",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_transport__network_control",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp__control_handler",
+        "webrtc_rtp__transport_feedback",
+        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_rtp_rtcp__rtp_video_header",
         "webrtc_sigslot__sigslot",
-        "webrtc_video_coding__chain_diff_calculator",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video_coding__frame_dependencies_calculator",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_transport__goog_cc",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__chain_diff_calculator",
+        "webrtc_video_coding__frame_dependencies_calculator",
+        "webrtc_video_coding__video_codec_interface",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -30358,179 +15051,107 @@
     name: "webrtc_call__video_stream_api",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "call/video_send_stream.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_video__video_frame_metadata",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "call/video_receive_stream.cc",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "call/video_receive_stream.cc",
+        "call/video_send_stream.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_api__media_stream_interface",
-        "webrtc_api__transport_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_config__encoder_config",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
         "webrtc_api__rtc_error",
         "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_api__rtp_parameters",
         "webrtc_api__rtp_sender_interface",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_video__video_bitrate_allocator",
+        "webrtc_api__transport_api",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_common_video__common_video",
+        "webrtc_config__encoder_config",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -30540,126 +15161,114 @@
     name: "webrtc_ilbc__audio_encoder_ilbc",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        "api/audio_codecs/ilbc/audio_encoder_ilbc.cc",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/ilbc/audio_encoder_ilbc.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_audio_coding__ilbc",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//video:unique_timestamp_counter
+*/
+cc_library_static {
+    name: "webrtc_video__unique_timestamp_counter",
+    defaults: ["webrtc_defaults"],
+    srcs: ["video/unique_timestamp_counter.cc"],
+    host_supported: true,
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//api/audio_codecs/L16:audio_decoder_L16
+*/
+cc_library_static {
+    name: "webrtc_L16__audio_decoder_L16",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/L16/audio_decoder_L16.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__pcm16b",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -30672,212 +15281,250 @@
 }
 
 /* From target:
+//system_wrappers:denormal_disabler
+*/
+cc_library_static {
+    name: "webrtc_system_wrappers__denormal_disabler",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "system_wrappers/source/denormal_disabler.cc",
+    ],
+    host_supported: true,
+    cppflags: ["-Wno-unused-private-field"],
+    static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//net/dcsctp/rx:reassembly_queue
+*/
+cc_library_static {
+    name: "webrtc_rx__reassembly_queue",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__socket",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        "net/dcsctp/rx/reassembly_queue.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_packet__chunk",
+        "webrtc_packet__parameter",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rx__interleaved_reassembly_streams",
+        "webrtc_rx__traditional_reassembly_streams",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
 //media:rtc_encoder_simulcast_proxy
 */
 cc_library_static {
     name: "webrtc_media__rtc_encoder_simulcast_proxy",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "media/engine/encoder_simulcast_proxy.cc",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "media/engine/encoder_simulcast_proxy.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_media__rtc_simulcast_encoder_adapter",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_media__rtc_simulcast_encoder_adapter",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -30888,718 +15535,145 @@
     name: "webrtc_adaptation__resource_adaptation",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "call/adaptation/resource_adaptation_processor.cc",
-        ":webrtc_debugging__demangle_internal",
-        "call/adaptation/video_stream_input_state.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        "call/adaptation/video_stream_adapter.cc",
-        ":webrtc_debugging__symbolize",
-        "call/adaptation/video_stream_input_state_provider.cc",
-        "call/adaptation/encoder_settings.cc",
-        ":webrtc_strings__cordz_functions",
-        "call/adaptation/degradation_preference_provider.cc",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "call/adaptation/broadcast_resource_listener.cc",
-        ":webrtc_neteq__neteq_api",
-        "call/adaptation/resource_adaptation_processor_interface.cc",
-        ":webrtc_strings__str_format_internal",
-        "call/adaptation/video_source_restrictions.cc",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        "call/adaptation/adaptation_constraint.cc",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "call/adaptation/adaptation_constraint.cc",
+        "call/adaptation/broadcast_resource_listener.cc",
+        "call/adaptation/degradation_preference_provider.cc",
+        "call/adaptation/encoder_settings.cc",
+        "call/adaptation/resource_adaptation_processor.cc",
+        "call/adaptation/resource_adaptation_processor_interface.cc",
+        "call/adaptation/video_source_restrictions.cc",
+        "call/adaptation/video_stream_adapter.cc",
+        "call/adaptation/video_stream_input_state.cc",
+        "call/adaptation/video_stream_input_state_provider.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_config__encoder_config",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_experiments__balanced_degradation_settings",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_config__encoder_config",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__balanced_degradation_settings",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
 /* From target:
-//api/audio_codecs/L16:audio_decoder_L16
-*/
-cc_library_static {
-    name: "webrtc_L16__audio_decoder_L16",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/audio_codecs/L16/audio_decoder_L16.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_audio_coding__pcm16b",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-    ],
-}
-
-/* From target:
-//modules/audio_processing/agc2/rnn_vad:rnn_vad_lp_residual
-*/
-cc_library_static {
-    name: "webrtc_rnn_vad__rnn_vad_lp_residual",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        "modules/audio_processing/agc2/rnn_vad/lp_residual.cc",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: ["webrtc_rtc_base__checks"],
-}
-
-/* From target:
-//system_wrappers:denormal_disabler
-*/
-cc_library_static {
-    name: "webrtc_system_wrappers__denormal_disabler",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        "system_wrappers/source/denormal_disabler.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Wno-unused-private-field",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: ["webrtc_rtc_base__checks"],
-}
-
-/* From target:
-//net/dcsctp/rx:reassembly_queue
-*/
-cc_library_static {
-    name: "webrtc_rx__reassembly_queue",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "net/dcsctp/rx/reassembly_queue.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_public__socket",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_types__bad_variant_access",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rx__interleaved_reassembly_streams",
-        "webrtc_rx__traditional_reassembly_streams",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_task_queue__task_queue",
-        "webrtc_packet__parameter",
-    ],
-}
-
-/* From target:
 //third_party/abseil-cpp/absl/base:malloc_internal
 */
 filegroup {
@@ -31608,121 +15682,79 @@
 }
 
 /* From target:
+//modules/audio_processing/agc2/rnn_vad:rnn_vad_lp_residual
+*/
+cc_library_static {
+    name: "webrtc_rnn_vad__rnn_vad_lp_residual",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "modules/audio_processing/agc2/rnn_vad/lp_residual.cc",
+    ],
+    host_supported: true,
+    static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
 //net/dcsctp/packet:chunk_validators
 */
 cc_library_static {
     name: "webrtc_packet__chunk_validators",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "net/dcsctp/packet/chunk_validators.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -31740,122 +15772,50 @@
     name: "webrtc_experiments__rate_control_settings",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/experiments/rate_control_settings.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "rtc_base/experiments/rate_control_settings.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_config__encoder_config",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
         "webrtc_system_wrappers__field_trial",
+        "webrtc_transport__field_trial_based_config",
         "webrtc_units__data_size",
         "webrtc_video_codecs__video_codecs_api",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_config__encoder_config",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_transport__field_trial_based_config",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -31865,116 +15825,40 @@
     name: "webrtc_rtc_event_log__rtc_event_log_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "api/rtc_event_log/rtc_event_log_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
         "webrtc_task_queue__task_queue",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -31984,122 +15868,46 @@
     name: "webrtc_tx__rr_send_queue",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_crc32c__crc32c_sse42",
-        "net/dcsctp/tx/rr_send_queue.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_public__socket",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
         ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_numeric__int128",
+        ":webrtc_public__socket",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/tx/rr_send_queue.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_tx__stream_scheduler",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_packet__chunk",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
+        "webrtc_tx__stream_scheduler",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -32109,126 +15917,46 @@
     name: "webrtc_audio_coding__audio_encoder_cng",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_coding/codecs/cng/audio_encoder_cng.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/cng/audio_encoder_cng.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_audio_coding__webrtc_cng",
         "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -32239,115 +15967,39 @@
     name: "webrtc_agc2__cpu_features",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/agc2/cpu_features.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/cpu_features.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -32357,153 +16009,81 @@
     name: "webrtc_video_coding__video_codec_interface",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        "modules/video_coding/include/video_codec_interface.cc",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/include/video_codec_interface.cc",
         "modules/video_coding/video_coding_defines.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
         "webrtc_common_video__common_video",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
         "webrtc_video__video_frame",
-        "webrtc_video_codecs__video_codecs_api",
         "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -32513,144 +16093,64 @@
     name: "webrtc_audio_coding__audio_network_adaptor",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        "modules/audio_coding/audio_network_adaptor/controller_manager.cc",
-        ":webrtc_base__spinlock_wait",
-        "modules/audio_coding/audio_network_adaptor/controller.cc",
-        "modules/audio_coding/audio_network_adaptor/frame_length_controller_v2.cc",
-        "modules/audio_coding/audio_network_adaptor/fec_controller_plr_based.cc",
-        ":webrtc_strings__internal",
-        "modules/audio_coding/audio_network_adaptor/dtx_controller.cc",
-        "modules/audio_coding/audio_network_adaptor/bitrate_controller.cc",
-        "modules/audio_coding/audio_network_adaptor/debug_dump_writer.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "modules/audio_coding/audio_network_adaptor/event_log_writer.cc",
-        "modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.cc",
-        "modules/audio_coding/audio_network_adaptor/channel_controller.cc",
-        ":webrtc_base__throw_delegate",
         ":webrtc_base__raw_logging_internal",
-        "modules/audio_coding/audio_network_adaptor/frame_length_controller.cc",
-        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.cc",
+        "modules/audio_coding/audio_network_adaptor/bitrate_controller.cc",
+        "modules/audio_coding/audio_network_adaptor/channel_controller.cc",
+        "modules/audio_coding/audio_network_adaptor/controller.cc",
+        "modules/audio_coding/audio_network_adaptor/controller_manager.cc",
+        "modules/audio_coding/audio_network_adaptor/debug_dump_writer.cc",
+        "modules/audio_coding/audio_network_adaptor/dtx_controller.cc",
+        "modules/audio_coding/audio_network_adaptor/event_log_writer.cc",
+        "modules/audio_coding/audio_network_adaptor/fec_controller_plr_based.cc",
+        "modules/audio_coding/audio_network_adaptor/frame_length_controller.cc",
+        "modules/audio_coding/audio_network_adaptor/frame_length_controller_v2.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__audio_network_adaptor_config",
+        "webrtc_common_audio__common_audio",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__timeutils",
         "webrtc_logging__rtc_event_audio",
         "webrtc_memory__aligned_malloc",
-        "webrtc_units__data_rate",
-        "webrtc_common_audio__common_audio",
         "webrtc_rtc_base__checks",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_audio_coding__audio_network_adaptor_config",
-        "webrtc_synchronization__yield",
-        "webrtc_system__file_wrapper",
-        "webrtc_audio_codecs__audio_codecs_api",
         "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -32669,118 +16169,42 @@
     name: "webrtc_goog_cc__loss_based_bwe_v1",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/congestion_controller/goog_cc/loss_based_bandwidth_estimation.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0"],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_experiments__field_trial_parser",
-        "webrtc_transport__network_control",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -32790,209 +16214,133 @@
     name: "webrtc_congestion_controller__congestion_controller",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        "modules/congestion_controller/receive_side_congestion_controller.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        "modules/congestion_controller/remb_throttler.cc",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/congestion_controller/receive_side_congestion_controller.cc",
+        "modules/congestion_controller/remb_throttler.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0"],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
+        "webrtc_pacing__pacing",
+        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_pacing__pacing",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
         "webrtc_transport__network_control",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -33003,202 +16351,126 @@
     name: "webrtc_rtc_base__rtc_base",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        "rtc_base/ssl_fingerprint.cc",
-        "rtc_base/rtc_certificate.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        "rtc_base/ssl_stream_adapter.cc",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        "rtc_base/socket_adapters.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        "rtc_base/helpers.cc",
-        ":webrtc_debugging__symbolize",
-        "rtc_base/proxy_info.cc",
-        "rtc_base/async_udp_socket.cc",
-        "rtc_base/openssl_session_cache.cc",
-        "rtc_base/network_route.cc",
-        ":webrtc_strings__cordz_functions",
-        "rtc_base/ssl_identity.cc",
-        "rtc_base/message_digest.cc",
-        "rtc_base/async_tcp_socket.cc",
-        "rtc_base/data_rate_limiter.cc",
-        "rtc_base/openssl_digest.cc",
-        "rtc_base/ssl_adapter.cc",
-        ":webrtc_hash__city",
-        "rtc_base/network.cc",
-        "rtc_base/openssl_utility.cc",
-        ":webrtc_strings__cordz_handle",
-        "rtc_base/openssl_key_pair.cc",
-        "rtc_base/net_helper.cc",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        "rtc_base/openssl_adapter.cc",
-        "rtc_base/crypt_string.cc",
-        ":webrtc_synchronization__graphcycles_internal",
-        "rtc_base/ssl_certificate.cc",
-        "rtc_base/boringssl_certificate.cc",
-        "rtc_base/log_sinks.cc",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        "rtc_base/openssl_stream_adapter.cc",
-        "rtc_base/file_rotating_stream.cc",
-        "rtc_base/async_packet_socket.cc",
-        "rtc_base/boringssl_identity.cc",
-        "rtc_base/ifaddrs_converter.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "rtc_base/stream.cc",
-        "rtc_base/http_common.cc",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        "rtc_base/crc32.cc",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
-        "rtc_base/unique_id_generator.cc",
+        "rtc_base/async_packet_socket.cc",
+        "rtc_base/async_tcp_socket.cc",
+        "rtc_base/async_udp_socket.cc",
+        "rtc_base/boringssl_certificate.cc",
+        "rtc_base/boringssl_identity.cc",
+        "rtc_base/crc32.cc",
+        "rtc_base/crypt_string.cc",
+        "rtc_base/data_rate_limiter.cc",
+        "rtc_base/file_rotating_stream.cc",
+        "rtc_base/helpers.cc",
+        "rtc_base/http_common.cc",
+        "rtc_base/ifaddrs_converter.cc",
+        "rtc_base/log_sinks.cc",
+        "rtc_base/message_digest.cc",
+        "rtc_base/net_helper.cc",
+        "rtc_base/network.cc",
+        "rtc_base/network_route.cc",
+        "rtc_base/openssl_adapter.cc",
+        "rtc_base/openssl_digest.cc",
+        "rtc_base/openssl_key_pair.cc",
+        "rtc_base/openssl_session_cache.cc",
+        "rtc_base/openssl_stream_adapter.cc",
+        "rtc_base/openssl_utility.cc",
+        "rtc_base/proxy_info.cc",
+        "rtc_base/rtc_certificate.cc",
         "rtc_base/rtc_certificate_generator.cc",
+        "rtc_base/socket_adapters.cc",
         "rtc_base/socket_address_pair.cc",
+        "rtc_base/ssl_adapter.cc",
+        "rtc_base/ssl_certificate.cc",
+        "rtc_base/ssl_fingerprint.cc",
+        "rtc_base/ssl_identity.cc",
+        "rtc_base/ssl_stream_adapter.cc",
+        "rtc_base/stream.cc",
+        "rtc_base/unique_id_generator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
+        "webrtc_base64__base64",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
+        "webrtc_network__sent_packet",
         "webrtc_numerics__numerics",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__async_socket",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__null_socket_server",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
         "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
         "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
         "webrtc_task_utils__repeating_task",
-        "webrtc_rtc_base__threading",
-        "webrtc_network__sent_packet",
-        "webrtc_base64__base64",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_rtc_base__null_socket_server",
         "webrtc_transport__field_trial_based_config",
-        "webrtc_system__file_wrapper",
-        "webrtc_rtc_base__async_socket",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -33208,111 +16480,35 @@
     name: "webrtc_rtc_base__criticalsection",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
         "rtc_base/deprecated/recursive_critical_section.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -33322,221 +16518,145 @@
     name: "webrtc_goog_cc__goog_cc",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "modules/congestion_controller/goog_cc/goog_cc_network_control.cc",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/congestion_controller/goog_cc/goog_cc_network_control.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0"],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_containers__flat_containers_internal",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__alr_experiment",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_goog_cc__alr_detector",
+        "webrtc_goog_cc__delay_based_bwe",
+        "webrtc_goog_cc__estimators",
+        "webrtc_goog_cc__loss_based_bwe_v2",
+        "webrtc_goog_cc__probe_controller",
+        "webrtc_goog_cc__pushback_controller",
+        "webrtc_goog_cc__send_side_bwe",
+        "webrtc_logging__rtc_event_bwe",
+        "webrtc_logging__rtc_event_pacing",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
+        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_logging__rtc_event_bwe",
-        "webrtc_units__timestamp",
-        "webrtc_units__data_size",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_goog_cc__estimators",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_experiments__alr_experiment",
-        "webrtc_goog_cc__delay_based_bwe",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_goog_cc__send_side_bwe",
-        "webrtc_video__video_frame",
-        "webrtc_goog_cc__loss_based_bwe_v2",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_goog_cc__alr_detector",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_experiments__rate_control_settings",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
         "webrtc_transport__field_trial_based_config",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_goog_cc__probe_controller",
-        "webrtc_logging__rtc_event_pacing",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_goog_cc__pushback_controller",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
         "webrtc_transport__network_control",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -33547,115 +16667,39 @@
     name: "webrtc_agc2__input_volume_stats_reporter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/agc2/input_volume_stats_reporter.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/input_volume_stats_reporter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -33673,111 +16717,35 @@
     name: "webrtc_video__video_adaptation",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "api/video/video_adaptation_counters.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/video/video_adaptation_counters.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -33787,107 +16755,31 @@
     name: "webrtc_rtc_base__random",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         "rtc_base/random.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -33897,156 +16789,84 @@
     name: "webrtc_logging__rtc_event_rtp_rtcp",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        "logging/rtc_event_log/events/rtc_event_rtcp_packet_incoming.cc",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.cc",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
-        "logging/rtc_event_log/events/rtc_event_rtp_packet_outgoing.cc",
+        ":webrtc_video_codecs__scalability_mode",
+        "logging/rtc_event_log/events/rtc_event_rtcp_packet_incoming.cc",
+        "logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.cc",
         "logging/rtc_event_log/events/rtc_event_rtp_packet_incoming.cc",
+        "logging/rtc_event_log/events/rtc_event_rtp_packet_outgoing.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_logging__rtc_event_field",
         "webrtc_api__rtp_headers",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_logging__rtc_event_field",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -34056,162 +16876,90 @@
     name: "webrtc_call__rtp_interfaces",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_video__video_frame_metadata",
-        "call/rtp_config.cc",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "call/rtp_config.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_parameters",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
         "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__zero_memory",
         "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_units__timestamp",
-        "webrtc_transport__bitrate_settings",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_api__rtp_headers",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
         "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
         "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__rtc_event",
+        "webrtc_transport__bitrate_settings",
         "webrtc_transport__network_control",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -34221,115 +16969,39 @@
     name: "webrtc_aec_dump__null_aec_dump_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "modules/audio_processing/aec_dump/null_aec_dump_factory.cc",
-        ":webrtc_strings__strings",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/aec_dump/null_aec_dump_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system__file_wrapper",
-        "webrtc_synchronization__yield",
         "webrtc_audio_processing__api",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -34339,113 +17011,37 @@
     name: "webrtc_numerics__numerics",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "api/numerics/samples_stats_counter.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/numerics/samples_stats_counter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__timeutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -34455,116 +17051,40 @@
     name: "webrtc_rtc_base__socket_address",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/socket_address.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/socket_address.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__net_helpers",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__net_helpers",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -34574,216 +17094,140 @@
     name: "webrtc_pc__remote_audio_source",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__channel",
+        ":webrtc_pc__rtp_media_utils",
+        ":webrtc_pc__session_description",
+        ":webrtc_pc__simulcast_description",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        "pc/remote_audio_source.cc",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_pc__session_description",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_pc__simulcast_description",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_pc__rtp_media_utils",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_pc__channel",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/remote_audio_source.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_call__rtp_receiver",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_sigslot__sigslot",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_pc__media_protocol_names",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_network__sent_packet",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_pc__media_protocol_names",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_network__sent_packet",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -34802,113 +17246,37 @@
     name: "webrtc_task_queue__pending_task_safety_flag",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/task_queue/pending_task_safety_flag.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/task_queue/pending_task_safety_flag.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_synchronization__sequence_checker_internal",
         "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -34918,206 +17286,130 @@
     name: "webrtc_pc__dtmf_sender",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
         "pc/dtmf_sender.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_pc__proxy",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pc__proxy",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -35128,118 +17420,96 @@
     name: "webrtc_rtp_rtcp__rtp_video_header",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_types__bad_variant_access",
-        "modules/rtp_rtcp/source/rtp_video_header.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtp__dependency_descriptor",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
         ":webrtc_video__video_frame_metadata",
+        "modules/rtp_rtcp/source/rtp_video_header.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_synchronization__yield",
         "webrtc_api__rtp_headers",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
         "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//api/audio_codecs/opus:audio_decoder_multiopus
+*/
+cc_library_static {
+    name: "webrtc_opus__audio_decoder_multiopus",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/opus/audio_decoder_multi_channel_opus.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__webrtc_multiopus",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+    ],
+    arch: {
+        arm: {
+            cflags: ["-DOPUS_FIXED_POINT"],
+        },
+        arm64: {
+            cflags: [
+                "-DOPUS_FIXED_POINT",
+                "-mbranch-protection=standard",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -35251,125 +17521,11 @@
 }
 
 /* From target:
-//api/audio_codecs/opus:audio_decoder_multiopus
+//pc:rtc_stats_traversal
 */
-cc_library_static {
-    name: "webrtc_opus__audio_decoder_multiopus",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "api/audio_codecs/opus/audio_decoder_multi_channel_opus.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_audio_coding__webrtc_multiopus",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-    ],
+filegroup {
+    name: "webrtc_pc__rtc_stats_traversal",
+    srcs: ["pc/rtc_stats_traversal.cc"],
 }
 
 /* From target:
@@ -35379,122 +17535,84 @@
     name: "webrtc_agc2__speech_level_estimator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/audio_processing/agc2/speech_level_estimator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__logging",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
         "webrtc_audio_processing__api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_audio_processing__apm_logging",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//rtc_base:platform_thread
+*/
+cc_library_static {
+    name: "webrtc_rtc_base__platform_thread",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/platform_thread.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -35505,435 +17623,33 @@
     name: "webrtc_timing__rtt_filter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/video_coding/timing/rtt_filter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__checks",
-    ],
-}
-
-/* From target:
-//rtc_base:platform_thread
-*/
-cc_library_static {
-    name: "webrtc_rtc_base__platform_thread",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        "rtc_base/platform_thread.cc",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rtc_base__timeutils",
-    ],
-}
-
-/* From target:
-//pc:video_track_source
-*/
-cc_library_static {
-    name: "webrtc_pc__video_track_source",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        "pc/video_track_source.cc",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
     ],
     arch: {
         arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
         },
     },
 }
@@ -35945,121 +17661,169 @@
     name: "webrtc_rtc_base__weak_ptr",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "rtc_base/weak_ptr.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_synchronization__sequence_checker_internal",
         "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
-//pc:rtc_stats_traversal
+//pc:video_track_source
 */
-filegroup {
-    name: "webrtc_pc__rtc_stats_traversal",
-    srcs: ["pc/rtc_stats_traversal.cc"],
+cc_library_static {
+    name: "webrtc_pc__video_track_source",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/video_track_source.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
 }
 
 /* From target:
@@ -36069,107 +17833,31 @@
     name: "webrtc_base64__base64",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/third_party/base64/base64.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/third_party/base64/base64.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -36179,208 +17867,132 @@
     name: "webrtc_pc__video_track",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__video_track_source_proxy",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        "pc/video_track.cc",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_pc__video_track_source_proxy",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/video_track.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_pc__proxy",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pc__proxy",
+        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -36391,152 +18003,80 @@
     name: "webrtc_video_coding__frame_helpers",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        "modules/video_coding/frame_helpers.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/frame_helpers.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_frame",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
         "webrtc_video__encoded_frame",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -36546,119 +18086,47 @@
     name: "webrtc_pc__media_stream_observer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "pc/media_stream_observer.cc",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/media_stream_observer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_synchronization__yield",
         "webrtc_api__media_stream_interface",
-        "webrtc_video__encoded_image",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_image",
         "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -36668,215 +18136,139 @@
     name: "webrtc_video_codecs__builtin_video_decoder_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "api/video_codecs/builtin_video_decoder_factory.cc",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "api/video_codecs/builtin_video_decoder_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_internal_video_codecs",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
         "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_video_coding__webrtc_vp9",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_video_coding__webrtc_vp8",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
         "webrtc_video__encoded_image",
-        "webrtc_media__rtc_internal_video_codecs",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
         "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_video_coding__webrtc_h264",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__webrtc_h264",
+        "webrtc_video_coding__webrtc_vp8",
+        "webrtc_video_coding__webrtc_vp9",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -36887,117 +18279,41 @@
     name: "webrtc_audio_processing__api",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_processing/include/audio_processing.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/include/audio_processing.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system__file_wrapper",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_audio_processing__audio_processing_statistics",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_synchronization__yield",
         "webrtc_audio__aec3_config",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_processing__audio_processing_statistics",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -37007,114 +18323,38 @@
     name: "webrtc_stats__rtc_stats",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "stats/rtcstats_objects.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "stats/rtc_stats.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "stats/rtc_stats_report.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "stats/rtc_stats.cc",
+        "stats/rtc_stats_report.cc",
+        "stats/rtcstats_objects.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -37124,110 +18364,34 @@
     name: "webrtc_rtc_base__copy_on_write_buffer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/copy_on_write_buffer.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/copy_on_write_buffer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__zero_memory",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__zero_memory",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -37237,114 +18401,38 @@
     name: "webrtc_api__rtp_headers",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "api/rtp_headers.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -37362,154 +18450,82 @@
     name: "webrtc_goog_cc__loss_based_bwe_v2",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
         "webrtc_units__data_size",
         "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_transport__network_control",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -37519,122 +18535,46 @@
     name: "webrtc_tx__stream_scheduler",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_public__socket",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-        "net/dcsctp/tx/stream_scheduler.cc",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
         ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_numeric__int128",
+        ":webrtc_public__socket",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/tx/stream_scheduler.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_packet__chunk",
         "webrtc_packet__sctp_packet",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -37644,111 +18584,35 @@
     name: "webrtc_timing__codec_timer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/video_coding/timing/codec_timer.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/video_coding/timing/codec_timer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__rtc_numerics",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__rtc_numerics",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -37766,206 +18630,130 @@
     name: "webrtc_video_codecs__vp8_temporal_layers_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        "api/video_codecs/vp8_temporal_layers_factory.cc",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/video_codecs/vp8_temporal_layers_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__webrtc_vp8_temporal_layers",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_coding_utility",
+        "webrtc_video_coding__webrtc_vp8_temporal_layers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -37993,194 +18781,19 @@
     defaults: ["webrtc_defaults"],
     srcs: ["call/version.cc"],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-}
-
-/* From target:
-//common_audio/third_party/ooura:fft_size_256
-*/
-cc_library_static {
-    name: "webrtc_ooura__fft_size_256",
-    defaults: ["webrtc_defaults"],
-    srcs: ["common_audio/third_party/ooura/fft_size_256/fft4g.cc"],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -38195,121 +18808,72 @@
 }
 
 /* From target:
+//common_audio/third_party/ooura:fft_size_256
+*/
+cc_library_static {
+    name: "webrtc_ooura__fft_size_256",
+    defaults: ["webrtc_defaults"],
+    srcs: ["common_audio/third_party/ooura/fft_size_256/fft4g.cc"],
+    host_supported: true,
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
 //api/video:encoded_image
 */
 cc_library_static {
     name: "webrtc_video__encoded_image",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "api/video/encoded_image.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/video/encoded_image.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_api__rtp_packet_info",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
         "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -38319,134 +18883,54 @@
     name: "webrtc_audio_mixer__audio_mixer_impl",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_mixer/audio_mixer_impl.cc",
-        "modules/audio_mixer/frame_combiner.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_mixer/default_output_rate_calculator.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_mixer/audio_mixer_impl.cc",
+        "modules/audio_mixer/default_output_rate_calculator.cc",
+        "modules/audio_mixer/frame_combiner.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_utility__audio_frame_operations",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_audio_mixer__audio_frame_manipulator",
         "webrtc_agc2__fixed_digital",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_mixer__audio_frame_manipulator",
         "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_common_audio__common_audio",
-        "webrtc_rtc_base__event_tracer",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
         "webrtc_synchronization__sequence_checker_internal",
         "webrtc_synchronization__yield",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__audio_frame_operations",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -38465,115 +18949,39 @@
     name: "webrtc_experiments__rtt_mult_experiment",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/experiments/rtt_mult_experiment.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/experiments/rtt_mult_experiment.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -38583,117 +18991,41 @@
     name: "webrtc_logging__rtc_event_begin_end",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "logging/rtc_event_log/events/rtc_event_end_log.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        "logging/rtc_event_log/events/rtc_event_begin_log.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "logging/rtc_event_log/events/rtc_event_begin_log.cc",
+        "logging/rtc_event_log/events/rtc_event_end_log.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_synchronization__yield",
         "webrtc_logging__rtc_event_field",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -38703,165 +19035,93 @@
     name: "webrtc_api__rtp_sender_interface",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_video__video_frame_metadata",
         ":webrtc_video_codecs__scalability_mode",
         "api/rtp_sender_interface.cc",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_types__bad_variant_access",
-        ":webrtc_strings__strings",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_rtc_base__threading",
         "webrtc_api__dtls_transport_interface",
-        "webrtc_units__timestamp",
-        "webrtc_api__rtp_parameters",
-        "webrtc_rtc_base__checks",
+        "webrtc_api__media_stream_interface",
         "webrtc_api__rtc_error",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_api__rtp_parameters",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -38879,115 +19139,39 @@
     name: "webrtc_transport__field_trial_based_config",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "api/transport/field_trial_based_config.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -38997,130 +19181,58 @@
     name: "webrtc_video_codecs__video_codecs_api",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/video_codecs/sdp_video_format.cc",
-        "api/video_codecs/video_decoder.cc",
-        ":webrtc_base__spinlock_wait",
-        "api/video_codecs/vp9_profile.cc",
-        ":webrtc_strings__internal",
-        "api/video_codecs/spatial_layer.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "api/video_codecs/video_codec.cc",
         ":webrtc_base__log_severity",
-        "api/video_codecs/h264_profile_level_id.cc",
-        "api/video_codecs/video_encoder.cc",
-        "api/video_codecs/av1_profile.cc",
-        "api/video_codecs/vp8_temporal_layers.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
-        "api/video_codecs/simulcast_stream.cc",
-        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/video_codecs/av1_profile.cc",
+        "api/video_codecs/h264_profile_level_id.cc",
+        "api/video_codecs/sdp_video_format.cc",
+        "api/video_codecs/simulcast_stream.cc",
+        "api/video_codecs/spatial_layer.cc",
+        "api/video_codecs/video_codec.cc",
+        "api/video_codecs/video_decoder.cc",
+        "api/video_codecs/video_encoder.cc",
         "api/video_codecs/vp8_frame_config.cc",
+        "api/video_codecs/vp8_temporal_layers.cc",
+        "api/video_codecs/vp9_profile.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
         "webrtc_synchronization__yield",
         "webrtc_units__data_rate",
         "webrtc_video__encoded_image",
         "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -39132,52 +19244,51 @@
 }
 
 /* From target:
-//modules/audio_processing/agc2/rnn_vad:vector_math_avx2
+//modules/congestion_controller/goog_cc:probe_controller
 */
 cc_library_static {
-    name: "webrtc_rnn_vad__vector_math_avx2",
+    name: "webrtc_goog_cc__probe_controller",
     defaults: ["webrtc_defaults"],
-    srcs: [],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/congestion_controller/goog_cc/probe_controller.cc",
+    ],
     host_supported: true,
     static_libs: [
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_agc2__cpu_features",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_logging__rtc_event_bwe",
+        "webrtc_logging__rtc_event_pacing",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_agc2__cpu_features",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
     arch: {
-        x86_64: {
-            srcs: [
-                ":webrtc_types__bad_optional_access",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                ":webrtc_base__spinlock_wait",
-                "modules/audio_processing/agc2/rnn_vad/vector_math_avx2.cc",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
-            ],
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
         },
         x86: {
-            srcs: [
-                ":webrtc_types__bad_optional_access",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                ":webrtc_base__spinlock_wait",
-                "modules/audio_processing/agc2/rnn_vad/vector_math_avx2.cc",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
             ],
         },
     },
@@ -39190,243 +19301,86 @@
     name: "webrtc_logging__rtc_event_pacing",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "logging/rtc_event_log/events/rtc_event_alr_state.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "logging/rtc_event_log/events/rtc_event_alr_state.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_synchronization__yield",
         "webrtc_logging__rtc_event_field",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
-//modules/congestion_controller/goog_cc:probe_controller
+//modules/audio_processing/agc2/rnn_vad:vector_math_avx2
 */
 cc_library_static {
-    name: "webrtc_goog_cc__probe_controller",
+    name: "webrtc_rnn_vad__vector_math_avx2",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/congestion_controller/goog_cc/probe_controller.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/rnn_vad/vector_math_avx2.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
     cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
+        "-mavx2",
+        "-mfma",
     ],
     static_libs: [
-        "webrtc_logging__rtc_event_bwe",
-        "webrtc_units__timestamp",
-        "webrtc_logging__rtc_event_pacing",
-        "webrtc_units__time_delta",
-        "webrtc_units__data_size",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_transport__network_control",
+        "webrtc_agc2__cpu_features",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+            enabled: false,
+        },
+        arm64: {
+            enabled: false,
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -39436,209 +19390,133 @@
     name: "webrtc_video_capture__video_capture_module",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "modules/video_capture/video_capture_factory.cc",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        "modules/video_capture/video_capture_impl.cc",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "modules/video_capture/device_info_impl.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_capture/device_info_impl.cc",
+        "modules/video_capture/video_capture_factory.cc",
+        "modules/video_capture/video_capture_impl.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_common_video__common_video",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -39649,111 +19527,35 @@
     name: "webrtc_rtc_base__rtc_task_queue",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "rtc_base/task_queue.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/task_queue.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_task_queue__task_queue",
         "webrtc_rtc_base__checks",
+        "webrtc_task_queue__task_queue",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -39765,121 +19567,42 @@
 }
 
 /* From target:
-//rtc_base:logging
+//modules/video_coding/timing:frame_delay_variation_kalman_filter
 */
 cc_library_static {
-    name: "webrtc_rtc_base__logging",
+    name: "webrtc_timing__frame_delay_variation_kalman_filter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/logging.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/video_coding/timing/frame_delay_variation_kalman_filter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rtc_base__timeutils",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -39895,6 +19618,48 @@
 }
 
 /* From target:
+//rtc_base:logging
+*/
+cc_library_static {
+    name: "webrtc_rtc_base__logging",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/logging.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
 //modules/audio_processing:aec_dump_interface
 */
 filegroup {
@@ -39911,132 +19676,52 @@
 }
 
 /* From target:
-//third_party/abseil-cpp/absl/strings:cordz_functions
-*/
-filegroup {
-    name: "webrtc_strings__cordz_functions",
-    srcs: ["third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc"],
-}
-
-/* From target:
 //modules/congestion_controller/goog_cc:pushback_controller
 */
 cc_library_static {
     name: "webrtc_goog_cc__pushback_controller",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        "modules/congestion_controller/goog_cc/congestion_window_pushback_controller.cc",
-        ":webrtc_base__base",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/congestion_controller/goog_cc/congestion_window_pushback_controller.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__data_size",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__rate_control_settings",
-        "webrtc_transport__network_control",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_size",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -40046,225 +19731,34 @@
     name: "webrtc_rtc_base__rtc_numerics",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "rtc_base/numerics/moving_average.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "rtc_base/numerics/event_based_exponential_moving_average.cc",
         "rtc_base/numerics/exp_filter.cc",
+        "rtc_base/numerics/moving_average.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
-}
-
-/* From target:
-//modules/video_coding/timing:frame_delay_variation_kalman_filter
-*/
-cc_library_static {
-    name: "webrtc_timing__frame_delay_variation_kalman_filter",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        "modules/video_coding/timing/frame_delay_variation_kalman_filter.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_units__data_size",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__checks",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -40276,6 +19770,14 @@
 }
 
 /* From target:
+//third_party/abseil-cpp/absl/strings:cordz_functions
+*/
+filegroup {
+    name: "webrtc_strings__cordz_functions",
+    srcs: ["third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc"],
+}
+
+/* From target:
 //pc:jsep_transport_collection
 */
 filegroup {
@@ -40292,381 +19794,364 @@
 }
 
 /* From target:
-//system_wrappers:field_trial
-*/
-cc_library_static {
-    name: "webrtc_system_wrappers__field_trial",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "system_wrappers/source/field_trial.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-    ],
-}
-
-/* From target:
 //pc:rtp_transceiver
 */
 cc_library_static {
     name: "webrtc_pc__rtp_transceiver",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_pc__rtp_transport",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_pc__ice_transport",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_pc__external_hmac",
-        ":webrtc_pc__transport_stats",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_pc__srtp_session",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_pc__sctp_utils",
-        ":webrtc_public__factory",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_pc__jsep_transport_controller",
-        ":webrtc_pc__session_description",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_pc__dtls_srtp_transport",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_public__socket",
-        ":webrtc_pc__sctp_transport",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_pc__simulcast_description",
-        ":webrtc_pc__jsep_transport",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_pc__srtp_transport",
-        ":webrtc_pc__jsep_transport_collection",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_pc__srtp_filter",
-        ":webrtc_public__utils",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_crc32c__crc32c",
-        ":webrtc_pc__rtp_media_utils",
-        ":webrtc_pc__dtls_transport",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_pc__channel",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__channel",
+        ":webrtc_pc__dtls_srtp_transport",
+        ":webrtc_pc__dtls_transport",
+        ":webrtc_pc__external_hmac",
+        ":webrtc_pc__ice_transport",
+        ":webrtc_pc__jsep_transport",
+        ":webrtc_pc__jsep_transport_collection",
+        ":webrtc_pc__jsep_transport_controller",
         ":webrtc_pc__rtcp_mux_filter",
+        ":webrtc_pc__rtp_media_utils",
+        ":webrtc_pc__rtp_transport",
+        ":webrtc_pc__sctp_transport",
+        ":webrtc_pc__sctp_utils",
+        ":webrtc_pc__session_description",
+        ":webrtc_pc__simulcast_description",
+        ":webrtc_pc__srtp_filter",
+        ":webrtc_pc__srtp_session",
+        ":webrtc_pc__srtp_transport",
+        ":webrtc_pc__transport_stats",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__factory",
+        ":webrtc_public__socket",
+        ":webrtc_public__utils",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
         "pc/rtp_transceiver.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_pc__peer_connection_message_handler",
-        "webrtc_api__media_stream_interface",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_pc__proxy",
-        "webrtc_api__audio_options_api",
-        "webrtc_rtc_base__checks",
-        "webrtc_call__video_stream_api",
-        "webrtc_synchronization__yield",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_pc__rtp_parameters_conversion",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_units__timestamp",
-        "webrtc_base64__base64",
-        "webrtc_api__rtp_parameters",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_video__encoded_frame",
-        "webrtc_packet__chunk",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_pc__rtp_sender",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_call__rtp_receiver",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_pc__sctp_data_channel",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__ice_transport_factory",
-        "webrtc_packet__sctp_packet",
-        "webrtc_pc__media_protocol_names",
+        "webrtc_api__audio_options_api",
         "webrtc_api__candidate",
         "webrtc_api__dtls_transport_interface",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_rtc_base__event_tracer",
+        "webrtc_api__ice_transport_factory",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
         "webrtc_api__rtc_error",
-        "webrtc_video__video_frame",
-        "webrtc_socket__dcsctp_socket",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_sigslot__sigslot",
+        "webrtc_api__rtp_headers",
         "webrtc_api__rtp_packet_info",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_pc__connection_context",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_base64__base64",
         "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_units__data_rate",
-        "webrtc_pc__usage_pattern",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
+        "webrtc_call__video_stream_api",
+        "webrtc_containers__flat_containers_internal",
         "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_pc__rtp_receiver",
-        "webrtc_system__file_wrapper",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
         "webrtc_network__sent_packet",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_packet__chunk",
+        "webrtc_packet__sctp_packet",
+        "webrtc_pc__connection_context",
+        "webrtc_pc__media_protocol_names",
+        "webrtc_pc__peer_connection_message_handler",
+        "webrtc_pc__proxy",
+        "webrtc_pc__rtp_parameters_conversion",
+        "webrtc_pc__rtp_receiver",
+        "webrtc_pc__rtp_sender",
+        "webrtc_pc__sctp_data_channel",
+        "webrtc_pc__usage_pattern",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_socket__dcsctp_socket",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
+}
+
+/* From target:
+//system_wrappers:field_trial
+*/
+cc_library_static {
+    name: "webrtc_system_wrappers__field_trial",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "system_wrappers/source/field_trial.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//call:rtp_receiver
+*/
+cc_library_static {
+    name: "webrtc_call__rtp_receiver",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "call/rtp_demuxer.cc",
+        "call/rtp_stream_receiver_controller.cc",
+        "call/rtx_receive_stream.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -40677,320 +20162,33 @@
     name: "webrtc_timing__timestamp_extrapolator",
     defaults: ["webrtc_defaults"],
     srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/video_coding/timing/timestamp_extrapolator.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
         "webrtc_rtc_base__checks",
-    ],
-}
-
-/* From target:
-//call:rtp_receiver
-*/
-cc_library_static {
-    name: "webrtc_call__rtp_receiver",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        "call/rtx_receive_stream.cc",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        "call/rtp_stream_receiver_controller.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        "call/rtp_demuxer.cc",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
         "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_rtp_rtcp__rtp_rtcp",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
     ],
     arch: {
         arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
         },
     },
 }
@@ -41002,113 +20200,37 @@
     name: "webrtc_rtc_event_log__rtc_event_log",
     defaults: ["webrtc_defaults"],
     srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         ":webrtc_types__bad_optional_access",
         "api/rtc_event_log/rtc_event.cc",
         "api/rtc_event_log/rtc_event_log.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__timeutils",
         "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__checks",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -41118,210 +20240,134 @@
     name: "webrtc_pc__sctp_data_channel",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_pc__sctp_utils",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_cctz__time_zone",
-        "pc/sctp_data_channel.cc",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_pc__sctp_utils",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/sctp_data_channel.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_pc__proxy",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
         "webrtc_pc__data_channel_utils",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_pc__proxy",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -41348,107 +20394,31 @@
     name: "webrtc_containers__flat_containers_internal",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "rtc_base/containers/flat_tree.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/containers/flat_tree.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -41458,358 +20428,149 @@
     name: "webrtc_media__rtc_media_base",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "media/base/media_engine.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "media/base/adapted_video_track_source.cc",
-        "media/base/media_constants.cc",
-        "media/base/rid_description.cc",
-        "media/base/video_common.cc",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        "media/base/stream_params.cc",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "media/base/adapted_video_track_source.cc",
         "media/base/codec.cc",
         "media/base/media_channel.cc",
-        ":webrtc_strings__cordz_handle",
-        "media/base/turn_utils.cc",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        "media/base/video_adapter.cc",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_transport__stun_types",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        "media/base/video_broadcaster.cc",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        "media/base/video_source_base.cc",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
-        ":webrtc_strings__strings",
+        "media/base/media_constants.cc",
+        "media/base/media_engine.cc",
+        "media/base/rid_description.cc",
         "media/base/rtp_utils.cc",
+        "media/base/stream_params.cc",
+        "media/base/turn_utils.cc",
+        "media/base/video_adapter.cc",
+        "media/base/video_broadcaster.cc",
+        "media/base/video_common.cc",
+        "media/base/video_source_base.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_call__call_interfaces",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__audio_options_api",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_config__encoder_config",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
+        "webrtc_api__media_stream_interface",
         "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_async_audio_processing__async_audio_processing",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_processing_statistics",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__video_stream_api",
+        "webrtc_common_video__common_video",
+        "webrtc_config__encoder_config",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_async_audio_processing__async_audio_processing",
-        "webrtc_call__video_stream_api",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_crypto__options",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
         "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_audio_processing__audio_processing_statistics",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
-    },
-}
-
-/* From target:
-//modules/audio_processing/transient:transient_suppressor_impl
-*/
-cc_library_static {
-    name: "webrtc_transient__transient_suppressor_impl",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "modules/audio_processing/transient/wpd_node.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/transient/moving_moments.cc",
-        "modules/audio_processing/transient/transient_detector.cc",
-        "modules/audio_processing/transient/transient_suppressor_impl.cc",
-        "modules/audio_processing/transient/wpd_tree.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__logging",
-        "webrtc_ooura__fft_size_256",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_common_audio__common_audio",
-        "webrtc_transient__voice_probability_delay_unit",
-        "webrtc_common_audio__fir_filter_factory",
-        "webrtc_rtc_base__platform_thread_types",
-    ],
-    arch: {
-        arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
         },
     },
 }
@@ -41821,125 +20582,45 @@
     name: "webrtc_ilbc__audio_decoder_ilbc",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/audio_codecs/ilbc/audio_decoder_ilbc.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/ilbc/audio_decoder_ilbc.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_audio_coding__ilbc",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -41950,127 +20631,104 @@
     name: "webrtc_opus__audio_decoder_opus",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "api/audio_codecs/opus/audio_decoder_opus.cc",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/audio_codecs/opus/audio_decoder_opus.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_audio_coding__webrtc_opus",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+    ],
+    arch: {
+        arm: {
+            cflags: ["-DOPUS_FIXED_POINT"],
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: [
+                "-DOPUS_FIXED_POINT",
+                "-mbranch-protection=standard",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//modules/audio_processing/transient:transient_suppressor_impl
+*/
+cc_library_static {
+    name: "webrtc_transient__transient_suppressor_impl",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/transient/moving_moments.cc",
+        "modules/audio_processing/transient/transient_detector.cc",
+        "modules/audio_processing/transient/transient_suppressor_impl.cc",
+        "modules/audio_processing/transient/wpd_node.cc",
+        "modules/audio_processing/transient/wpd_tree.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_common_audio__fir_filter_factory",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_256",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_transient__voice_probability_delay_unit",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -42080,12 +20738,12 @@
 filegroup {
     name: "webrtc_strings__str_format_internal",
     srcs: [
-        "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
         "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
-        "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
-        "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
-        "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
         "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
+        "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
+        "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
+        "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
+        "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
     ],
 }
 
@@ -42096,206 +20754,173 @@
     name: "webrtc_api__ice_transport_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "api/ice_transport_factory.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/ice_transport_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
+}
+
+/* From target:
+//api/test/metrics:global_metrics_logger_and_exporter
+*/
+cc_library_static {
+    name: "webrtc_metrics__global_metrics_logger_and_exporter",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/test/metrics/global_metrics_logger_and_exporter.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_metrics__metric",
+        "webrtc_metrics__metrics_logger",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -42314,119 +20939,43 @@
     name: "webrtc_packet__sctp_packet",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_crc32c__crc32c_arm64",
-        "net/dcsctp/packet/sctp_packet.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
         ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/packet/sctp_packet.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rtc_base__checks",
         "webrtc_packet__crc32c",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -42436,399 +20985,124 @@
     name: "webrtc_agc2__adaptive_digital",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/agc2/adaptive_digital_gain_controller.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc2/adaptive_digital_gain_controller.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_agc2__speech_level_estimator",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__logging",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_audio_processing__api",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_common_audio__common_audio",
-        "webrtc_agc2__saturation_protector",
         "webrtc_agc2__adaptive_digital_gain_applier",
         "webrtc_agc2__noise_level_estimator",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_agc2__saturation_protector",
+        "webrtc_agc2__speech_level_estimator",
+        "webrtc_audio_processing__api",
         "webrtc_audio_processing__apm_logging",
+        "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
 /* From target:
-//api/test/metrics:global_metrics_logger_and_exporter
-*/
-cc_library_static {
-    name: "webrtc_metrics__global_metrics_logger_and_exporter",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "api/test/metrics/global_metrics_logger_and_exporter.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_synchronization__yield",
-        "webrtc_metrics__metric",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_metrics__metrics_logger",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-    ],
-}
-
-/* From target:
 //api:candidate
 */
 cc_library_static {
     name: "webrtc_api__candidate",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
         "api/candidate.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_base",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__socket_address",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -42846,121 +21120,45 @@
     name: "webrtc_call__bitrate_allocator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "call/bitrate_allocator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__logging",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_transport__network_control",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -42970,122 +21168,50 @@
     name: "webrtc_timing__timing_module",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "modules/video_coding/timing/timing.cc",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/video_coding/timing/timing.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_timing__timestamp_extrapolator",
-        "webrtc_timing__codec_timer",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_experiments__field_trial_parser",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_timing__codec_timer",
+        "webrtc_timing__timestamp_extrapolator",
+        "webrtc_units__time_delta",
         "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -43095,107 +21221,235 @@
     name: "webrtc_utility__cascaded_biquad_filter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_strings__internal",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
         "modules/audio_processing/utility/cascaded_biquad_filter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//video:frame_decode_timing
+*/
+cc_library_static {
+    name: "webrtc_video__frame_decode_timing",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "video/frame_decode_timing.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_timing__timing_module",
+        "webrtc_units__time_delta",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//video:video_stream_buffer_controller
+*/
+cc_library_static {
+    name: "webrtc_video__video_stream_buffer_controller",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
+        ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "video/video_stream_buffer_controller.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__rtt_mult_experiment",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_timing__inter_frame_delay",
+        "webrtc_timing__jitter_estimator",
+        "webrtc_timing__timing_module",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__decode_synchronizer",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__frame_buffer",
+        "webrtc_video__frame_decode_timing",
+        "webrtc_video__task_queue_frame_decode_scheduler",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_receive_stream_timeout_tracker",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__frame_helpers",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding",
+    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
 }
 
 /* From target:
@@ -43207,477 +21461,49 @@
 }
 
 /* From target:
-//video:frame_decode_timing
-*/
-cc_library_static {
-    name: "webrtc_video__frame_decode_timing",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        "video/frame_decode_timing.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__logging",
-        "webrtc_timing__timing_module",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-    ],
-}
-
-/* From target:
 //net/dcsctp/socket:packet_sender
 */
 cc_library_static {
     name: "webrtc_socket__packet_sender",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_crc32c__crc32c_sse42",
-        "net/dcsctp/socket/packet_sender.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_public__socket",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
         ":webrtc_crc32c__crc32c",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_timer__timer",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_packet__sctp_packet",
-        "webrtc_task_queue__task_queue",
-    ],
-}
-
-/* From target:
-//video:video_stream_buffer_controller
-*/
-cc_library_static {
-    name: "webrtc_video__video_stream_buffer_controller",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
         ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "video/video_stream_buffer_controller.cc",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_public__socket",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
-        ":webrtc_svc__scalable_video_controller",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/socket/packet_sender.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_video_coding__video_coding",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_units__data_size",
-        "webrtc_video_coding__frame_helpers",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_video__video_receive_stream_timeout_tracker",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_video__frame_decode_timing",
-        "webrtc_timing__timing_module",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
+        "webrtc_packet__sctp_packet",
         "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_timing__inter_frame_delay",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_experiments__rtt_mult_experiment",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_video__frame_buffer",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_agc2__cpu_features",
-        "webrtc_system__file_wrapper",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__decode_synchronizer",
-        "webrtc_timing__jitter_estimator",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_video__task_queue_frame_decode_scheduler",
-        "webrtc_sigslot__sigslot",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+        "webrtc_task_queue__task_queue",
+        "webrtc_timer__timer",
     ],
     arch: {
         arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
         },
     },
 }
@@ -43705,221 +21531,145 @@
     name: "webrtc_video_coding__webrtc_vp8",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        "modules/video_coding/codecs/vp8/libvpx_vp8_encoder.cc",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_transport__stun_types",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "modules/video_coding/codecs/vp8/libvpx_vp8_decoder.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "modules/video_coding/codecs/vp8/libvpx_vp8_decoder.cc",
+        "modules/video_coding/codecs/vp8/libvpx_vp8_encoder.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_experiments__field_trial_parser",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_video_coding__webrtc_libvpx_interface",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_experiments__cpu_speed_experiment",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
         "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_common_video__common_video",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__cpu_speed_experiment",
+        "webrtc_experiments__encoder_info_settings",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_video_codecs__vp8_temporal_layers_factory",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_experiments__rate_control_settings",
+        "webrtc_rtc_base__event_tracer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__webrtc_vp8_temporal_layers",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_experiments__encoder_info_settings",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_codecs__vp8_temporal_layers_factory",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding_utility",
+        "webrtc_video_coding__webrtc_libvpx_interface",
+        "webrtc_video_coding__webrtc_vp8_temporal_layers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -43930,117 +21680,41 @@
     name: "webrtc_rtc_base__event_tracer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/event_tracer.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/event_tracer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -44050,107 +21724,31 @@
     name: "webrtc_utility__pffft_wrapper",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_base__throw_delegate",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
         "modules/audio_processing/utility/pffft_wrapper.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -44161,95 +21759,19 @@
     defaults: ["webrtc_defaults"],
     srcs: ["modules/audio_coding/codecs/pcm16b/pcm16b.c"],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -44259,122 +21781,50 @@
     name: "webrtc_video__video_frame",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/video/i444_buffer.cc",
-        "api/video/video_frame.cc",
-        ":webrtc_types__bad_optional_access",
-        "api/video/video_frame_buffer.cc",
-        "api/video/i422_buffer.cc",
-        "api/video/nv12_buffer.cc",
-        "api/video/video_source_interface.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "api/video/i420_buffer.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/video/i420_buffer.cc",
+        "api/video/i422_buffer.cc",
+        "api/video/i444_buffer.cc",
+        "api/video/nv12_buffer.cc",
+        "api/video/video_frame.cc",
+        "api/video/video_frame_buffer.cc",
+        "api/video/video_source_interface.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_api__rtp_packet_info",
         "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__yield",
         "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -44384,170 +21834,94 @@
     name: "webrtc_socket__dcsctp_socket",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
+        ":webrtc_api__field_trials_registry",
         ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
         ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_public__socket",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        "net/dcsctp/socket/state_cookie.cc",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
+        ":webrtc_base__malloc_internal",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
         ":webrtc_crc32c__crc32c",
         ":webrtc_crc32c__crc32c_arm64",
-        "net/dcsctp/socket/dcsctp_socket.cc",
-        ":webrtc_strings__str_format_internal",
-        "net/dcsctp/socket/callback_deferrer.cc",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__socket",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "net/dcsctp/socket/callback_deferrer.cc",
+        "net/dcsctp/socket/dcsctp_socket.cc",
+        "net/dcsctp/socket/state_cookie.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_tx__retransmission_queue",
-        "webrtc_socket__transmission_control_block",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_timer__timer",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_tx__retransmission_error_counter",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_socket__heartbeat_handler",
-        "webrtc_packet__tlv_trait",
-        "webrtc_packet__sctp_packet",
-        "webrtc_task_queue__task_queue",
-        "webrtc_socket__stream_reset_handler",
-        "webrtc_socket__packet_sender",
-        "webrtc_rtc_base__checks",
         "webrtc_packet__chunk",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_rx__reassembly_queue",
-        "webrtc_rx__data_tracker",
-        "webrtc_synchronization__yield",
         "webrtc_packet__chunk_validators",
         "webrtc_packet__error_cause",
-        "webrtc_tx__rr_send_queue",
-        "webrtc_tx__retransmission_timeout",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_packet__parameter",
+        "webrtc_packet__sctp_packet",
+        "webrtc_packet__tlv_trait",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rx__data_tracker",
+        "webrtc_rx__reassembly_queue",
+        "webrtc_socket__heartbeat_handler",
+        "webrtc_socket__packet_sender",
+        "webrtc_socket__stream_reset_handler",
+        "webrtc_socket__transmission_control_block",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_task_queue__task_queue",
+        "webrtc_timer__timer",
+        "webrtc_tx__retransmission_error_counter",
+        "webrtc_tx__retransmission_queue",
+        "webrtc_tx__retransmission_timeout",
+        "webrtc_tx__rr_send_queue",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -44568,234 +21942,61 @@
     name: "webrtc_rtc_base__rate_tracker",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "rtc_base/rate_tracker.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__checks",
-    ],
-}
-
-/* From target:
-//modules/audio_processing:high_pass_filter
-*/
-cc_library_static {
-    name: "webrtc_audio_processing__high_pass_filter",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_processing/high_pass_filter.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_utility__cascaded_biquad_filter",
-        "webrtc_audio_processing__audio_buffer",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
     ],
     arch: {
         arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//modules/audio_coding:audio_network_adaptor_config
+*/
+cc_library_static {
+    name: "webrtc_audio_coding__audio_network_adaptor_config",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/audio_network_adaptor/audio_network_adaptor_config.cc",
+    ],
+    host_supported: true,
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
         },
     },
 }
@@ -44807,222 +22008,87 @@
     name: "webrtc_audio_coding__audio_coding_opus_common",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_coding/codecs/opus/audio_coder_opus_common.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_coding/codecs/opus/audio_coder_opus_common.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
-//modules/audio_coding:audio_network_adaptor_config
+//modules/audio_processing:high_pass_filter
 */
 cc_library_static {
-    name: "webrtc_audio_coding__audio_network_adaptor_config",
+    name: "webrtc_audio_processing__high_pass_filter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_coding/audio_network_adaptor/audio_network_adaptor_config.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__base",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/high_pass_filter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
+    static_libs: [
+        "webrtc_audio_processing__audio_buffer",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_utility__cascaded_biquad_filter",
     ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -45031,9 +22097,9 @@
 filegroup {
     name: "webrtc_strings__internal",
     srcs: [
-        "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
         "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
         "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
+        "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
     ],
 }
 
@@ -45044,109 +22110,33 @@
     name: "webrtc_generic_frame_descriptor__generic_frame_descriptor",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtp__dependency_descriptor",
-        "common_video/generic_frame_descriptor/generic_frame_info.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtp__dependency_descriptor",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "common_video/generic_frame_descriptor/generic_frame_info.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -45156,331 +22146,40 @@
     name: "webrtc_rtc_base__audio_format_to_string",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
         ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "rtc_base/strings/audio_format_to_string.cc",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-    ],
-}
-
-/* From target:
-//modules/video_coding:webrtc_vp9_helpers
-*/
-cc_library_static {
-    name: "webrtc_video_coding__webrtc_vp9_helpers",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        "modules/video_coding/codecs/vp9/svc_config.cc",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_types__bad_variant_access",
-        ":webrtc_strings__strings",
-        ":webrtc_svc__scalable_video_controller",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
         "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_common_video__common_video",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_rtc_base__byte_buffer",
         "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
         "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
     arch: {
         arm: {
-            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
         },
     },
 }
@@ -45492,227 +22191,151 @@
     name: "webrtc_adaptation__video_adaptation",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        "video/adaptation/quality_scaler_resource.cc",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "video/adaptation/video_stream_encoder_resource_manager.cc",
-        "video/adaptation/encode_usage_resource.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        "video/adaptation/video_stream_encoder_resource.cc",
-        ":webrtc_strings__cordz_info",
         ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        "video/adaptation/quality_rampup_experiment_helper.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        "video/adaptation/pixel_limit_resource.cc",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "video/adaptation/bandwidth_quality_scaler_resource.cc",
-        "video/adaptation/overuse_frame_detector.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
         ":webrtc_api__field_trials_registry",
-        "video/adaptation/balanced_constraint.cc",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "video/adaptation/balanced_constraint.cc",
+        "video/adaptation/bandwidth_quality_scaler_resource.cc",
         "video/adaptation/bitrate_constraint.cc",
+        "video/adaptation/encode_usage_resource.cc",
+        "video/adaptation/overuse_frame_detector.cc",
+        "video/adaptation/pixel_limit_resource.cc",
+        "video/adaptation/quality_rampup_experiment_helper.cc",
+        "video/adaptation/quality_scaler_resource.cc",
+        "video/adaptation/video_stream_encoder_resource.cc",
+        "video/adaptation/video_stream_encoder_resource_manager.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_experiments__field_trial_parser",
+        "webrtc_adaptation__resource_adaptation",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_config__encoder_config",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__balanced_degradation_settings",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__quality_rampup_experiment",
+        "webrtc_experiments__quality_scaler_settings",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
         "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
         "webrtc_task_utils__repeating_task",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_experiments__quality_rampup_experiment",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
         "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_config__encoder_config",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_adaptation__resource_adaptation",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_experiments__quality_scaler_settings",
-        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
         "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
         "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_experiments__balanced_degradation_settings",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -45723,118 +22346,181 @@
     name: "webrtc_g722__audio_decoder_g722",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "api/audio_codecs/g722/audio_decoder_g722.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/g722/audio_decoder_g722.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_audio_coding__g722",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
+        "webrtc_audio_coding__g722",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//modules/video_coding:webrtc_vp9_helpers
+*/
+cc_library_static {
+    name: "webrtc_video_coding__webrtc_vp9_helpers",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rnn_vad__rnn_vad_layers",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
+        ":webrtc_svc__scalable_video_controller",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/video_coding/codecs/vp9/svc_config.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_common_video__common_video",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+    ],
+    arch: {
+        arm: {
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+    },
 }
 
 /* From target:
@@ -45843,53 +22529,41 @@
 cc_library_static {
     name: "webrtc_common_audio__common_audio_neon_c",
     defaults: ["webrtc_defaults"],
-    srcs: [],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "common_audio/signal_processing/cross_correlation_neon.c",
+        "common_audio/signal_processing/downsample_fast_neon.c",
+        "common_audio/signal_processing/min_max_operations_neon.c",
+    ],
     host_supported: true,
+    cflags: ["-DWEBRTC_HAS_NEON"],
     static_libs: [
+        "webrtc_common_audio__common_audio_c",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_synchronization__yield",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__checks",
-        "webrtc_common_audio__common_audio_c",
         "webrtc_rtc_base__platform_thread_types",
         "webrtc_synchronization__yield",
     ],
     arch: {
-        arm64: {
-            srcs: [
-                ":webrtc_types__bad_optional_access",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                "common_audio/signal_processing/min_max_operations_neon.c",
-                "common_audio/signal_processing/downsample_fast_neon.c",
-                ":webrtc_base__spinlock_wait",
-                "common_audio/signal_processing/cross_correlation_neon.c",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
-            ],
-        },
         arm: {
-            srcs: [
-                ":webrtc_types__bad_optional_access",
-                ":webrtc_common_audio__common_audio_c_arm_asm",
-                ":webrtc_numeric__int128",
-                ":webrtc_base__base",
-                ":webrtc_base__log_severity",
-                ":webrtc_strings__strings",
-                "common_audio/signal_processing/min_max_operations_neon.c",
-                "common_audio/signal_processing/downsample_fast_neon.c",
-                ":webrtc_base__spinlock_wait",
-                "common_audio/signal_processing/cross_correlation_neon.c",
-                ":webrtc_base__raw_logging_internal",
-                ":webrtc_base__throw_delegate",
-                ":webrtc_strings__internal",
-            ],
+            srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            enabled: false,
+        },
+        x86: {
+            enabled: false,
         },
     },
 }
@@ -45901,112 +22575,36 @@
     name: "webrtc_video__video_bitrate_allocator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/video/video_bitrate_allocator.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/video/video_bitrate_allocator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_units__data_rate",
         "webrtc_video__video_bitrate_allocation",
-        "webrtc_rtc_base__checks",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -46016,110 +22614,34 @@
     name: "webrtc_rtc_base__race_checker",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/race_checker.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/race_checker.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -46129,118 +22651,46 @@
     name: "webrtc_experiments__encoder_info_settings",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/experiments/encoder_info_settings.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "rtc_base/experiments/encoder_info_settings.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
         "webrtc_video_codecs__video_codecs_api",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -46250,101 +22700,25 @@
     name: "webrtc_audio_processing__audio_processing_statistics",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/include/audio_processing_statistics.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_base__raw_logging_internal",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/include/audio_processing_statistics.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -46354,118 +22728,46 @@
     name: "webrtc_experiments__balanced_degradation_settings",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "rtc_base/experiments/balanced_degradation_settings.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "rtc_base/experiments/balanced_degradation_settings.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
         "webrtc_video_codecs__video_codecs_api",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -46475,206 +22777,130 @@
     name: "webrtc_call__bitrate_configurator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        "call/rtp_bitrate_configurator.cc",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "call/rtp_bitrate_configurator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_transport__bitrate_settings",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transport__bitrate_settings",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -46685,111 +22911,35 @@
     name: "webrtc_metrics__metric",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "api/test/metrics/metric.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/test/metrics/metric.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
         "webrtc_rtc_base__checks",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -46799,108 +22949,32 @@
     name: "webrtc_utility__legacy_delay_estimator",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/utility/delay_estimator.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/utility/delay_estimator_wrapper.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "modules/audio_processing/utility/delay_estimator.cc",
+        "modules/audio_processing/utility/delay_estimator_wrapper.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -46910,107 +22984,31 @@
     name: "webrtc_audio__aec3_config",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
         "api/audio/echo_canceller3_config.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -47020,115 +23018,39 @@
     name: "webrtc_transport__network_control",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "api/transport/network_types.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/transport/network_types.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_units__data_size",
-        "webrtc_units__time_delta",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_units__data_rate",
-        "webrtc_rtc_base__checks",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -47138,160 +23060,84 @@
     name: "webrtc_logging__ice_log",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "logging/rtc_event_log/ice_logger.cc",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        "logging/rtc_event_log/events/rtc_event_dtls_writable_state.cc",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        "logging/rtc_event_log/events/rtc_event_dtls_transport_state.cc",
-        "logging/rtc_event_log/events/rtc_event_ice_candidate_pair.cc",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        "logging/rtc_event_log/events/rtc_event_ice_candidate_pair_config.cc",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "logging/rtc_event_log/events/rtc_event_dtls_transport_state.cc",
+        "logging/rtc_event_log/events/rtc_event_dtls_writable_state.cc",
+        "logging/rtc_event_log/events/rtc_event_ice_candidate_pair.cc",
+        "logging/rtc_event_log/events/rtc_event_ice_candidate_pair_config.cc",
+        "logging/rtc_event_log/ice_logger.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_rtc_base__threading",
         "webrtc_api__dtls_transport_interface",
-        "webrtc_units__timestamp",
-        "webrtc_logging__rtc_event_field",
-        "webrtc_rtc_base__checks",
         "webrtc_api__rtc_error",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_logging__rtc_event_field",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -47310,95 +23156,19 @@
     defaults: ["webrtc_defaults"],
     srcs: ["rtc_base/third_party/sigslot/sigslot.cc"],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -47408,118 +23178,46 @@
     name: "webrtc_experiments__min_video_bitrate_experiment",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        ":webrtc_base__throw_delegate",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/experiments/min_video_bitrate_experiment.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/experiments/min_video_bitrate_experiment.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
-        "webrtc_experiments__field_trial_parser",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_units__data_rate",
         "webrtc_video__video_frame",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -47529,244 +23227,168 @@
     name: "webrtc_video__video_stream_encoder_impl",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "video/encoder_bitrate_adjuster.cc",
-        "video/alignment_adjuster.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
-        ":webrtc_cctz__time_zone",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        "video/frame_encode_metadata_writer.cc",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        "video/encoder_overshoot_detector.cc",
-        ":webrtc_debugging__symbolize",
-        "video/video_source_sink_controller.cc",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        "video/video_stream_encoder.cc",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "video/alignment_adjuster.cc",
+        "video/encoder_bitrate_adjuster.cc",
+        "video/encoder_overshoot_detector.cc",
+        "video/frame_encode_metadata_writer.cc",
+        "video/video_source_sink_controller.cc",
+        "video/video_stream_encoder.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_api__media_stream_interface",
-        "webrtc_video_coding__video_coding",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_config__encoder_config",
-        "webrtc_common_video__common_video",
-        "webrtc_rtc_base__checks",
         "webrtc_adaptation__resource_adaptation",
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__rate_control_settings",
+        "webrtc_adaptation__video_adaptation",
         "webrtc_agc2__cpu_features",
-        "webrtc_video_coding__video_codec_interface",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
         "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
+        "webrtc_audio_codecs__audio_codecs_api",
         "webrtc_audio_device__audio_device_impl",
-        "webrtc_rtc_base__criticalsection",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_common_video__common_video",
+        "webrtc_config__encoder_config",
+        "webrtc_config__streams_config",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__alr_experiment",
+        "webrtc_experiments__balanced_degradation_settings",
+        "webrtc_experiments__encoder_info_settings",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__quality_rampup_experiment",
+        "webrtc_experiments__quality_scaler_settings",
+        "webrtc_experiments__quality_scaling_experiment",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__criticalsection",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__rate_statistics",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
         "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_units__timestamp",
-        "webrtc_api__rtp_parameters",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_experiments__alr_experiment",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video__frame_cadence_adapter",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_api__rtc_error",
-        "webrtc_video__video_frame",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_video_coding__webrtc_vp9_helpers",
-        "webrtc_adaptation__video_adaptation",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_experiments__quality_scaling_experiment",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_experiments__encoder_info_settings",
-        "webrtc_experiments__balanced_degradation_settings",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_sigslot__sigslot",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_rtc_base__threading",
-        "webrtc_rtc_base__rate_statistics",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_experiments__quality_rampup_experiment",
+        "webrtc_task_utils__repeating_task",
         "webrtc_units__data_rate",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_experiments__quality_scaler_settings",
-        "webrtc_config__streams_config",
-        "webrtc_system__file_wrapper",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__frame_cadence_adapter",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding",
         "webrtc_video_coding__video_coding_utility",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_coding__webrtc_vp9_helpers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -47777,251 +23399,49 @@
     name: "webrtc_packet__parameter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "net/dcsctp/packet/parameter/ssn_tsn_reset_request_parameter.cc",
-        ":webrtc_base__spinlock_wait",
-        "net/dcsctp/packet/parameter/forward_tsn_supported_parameter.cc",
-        ":webrtc_strings__internal",
-        "net/dcsctp/packet/parameter/outgoing_ssn_reset_request_parameter.cc",
-        "net/dcsctp/packet/parameter/add_incoming_streams_request_parameter.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/packet/parameter/add_incoming_streams_request_parameter.cc",
+        "net/dcsctp/packet/parameter/add_outgoing_streams_request_parameter.cc",
+        "net/dcsctp/packet/parameter/forward_tsn_supported_parameter.cc",
+        "net/dcsctp/packet/parameter/heartbeat_info_parameter.cc",
+        "net/dcsctp/packet/parameter/incoming_ssn_reset_request_parameter.cc",
+        "net/dcsctp/packet/parameter/outgoing_ssn_reset_request_parameter.cc",
         "net/dcsctp/packet/parameter/parameter.cc",
         "net/dcsctp/packet/parameter/reconfiguration_response_parameter.cc",
-        ":webrtc_base__throw_delegate",
-        "net/dcsctp/packet/parameter/supported_extensions_parameter.cc",
-        ":webrtc_base__raw_logging_internal",
+        "net/dcsctp/packet/parameter/ssn_tsn_reset_request_parameter.cc",
         "net/dcsctp/packet/parameter/state_cookie_parameter.cc",
-        "net/dcsctp/packet/parameter/add_outgoing_streams_request_parameter.cc",
-        ":webrtc_strings__strings",
-        "net/dcsctp/packet/parameter/incoming_ssn_reset_request_parameter.cc",
-        "net/dcsctp/packet/parameter/heartbeat_info_parameter.cc",
+        "net/dcsctp/packet/parameter/supported_extensions_parameter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
         "webrtc_packet__tlv_trait",
-    ],
-}
-
-/* From target:
-//system_wrappers:system_wrappers
-*/
-cc_library_static {
-    name: "webrtc_system_wrappers__system_wrappers",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        "system_wrappers/source/cpu_info.cc",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "system_wrappers/source/cpu_features.cc",
-        "system_wrappers/source/clock.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "system_wrappers/source/rtp_to_ntp_estimator.cc",
-        "system_wrappers/source/sleep.cc",
-        "system_wrappers/source/cpu_features_linux.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_units__timestamp",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -48031,112 +23451,86 @@
     name: "webrtc_rtc_base__stringutils",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/strings/string_builder.cc",
-        "rtc_base/string_utils.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/strings/string_format.cc",
-        "rtc_base/string_to_number.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "rtc_base/string_encode.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/string_encode.cc",
+        "rtc_base/string_to_number.cc",
+        "rtc_base/string_utils.cc",
+        "rtc_base/strings/string_builder.cc",
+        "rtc_base/strings/string_format.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//system_wrappers:system_wrappers
+*/
+cc_library_static {
+    name: "webrtc_system_wrappers__system_wrappers",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "system_wrappers/source/clock.cc",
+        "system_wrappers/source/cpu_features.cc",
+        "system_wrappers/source/cpu_features_linux.cc",
+        "system_wrappers/source/cpu_info.cc",
+        "system_wrappers/source/rtp_to_ntp_estimator.cc",
+        "system_wrappers/source/sleep.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_units__timestamp",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -48146,8 +23540,8 @@
     name: "webrtc_video_capture__video_capture_internal_impl",
     srcs: [
         "modules/video_capture/linux/device_info_linux.cc",
-        "modules/video_capture/linux/video_capture_linux.cc",
         "modules/video_capture/linux/device_info_v4l2.cc",
+        "modules/video_capture/linux/video_capture_linux.cc",
         "modules/video_capture/linux/video_capture_v4l2.cc",
     ],
 }
@@ -48159,113 +23553,37 @@
     name: "webrtc_tx__retransmission_error_counter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "net/dcsctp/tx/retransmission_error_counter.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/tx/retransmission_error_counter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rtc_base__checks",
         "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -48283,107 +23601,31 @@
     name: "webrtc_transient__voice_probability_delay_unit",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
-        "modules/audio_processing/transient/voice_probability_delay_unit.cc",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "modules/audio_processing/transient/voice_probability_delay_unit.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -48393,117 +23635,41 @@
     name: "webrtc_rx__traditional_reassembly_streams",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "net/dcsctp/rx/traditional_reassembly_streams.cc",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_public__socket",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/rx/traditional_reassembly_streams.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
         "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -48513,112 +23679,36 @@
     name: "webrtc_units__frequency",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "api/units/frequency.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/units/frequency.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__stringutils",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__checks",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -48628,113 +23718,37 @@
     name: "webrtc_packet__tlv_trait",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "net/dcsctp/packet/tlv_trait.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rtc_base__checks",
         "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -48744,137 +23758,61 @@
     name: "webrtc_rtc_base__threading",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/physical_socket_server.cc",
-        ":webrtc_base__throw_delegate",
-        "rtc_base/async_resolver.cc",
-        "rtc_base/thread.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/network_monitor_factory.cc",
-        "rtc_base/network_monitor.cc",
-        "rtc_base/internal/default_socket_server.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/async_resolver.cc",
+        "rtc_base/internal/default_socket_server.cc",
+        "rtc_base/network_monitor.cc",
+        "rtc_base/network_monitor_factory.cc",
+        "rtc_base/physical_socket_server.cc",
+        "rtc_base/thread.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__checks",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_rtc_base__null_socket_server",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__criticalsection",
-        "webrtc_sigslot__sigslot",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__null_socket_server",
+        "webrtc_rtc_base__platform_thread",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -48883,8 +23821,8 @@
 filegroup {
     name: "webrtc_crc32c__crc32c",
     srcs: [
-        "third_party/crc32c/src/src/crc32c_portable.cc",
         "third_party/crc32c/src/src/crc32c.cc",
+        "third_party/crc32c/src/src/crc32c_portable.cc",
     ],
 }
 
@@ -48895,119 +23833,43 @@
     name: "webrtc_logging__rtc_event_video",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "logging/rtc_event_log/events/rtc_event_video_receive_stream_config.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        "logging/rtc_event_log/events/rtc_event_video_send_stream_config.cc",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "logging/rtc_event_log/events/rtc_event_video_receive_stream_config.cc",
+        "logging/rtc_event_log/events/rtc_event_video_send_stream_config.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
-        "webrtc_logging__rtc_stream_config",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_synchronization__yield",
         "webrtc_logging__rtc_event_field",
+        "webrtc_logging__rtc_stream_config",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -49017,113 +23879,37 @@
     name: "webrtc_rtc_base__rate_statistics",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/rate_statistics.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/rate_statistics.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rtc_base__checks",
         "webrtc_synchronization__yield",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -49141,107 +23927,31 @@
     name: "webrtc_memory__aligned_malloc",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "rtc_base/memory/aligned_malloc.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/memory/aligned_malloc.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -49250,8 +23960,8 @@
 filegroup {
     name: "webrtc_container__hashtablez_sampler",
     srcs: [
-        "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
         "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
+        "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
     ],
 }
 
@@ -49262,163 +23972,91 @@
     name: "webrtc_goog_cc__estimators",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "modules/congestion_controller/goog_cc/bitrate_estimator.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        "modules/congestion_controller/goog_cc/acknowledged_bitrate_estimator.cc",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
+        ":webrtc_api__field_trials_registry",
         ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
         ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
         ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_rtp__dependency_descriptor",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/congestion_controller/goog_cc/acknowledged_bitrate_estimator.cc",
+        "modules/congestion_controller/goog_cc/acknowledged_bitrate_estimator_interface.cc",
+        "modules/congestion_controller/goog_cc/bitrate_estimator.cc",
+        "modules/congestion_controller/goog_cc/probe_bitrate_estimator.cc",
         "modules/congestion_controller/goog_cc/robust_throughput_estimator.cc",
         "modules/congestion_controller/goog_cc/trendline_estimator.cc",
-        ":webrtc_strings__cordz_functions",
-        "modules/congestion_controller/goog_cc/acknowledged_bitrate_estimator_interface.cc",
-        ":webrtc_hash__city",
-        ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        "modules/congestion_controller/goog_cc/probe_bitrate_estimator.cc",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_types__bad_variant_access",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0"],
     static_libs: [
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_containers__flat_containers_internal",
         "webrtc_experiments__field_trial_parser",
         "webrtc_logging__rtc_event_bwe",
-        "webrtc_units__timestamp",
-        "webrtc_units__data_size",
-        "webrtc_units__data_rate",
-        "webrtc_rtc_base__checks",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_numerics",
         "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_transport__network_control",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_transport__network_control",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -49428,114 +24066,38 @@
     name: "webrtc_units__data_rate",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
-        "api/units/data_rate.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/units/data_rate.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__time_delta",
-        "webrtc_units__data_size",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_units__data_size",
         "webrtc_units__frequency",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -49545,143 +24107,69 @@
     name: "webrtc_common_audio__common_audio",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "common_audio/vad/vad.cc",
-        "common_audio/smoothing_filter.cc",
-        ":webrtc_types__bad_optional_access",
-        "common_audio/resampler/push_resampler.cc",
-        "common_audio/window_generator.cc",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_strings__internal",
-        "common_audio/real_fourier.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "common_audio/resampler/resampler.cc",
-        "common_audio/audio_converter.cc",
         ":webrtc_base__log_severity",
-        "common_audio/resampler/push_sinc_resampler.cc",
-        "common_audio/audio_util.cc",
-        "common_audio/wav_file.cc",
-        "common_audio/resampler/sinc_resampler.cc",
-        "common_audio/real_fourier_ooura.cc",
-        "common_audio/channel_buffer.cc",
-        ":webrtc_base__throw_delegate",
         ":webrtc_base__raw_logging_internal",
-        "common_audio/wav_header.cc",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "common_audio/audio_converter.cc",
+        "common_audio/audio_util.cc",
+        "common_audio/channel_buffer.cc",
+        "common_audio/real_fourier.cc",
+        "common_audio/real_fourier_ooura.cc",
+        "common_audio/resampler/push_resampler.cc",
+        "common_audio/resampler/push_sinc_resampler.cc",
+        "common_audio/resampler/resampler.cc",
+        "common_audio/resampler/sinc_resampler.cc",
+        "common_audio/smoothing_filter.cc",
+        "common_audio/vad/vad.cc",
+        "common_audio/wav_file.cc",
+        "common_audio/wav_header.cc",
+        "common_audio/window_generator.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system__file_wrapper",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_ooura__fft_size_256",
-        "webrtc_rtc_base__logging",
-        "webrtc_memory__aligned_malloc",
         "webrtc_common_audio__common_audio_c",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_256",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__timeutils",
-        "webrtc_common_audio__common_audio_sse2",
-        "webrtc_common_audio__common_audio_avx2",
-        "webrtc_common_audio__common_audio_sse2",
-        "webrtc_common_audio__common_audio_avx2",
-        "webrtc_common_audio__common_audio_neon",
-        "webrtc_common_audio__common_audio_neon",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
+            static_libs: ["webrtc_common_audio__common_audio_neon"],
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+            static_libs: ["webrtc_common_audio__common_audio_neon"],
+        },
+        x86_64: {
+            static_libs: [
+                "webrtc_common_audio__common_audio_avx2",
+                "webrtc_common_audio__common_audio_sse2",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: [
+                "webrtc_common_audio__common_audio_avx2",
+                "webrtc_common_audio__common_audio_sse2",
+            ],
+        },
     },
 }
 
@@ -49692,120 +24180,44 @@
     name: "webrtc_logging__rtc_event_field",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "logging/rtc_event_log/events/rtc_event_field_encoding.cc",
-        ":webrtc_types__bad_optional_access",
-        "logging/rtc_event_log/events/fixed_length_encoding_parameters_v3.cc",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
+        ":webrtc_strings__internal",
         ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "logging/rtc_event_log/events/fixed_length_encoding_parameters_v3.cc",
+        "logging/rtc_event_log/events/rtc_event_field_encoding.cc",
         "logging/rtc_event_log/events/rtc_event_field_encoding_parser.cc",
         "logging/rtc_event_log/events/rtc_event_field_extraction.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__timestamp",
+        "webrtc_logging__rtc_event_number_encodings",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_event_log__rtc_event_log",
         "webrtc_synchronization__yield",
-        "webrtc_rtc_base__checks",
-        "webrtc_logging__rtc_event_number_encodings",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -49815,118 +24227,42 @@
     name: "webrtc_g711__audio_decoder_g711",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "api/audio_codecs/g711/audio_decoder_g711.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/audio_codecs/g711/audio_decoder_g711.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_audio_coding__g711",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -49944,205 +24280,129 @@
     name: "webrtc_pc__usage_pattern",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        "pc/usage_pattern.cc",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/usage_pattern.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -50153,110 +24413,34 @@
     name: "webrtc_rtc_base__byte_buffer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "rtc_base/byte_buffer.cc",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        "rtc_base/byte_buffer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__zero_memory",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__zero_memory",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -50266,225 +24450,32 @@
     name: "webrtc_rtc_base__histogram_percentile_counter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "rtc_base/numerics/histogram_percentile_counter.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
-}
-
-/* From target:
-//rtc_base/synchronization:sequence_checker_internal
-*/
-cc_library_static {
-    name: "webrtc_synchronization__sequence_checker_internal",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "rtc_base/synchronization/sequence_checker_internal.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_task_queue__task_queue",
-    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -50494,111 +24485,76 @@
     name: "webrtc_units__time_delta",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        "api/units/time_delta.cc",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "api/units/time_delta.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__stringutils",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
+}
+
+/* From target:
+//rtc_base/synchronization:sequence_checker_internal
+*/
+cc_library_static {
+    name: "webrtc_synchronization__sequence_checker_internal",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/synchronization/sequence_checker_internal.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+        "webrtc_task_queue__task_queue",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -50608,136 +24564,58 @@
     name: "webrtc_audio_processing__gain_controller2",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rnn_vad__rnn_vad_layers",
-        ":webrtc_numeric__int128",
+        ":webrtc_audio_processing__aec_dump_interface",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/audio_processing/gain_controller2.cc",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/gain_controller2.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_agc2__input_volume_controller",
         "webrtc_agc2__adaptive_digital",
-        "webrtc_agc2__gain_applier",
-        "webrtc_agc2__fixed_digital",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_audio_processing__audio_buffer",
-        "webrtc_audio_processing__api",
-        "webrtc_common_audio__common_audio",
-        "webrtc_agc2__vad_wrapper",
-        "webrtc_rtc_base__checks",
-        "webrtc_synchronization__yield",
-        "webrtc_audio_processing__apm_logging",
         "webrtc_agc2__cpu_features",
+        "webrtc_agc2__fixed_digital",
+        "webrtc_agc2__gain_applier",
+        "webrtc_agc2__input_volume_controller",
+        "webrtc_agc2__vad_wrapper",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_buffer",
+        "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_rtc_base__checks",
         "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -50748,145 +24626,69 @@
     name: "webrtc_crypto__options",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        "api/crypto/crypto_options.cc",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "api/crypto/crypto_options.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_base",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -50896,119 +24698,43 @@
     name: "webrtc_rx__data_tracker",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "net/dcsctp/rx/data_tracker.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_public__socket",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "net/dcsctp/rx/data_tracker.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_packet__chunk",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_timer__timer",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_packet__chunk",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
+        "webrtc_timer__timer",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -51018,121 +24744,41 @@
     name: "webrtc_capture_levels_adjuster__capture_levels_adjuster",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "modules/audio_processing/capture_levels_adjuster/audio_samples_scaler.cc",
-        ":webrtc_strings__strings",
+        ":webrtc_base__raw_logging_internal",
         ":webrtc_base__spinlock_wait",
-        "modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster.cc",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/capture_levels_adjuster/audio_samples_scaler.cc",
+        "modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
         "webrtc_audio_processing__audio_buffer",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -51143,210 +24789,134 @@
     name: "webrtc_pc__rtp_receiver",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        "pc/rtp_receiver.cc",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/rtp_receiver.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_agc2__cpu_features",
+        "webrtc_api__dtls_transport_interface",
         "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_pc__media_stream",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_pc__proxy",
-        "webrtc_rtc_base__threading",
-        "webrtc_api__dtls_transport_interface",
-        "webrtc_units__timestamp",
-        "webrtc_pc__video_track_source",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_pc__media_stream",
+        "webrtc_pc__proxy",
+        "webrtc_pc__video_track_source",
+        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -51357,140 +24927,66 @@
     name: "webrtc_audio_coding__webrtc_opus",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        "modules/audio_coding/codecs/opus/audio_encoder_opus.cc",
-        ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "modules/audio_coding/codecs/opus/audio_decoder_opus.cc",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_rtc_base__bitstream_reader",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_video_codecs__scalability_mode",
+        "modules/audio_coding/codecs/opus/audio_decoder_opus.cc",
+        "modules/audio_coding/codecs/opus/audio_encoder_opus.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
     cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
         "-DWEBRTC_CODEC_ILBC",
-        "-DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-ffp-contract=off",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
         "-DWEBRTC_CODEC_OPUS",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
+        "-DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1",
     ],
     static_libs: [
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_coding__audio_coding_opus_common",
+        "webrtc_audio_coding__audio_network_adaptor",
+        "webrtc_audio_coding__webrtc_opus_wrapper",
+        "webrtc_common_audio__common_audio",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_opus__audio_encoder_opus_config",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_system_wrappers__field_trial",
         "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_opus__audio_encoder_opus_config",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_memory__aligned_malloc",
         "webrtc_units__data_rate",
-        "webrtc_common_audio__common_audio",
-        "webrtc_rtc_base__checks",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_units__time_delta",
-        "webrtc_audio_coding__audio_coding_opus_common",
-        "webrtc_synchronization__yield",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_audio_coding__audio_network_adaptor",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio_coding__webrtc_opus_wrapper",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__platform_thread_types",
     ],
     arch: {
         arm: {
+            cflags: ["-DOPUS_FIXED_POINT"],
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: [
+                "-DOPUS_FIXED_POINT",
+                "-mbranch-protection=standard",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -51501,211 +24997,135 @@
     name: "webrtc_video__builtin_video_bitrate_allocator_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        "api/video/builtin_video_bitrate_allocator_factory.cc",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "api/video/builtin_video_bitrate_allocator_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -51716,118 +25136,42 @@
     name: "webrtc_rtc_base__rtc_task_queue_libevent",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/task_queue_libevent.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/task_queue_libevent.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread",
         "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__timeutils",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
+        "webrtc_units__time_delta",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -51837,126 +25181,103 @@
     name: "webrtc_common_audio__fir_filter_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        "common_audio/fir_filter_c.cc",
-        ":webrtc_strings__strings",
-        "common_audio/fir_filter_factory.cc",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "common_audio/fir_filter_c.cc",
+        "common_audio/fir_filter_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_synchronization__yield",
         "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_common_audio__common_audio_sse2",
-        "webrtc_common_audio__common_audio_avx2",
-        "webrtc_common_audio__common_audio_sse2",
-        "webrtc_common_audio__common_audio_avx2",
-        "webrtc_common_audio__common_audio_neon",
-        "webrtc_common_audio__common_audio_neon",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
     ],
     arch: {
         arm: {
+            static_libs: ["webrtc_common_audio__common_audio_neon"],
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+            static_libs: ["webrtc_common_audio__common_audio_neon"],
+        },
+        x86_64: {
+            static_libs: [
+                "webrtc_common_audio__common_audio_avx2",
+                "webrtc_common_audio__common_audio_sse2",
+            ],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: [
+                "webrtc_common_audio__common_audio_avx2",
+                "webrtc_common_audio__common_audio_sse2",
+            ],
+        },
+    },
+}
+
+/* From target:
+//modules/video_coding:nack_requester
+*/
+cc_library_static {
+    name: "webrtc_video_coding__nack_requester",
+    defaults: ["webrtc_defaults"],
+    srcs: [
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/video_coding/histogram.cc",
+        "modules/video_coding/nack_requester.cc",
+    ],
+    host_supported: true,
+    static_libs: [
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+    ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -51967,242 +25288,39 @@
     name: "webrtc_rtc_base__null_socket_server",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
-        "rtc_base/null_socket_server.cc",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/null_socket_server.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_units__time_delta",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_event",
         "webrtc_rtc_base__socket",
         "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-    ],
-}
-
-/* From target:
-//modules/video_coding:nack_requester
-*/
-cc_library_static {
-    name: "webrtc_video_coding__nack_requester",
-    defaults: ["webrtc_defaults"],
-    srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
-        ":webrtc_base__base",
-        "modules/video_coding/histogram.cc",
-        ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "modules/video_coding/nack_requester.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_strings__internal",
-    ],
-    host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
-    static_libs: [
-        "webrtc_task_utils__repeating_task",
-        "webrtc_units__timestamp",
-        "webrtc_system_wrappers__system_wrappers",
         "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -52212,206 +25330,130 @@
     name: "webrtc_video__frame_buffer",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
         "api/video/frame_buffer.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
         "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
         "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
         "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__video_coding_utility",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -52422,206 +25464,130 @@
     name: "webrtc_pc__data_channel_utils",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        "pc/data_channel_utils.cc",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "pc/data_channel_utils.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
         "webrtc_containers__flat_containers_internal",
         "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
         "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
         "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
         "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
         "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -52632,150 +25598,74 @@
     name: "webrtc_call__simulated_network",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
-        ":webrtc_strings__cordz_handle",
-        "call/simulated_network.cc",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_container__hashtablez_sampler",
-        ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
         ":webrtc_api__field_trials_registry",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
         ":webrtc_container__raw_hash_set",
-        ":webrtc_strings__cord_internal",
-        ":webrtc_strings__strings",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
         ":webrtc_hash__low_level_hash",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_rtc_base__callback_list",
+        ":webrtc_rtc_base__network_constants",
+        ":webrtc_strings__cord",
+        ":webrtc_strings__cord_internal",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
+        ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_types__bad_optional_access",
         ":webrtc_types__bad_variant_access",
+        "call/simulated_network.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__race_checker",
-        "webrtc_units__timestamp",
-        "webrtc_units__data_size",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__random",
-        "webrtc_rtc_base__socket",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_synchronization__yield",
-        "webrtc_units__data_rate",
         "webrtc_containers__flat_containers_internal",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__checks",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
     ],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -52785,217 +25675,141 @@
     name: "webrtc_media__rtc_data_sctp_transport_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_crc32c__crc32c",
+        ":webrtc_crc32c__crc32c_arm64",
+        ":webrtc_crc32c__crc32c_sse42",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
+        ":webrtc_public__factory",
+        ":webrtc_public__socket",
+        ":webrtc_public__utils",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_public__factory",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_crc32c__crc32c_sse42",
-        ":webrtc_public__socket",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_transport__stun_types",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_public__utils",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_crc32c__crc32c",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_crc32c__crc32c_arm64",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        "media/sctp/sctp_transport_factory.cc",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        "media/sctp/sctp_transport_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-DWEBRTC_HAVE_DCSCTP",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
+    cflags: ["-DWEBRTC_HAVE_DCSCTP"],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_packet__sctp_packet",
-        "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_media__rtc_data_dcsctp_transport",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
-        "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_socket__dcsctp_socket",
-        "webrtc_packet__chunk",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
-        "webrtc_video__encoded_image",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
-        "webrtc_video__video_bitrate_allocator",
         "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
         "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_media__rtc_data_dcsctp_transport",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_packet__chunk",
+        "webrtc_packet__sctp_packet",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
         "webrtc_rtc_base__rtc_base",
         "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
         "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_socket__dcsctp_socket",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_units__data_rate",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -53014,108 +25828,32 @@
     name: "webrtc_rtc_base__sample_counter",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        "rtc_base/numerics/sample_counter.cc",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "rtc_base/numerics/sample_counter.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: ["webrtc_rtc_base__checks"],
+    arch: {
+        arm: {
+        },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
+    },
 }
 
 /* From target:
@@ -53125,217 +25863,141 @@
     name: "webrtc_video_codecs__builtin_video_encoder_factory",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
+        ":webrtc_adaptation__resource_adaptation_api",
+        ":webrtc_api__field_trials_registry",
+        ":webrtc_api__wrapping_async_dns_resolver",
+        ":webrtc_audio_processing__aec_dump_interface",
+        ":webrtc_audio_processing__rms_level",
+        ":webrtc_base__base",
+        ":webrtc_base__log_severity",
+        ":webrtc_base__malloc_internal",
+        ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
+        ":webrtc_base__throw_delegate",
+        ":webrtc_cctz__civil_time",
+        ":webrtc_cctz__time_zone",
+        ":webrtc_container__hashtablez_sampler",
+        ":webrtc_container__raw_hash_set",
+        ":webrtc_debugging__debugging_internal",
+        ":webrtc_debugging__demangle_internal",
+        ":webrtc_debugging__stacktrace",
+        ":webrtc_debugging__symbolize",
+        ":webrtc_hash__city",
+        ":webrtc_hash__hash",
+        ":webrtc_hash__low_level_hash",
+        ":webrtc_neteq__neteq_api",
+        ":webrtc_numeric__int128",
+        ":webrtc_profiling__exponential_biased",
         ":webrtc_rnn_vad__rnn_vad_layers",
         ":webrtc_rtc_base__bitstream_reader",
-        ":webrtc_rtc_base__network_constants",
-        ":webrtc_debugging__demangle_internal",
-        ":webrtc_profiling__exponential_biased",
-        ":webrtc_base__malloc_internal",
-        ":webrtc_base__spinlock_wait",
-        ":webrtc_cctz__civil_time",
-        ":webrtc_debugging__debugging_internal",
-        ":webrtc_strings__internal",
-        ":webrtc_video__video_frame_metadata",
-        ":webrtc_strings__cordz_info",
-        ":webrtc_adaptation__resource_adaptation_api",
         ":webrtc_rtc_base__callback_list",
-        ":webrtc_cctz__time_zone",
-        ":webrtc_base__base",
-        ":webrtc_numeric__int128",
-        ":webrtc_time__time",
-        ":webrtc_svc__scalability_structures",
-        ":webrtc_base__log_severity",
-        ":webrtc_debugging__symbolize",
-        ":webrtc_strings__cordz_functions",
-        ":webrtc_hash__city",
+        ":webrtc_rtc_base__network_constants",
         ":webrtc_rtp__dependency_descriptor",
-        ":webrtc_video_coding__webrtc_vp8_scalability",
-        ":webrtc_strings__cordz_handle",
-        ":webrtc_utility__utility",
-        ":webrtc_api__wrapping_async_dns_resolver",
-        ":webrtc_hash__hash",
-        ":webrtc_debugging__stacktrace",
-        "api/video_codecs/builtin_video_encoder_factory.cc",
-        ":webrtc_audio_processing__aec_dump_interface",
-        ":webrtc_synchronization__graphcycles_internal",
-        ":webrtc_transport__stun_types",
-        ":webrtc_container__hashtablez_sampler",
         ":webrtc_strings__cord",
-        ":webrtc_base__raw_logging_internal",
-        ":webrtc_base__throw_delegate",
-        ":webrtc_neteq__neteq_api",
-        ":webrtc_strings__str_format_internal",
-        ":webrtc_synchronization__synchronization",
-        ":webrtc_svc__svc_rate_allocator",
-        ":webrtc_svc__scalability_mode_util",
-        ":webrtc_video_codecs__scalability_mode",
         ":webrtc_strings__cord_internal",
-        ":webrtc_container__raw_hash_set",
-        ":webrtc_api__field_trials_registry",
-        ":webrtc_hash__low_level_hash",
-        ":webrtc_audio_processing__rms_level",
-        ":webrtc_types__bad_variant_access",
+        ":webrtc_strings__cordz_functions",
+        ":webrtc_strings__cordz_handle",
+        ":webrtc_strings__cordz_info",
+        ":webrtc_strings__internal",
+        ":webrtc_strings__str_format_internal",
         ":webrtc_strings__strings",
+        ":webrtc_svc__scalability_mode_util",
+        ":webrtc_svc__scalability_structures",
         ":webrtc_svc__scalable_video_controller",
+        ":webrtc_svc__svc_rate_allocator",
+        ":webrtc_synchronization__graphcycles_internal",
+        ":webrtc_synchronization__synchronization",
+        ":webrtc_time__time",
+        ":webrtc_transport__stun_types",
+        ":webrtc_types__bad_optional_access",
+        ":webrtc_types__bad_variant_access",
+        ":webrtc_utility__utility",
+        ":webrtc_video__video_frame_metadata",
+        ":webrtc_video_codecs__scalability_mode",
+        ":webrtc_video_coding__webrtc_vp8_scalability",
+        "api/video_codecs/builtin_video_encoder_factory.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_api__rtp_packet_info",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
+        "webrtc_agc2__cpu_features",
         "webrtc_api__media_stream_interface",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_rtc_base__socket_address",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_media__rtc_encoder_simulcast_proxy",
+        "webrtc_media__rtc_internal_video_codecs",
+        "webrtc_media__rtc_media_base",
+        "webrtc_memory__aligned_malloc",
         "webrtc_ooura__fft_size_128",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_sigslot__sigslot",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
         "webrtc_task_queue__pending_task_safety_flag",
         "webrtc_task_queue__task_queue",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__timestamp",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_api__rtp_parameters",
         "webrtc_units__data_rate",
-        "webrtc_audio_processing__api",
-        "webrtc_video_coding__webrtc_vp9",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_api__rtp_headers",
-        "webrtc_api__rtc_error",
-        "webrtc_video_coding__webrtc_vp8",
-        "webrtc_rtc_base__checks",
-        "webrtc_video__video_frame",
-        "webrtc_video__encoded_frame",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_media__rtc_encoder_simulcast_proxy",
         "webrtc_units__time_delta",
-        "webrtc_rtc_base__socket",
-        "webrtc_synchronization__yield",
+        "webrtc_units__timestamp",
+        "webrtc_video__encoded_frame",
         "webrtc_video__encoded_image",
-        "webrtc_media__rtc_internal_video_codecs",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_system__file_wrapper",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
         "webrtc_video__video_bitrate_allocator",
-        "webrtc_agc2__cpu_features",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_rtc_base__logging",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_video_coding__webrtc_h264",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_sigslot__sigslot",
-        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_video__video_frame",
         "webrtc_video__video_rtp_headers",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_rnn_vad__vector_math_avx2",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_coding__webrtc_h264",
+        "webrtc_video_coding__webrtc_vp8",
+        "webrtc_video_coding__webrtc_vp9",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86_64: {
+            cflags: ["-DLIBYUV_DISABLE_NEON"],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
+        x86: {
+            cflags: [
+                "-DLIBYUV_DISABLE_NEON",
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+            static_libs: ["webrtc_rnn_vad__vector_math_avx2"],
+        },
     },
 }
 
@@ -53346,123 +26008,43 @@
     name: "webrtc_audio_device__audio_device_generic",
     defaults: ["webrtc_defaults"],
     srcs: [
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
         "modules/audio_device/audio_device_generic.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_rtc_base__stringutils",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_rtc_base__logging",
-        "webrtc_synchronization__yield",
         "webrtc_audio_device__audio_device_buffer",
         "webrtc_containers__flat_containers_internal",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
         "webrtc_task_queue__task_queue",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -53473,130 +26055,50 @@
     name: "webrtc_agc__agc",
     defaults: ["webrtc_defaults"],
     srcs: [
-        "modules/audio_processing/agc/agc_manager_direct.cc",
-        ":webrtc_types__bad_optional_access",
-        ":webrtc_numeric__int128",
         ":webrtc_base__base",
         ":webrtc_base__log_severity",
-        ":webrtc_strings__strings",
-        ":webrtc_base__spinlock_wait",
         ":webrtc_base__raw_logging_internal",
+        ":webrtc_base__spinlock_wait",
         ":webrtc_base__throw_delegate",
+        ":webrtc_numeric__int128",
         ":webrtc_strings__internal",
+        ":webrtc_strings__strings",
+        ":webrtc_types__bad_optional_access",
+        "modules/audio_processing/agc/agc_manager_direct.cc",
     ],
     host_supported: true,
-    asflags: [
-        "-Wa,-fdebug-compilation-dir,.",
-        "-gdwarf-4",
-        "-fstack-protector",
-        "-pthread",
-        "-fcolor-diagnostics",
-        "-fmerge-all-constants",
-        "-fno-ident",
-        "-std=c11",
-        "-fPIC",
-        "-funwind-tables",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-ffp-contract=off",
-    ],
-    cflags: [
-        "-D__STDC_CONSTANT_MACROS",
-        "-Wunreachable-code-aggressive",
-        "-Wctad-maybe-unsupported",
-        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-DCR_SYSROOT_KEY=20221105T211506Z-0",
-        "-D_DEBUG",
-        "-Wno-bitfield-constant-conversion",
-        "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
-        "-Wundef",
-        "-Wno-deprecated-builtins",
-        "-DCR_CLANG_REVISION=\"llvmorg-16-init-10736-ged9638c4-1\"",
-        "-ffp-contract=off",
-        "-Wloop-analysis",
-        "-Wglobal-constructors",
-        "-Wtautological-overlap-compare",
-        "-Wexit-time-destructors",
-        "-Wextra",
-        "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
-        "-fmerge-all-constants",
-        "-Wextra-semi",
-        "-Wno-psabi",
-        "-Wno-builtin-macro-redefined",
-        "-Wheader-hygiene",
-        "-Wc++11-narrowing",
-        "-g2",
-        "--param=ssp-buffer-size=4",
-        "-fno-strict-aliasing",
-        "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
-        "-D__STDC_FORMAT_MACROS",
-        "-DCR_LIBCXX_REVISION=c2e10323cc8190175715ea1bcdb109f59b84447c",
-        "-gdwarf-4",
-        "-D__DATE__=",
-        "-pthread",
-        "-ftrivial-auto-var-init=pattern",
-        "-fcolor-diagnostics",
-        "-no-canonical-prefixes",
-        "-fno-ident",
-        "-D__TIME__=",
-        "-Wshadow",
-        "-Wimplicit-fallthrough",
-        "-fstack-protector",
-        "-fno-omit-frame-pointer",
-        "-Wenum-compare-conditional",
-        "-D__TIMESTAMP__=",
-        "-fvisibility=hidden",
-        "-Wunused-lambda-capture",
-        "-Wthread-safety",
-        "-O0",
-        "-Wno-ignored-pragma-optimize",
-        "-DUSE_OZONE=1",
-        "-fPIC",
-        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
-        "-Wno-shadow",
-        "-funwind-tables",
-        "-Wstring-conversion",
-    ],
-    conlyflags: [
-        "-std=c11",
-        "-Wstrict-prototypes",
-    ],
-    cppflags: [
-        "-fvisibility-inlines-hidden",
-        "-Wno-undefined-bool-conversion",
-        "-fno-exceptions",
-        "-Woverloaded-virtual",
-        "-std=c++20",
-        "-Wno-tautological-undefined-compare",
-        "-gsimple-template-names",
-        "-nostdinc++",
-        "-Wno-trigraphs",
-        "-Wnon-virtual-dtor",
-    ],
     static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_system_wrappers__system_wrappers",
         "webrtc_agc2__clipping_predictor",
-        "webrtc_rtc_base__logging",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_synchronization__yield",
+        "webrtc_agc__level_estimation",
         "webrtc_audio_processing__api",
-        "webrtc_containers__flat_containers_internal",
+        "webrtc_audio_processing__apm_logging",
         "webrtc_audio_processing__audio_buffer",
         "webrtc_common_audio__common_audio",
-        "webrtc_vad__vad",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_memory__aligned_malloc",
         "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__logging",
         "webrtc_rtc_base__platform_thread_types",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_agc__level_estimation",
+        "webrtc_synchronization__yield",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_vad__vad",
     ],
     arch: {
         arm: {
             srcs: [":webrtc_common_audio__common_audio_c_arm_asm"],
         },
+        arm64: {
+            cflags: ["-mbranch-protection=standard"],
+        },
+        x86: {
+            cflags: [
+                "-mfpmath=sse",
+                "-momit-leaf-frame-pointer",
+            ],
+        },
     },
 }
 
@@ -53605,376 +26107,400 @@
     defaults: ["webrtc_defaults"],
     export_include_dirs: ["."],
     whole_static_libs: [
-        "webrtc_socket__transmission_control_block",
-        "webrtc_api__media_stream_interface",
-        "webrtc_rtp__transport_feedback",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_pacing__interval_budget",
-        "webrtc_task_utils__repeating_task",
-        "webrtc_api__audio_options_api",
-        "webrtc_call__call",
-        "webrtc_goog_cc__alr_detector",
-        "webrtc_synchronization__yield",
-        "webrtc_experiments__bandwidth_quality_scaler_settings",
-        "webrtc_packet__error_cause",
-        "webrtc_common_audio__common_audio_sse2",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_timing__jitter_estimator",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_audio_device__audio_device_impl",
-        "webrtc_experiments__normalize_simulcast_size_experiment",
-        "webrtc_opus__audio_encoder_multiopus",
-        "webrtc_call__fake_network",
-        "webrtc_rtp_rtcp__rtp_rtcp_format",
-        "webrtc_audio_coding__ilbc_c",
-        "webrtc_logging__rtc_event_bwe",
-        "webrtc_units__timestamp",
-        "webrtc_video_coding__packet_buffer",
-        "webrtc_agc2__fixed_digital",
-        "webrtc_g711__audio_encoder_g711",
-        "webrtc_audio_coding__g711_c",
-        "webrtc_logging__rtc_event_number_encodings",
-        "webrtc_goog_cc__send_side_bwe",
-        "webrtc_experiments__stable_target_rate_experiment",
-        "webrtc_common_audio__common_audio_avx2",
-        "webrtc_video_coding__webrtc_multiplex",
-        "webrtc_rtc_base__buffer_queue",
-        "webrtc_rtc_base__ip_address",
-        "webrtc_media__rtc_simulcast_encoder_adapter",
-        "webrtc_video__decode_synchronizer",
-        "webrtc_video__frame_cadence_adapter",
-        "webrtc_rnn_vad__rnn_vad_pitch",
-        "webrtc_rx__interleaved_reassembly_streams",
-        "webrtc_video__video_rtp_headers",
-        "webrtc_utility__audio_frame_operations",
-        "webrtc___webrtc",
-        "webrtc_rtp__control_handler",
-        "webrtc_pc__media_protocol_names",
-        "webrtc_api__dtls_transport_interface",
-        "webrtc_audio_coding__webrtc_multiopus",
-        "webrtc_rnn_vad__rnn_vad",
-        "webrtc_audio_codecs__builtin_audio_decoder_factory",
-        "webrtc_metrics__metrics_logger",
-        "webrtc_api__rtc_error",
-        "webrtc_audio__audio",
-        "webrtc_opus__audio_encoder_opus",
-        "webrtc_vad__vad",
-        "webrtc_experiments__quality_scaling_experiment",
-        "webrtc_video_coding__webrtc_vp8_temporal_layers",
-        "webrtc_common_audio__common_audio_neon",
-        "webrtc_audio_coding__isac_vad",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_aec3__aec3",
-        "webrtc_g722__audio_encoder_g722",
-        "webrtc_video_coding__frame_dependencies_calculator",
-        "webrtc_agc__legacy_agc",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_L16__audio_encoder_L16",
-        "webrtc_p2p__rtc_p2p",
-        "webrtc_audio_coding__audio_coding",
-        "webrtc_opus__audio_encoder_opus_config",
-        "webrtc_pc__connection_context",
-        "webrtc_pc__video_rtp_track_source",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_api__field_trials",
-        "webrtc_experiments__quality_rampup_experiment",
-        "webrtc_video__video_frame_i010",
-        "webrtc_video_coding__webrtc_vp9",
-        "webrtc_goog_cc__delay_based_bwe",
-        "webrtc_audio_coding__g722_c",
-        "webrtc_task_queue__default_task_queue_factory",
-        "webrtc_audio_coding__legacy_encoded_audio_frame",
-        "webrtc_rtc_base__socket",
-        "webrtc_experiments__quality_scaler_settings",
-        "webrtc_rtc_base__rate_limiter",
-        "webrtc_rtp_rtcp__rtp_rtcp",
-        "webrtc_video_codecs__rtc_software_fallback_wrappers",
-        "webrtc_config__streams_config",
-        "webrtc_transport__goog_cc",
-        "webrtc_agc2__clipping_predictor",
-        "webrtc_audio_coding__webrtc_opus_wrapper",
-        "webrtc_rtc_base__net_helpers",
-        "webrtc_network__sent_packet",
-        "webrtc_video_coding__chain_diff_calculator",
-        "webrtc_api__create_peerconnection_factory",
-        "webrtc_rnn_vad__rnn_vad_spectral_features",
-        "webrtc_aecm__aecm_core",
-        "webrtc_audio_coding__pcm16b",
-        "webrtc_audio_processing__audio_processing",
-        "webrtc_audio_coding__webrtc_cng",
-        "webrtc_pc__video_rtp_receiver",
-        "webrtc_fft__fft",
-        "webrtc_call__video_stream_api",
-        "webrtc_L16__audio_decoder_L16",
-        "webrtc_system_wrappers__denormal_disabler",
-        "webrtc_rx__reassembly_queue",
-        "webrtc_tx__rr_send_queue",
-        "webrtc_audio_coding__audio_network_adaptor",
-        "webrtc_goog_cc__loss_based_bwe_v1",
-        "webrtc_rtc_base__rtc_base",
-        "webrtc_rtc_base__criticalsection",
-        "webrtc_goog_cc__goog_cc",
-        "webrtc_agc2__input_volume_stats_reporter",
-        "webrtc_video__video_adaptation",
-        "webrtc_rtc_base__random",
-        "webrtc_logging__rtc_event_rtp_rtcp",
-        "webrtc_aec_dump__null_aec_dump_factory",
-        "webrtc_task_queue__pending_task_safety_flag",
-        "webrtc_pc__dtmf_sender",
-        "webrtc_rtp_rtcp__rtp_video_header",
-        "webrtc_opus__audio_decoder_multiopus",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_rtc_base__weak_ptr",
-        "webrtc_base64__base64",
-        "webrtc_video_coding__frame_helpers",
-        "webrtc_video_codecs__builtin_video_decoder_factory",
-        "webrtc_audio_processing__api",
-        "webrtc_rtc_base__copy_on_write_buffer",
-        "webrtc_api__rtp_headers",
-        "webrtc_stats__rtc_stats",
-        "webrtc_goog_cc__loss_based_bwe_v2",
-        "webrtc_tx__stream_scheduler",
-        "webrtc_timing__codec_timer",
-        "webrtc_video_codecs__vp8_temporal_layers_factory",
-        "webrtc_call__version",
-        "webrtc_video__encoded_image",
-        "webrtc_logging__rtc_event_begin_end",
-        "webrtc_api__rtp_sender_interface",
-        "webrtc_transport__field_trial_based_config",
-        "webrtc_video_codecs__video_codecs_api",
-        "webrtc_video_capture__video_capture_module",
-        "webrtc_rtc_base__rtc_task_queue",
-        "webrtc_timing__frame_delay_variation_kalman_filter",
-        "webrtc_goog_cc__pushback_controller",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_pc__rtp_transceiver",
-        "webrtc_call__rtp_receiver",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_media__rtc_media_base",
-        "webrtc_ilbc__audio_decoder_ilbc",
-        "webrtc_opus__audio_decoder_opus",
-        "webrtc_api__ice_transport_factory",
-        "webrtc_metrics__global_metrics_logger_and_exporter",
-        "webrtc_api__candidate",
-        "webrtc_call__bitrate_allocator",
-        "webrtc_video__frame_decode_timing",
-        "webrtc_video__video_stream_buffer_controller",
-        "webrtc_video_coding__webrtc_vp8",
-        "webrtc_utility__pffft_wrapper",
-        "webrtc_audio_coding__pcm16b_c",
-        "webrtc_video__video_frame",
-        "webrtc_socket__dcsctp_socket",
-        "webrtc_audio_coding__audio_network_adaptor_config",
-        "webrtc_audio_coding__audio_coding_opus_common",
-        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
-        "webrtc_rtc_base__audio_format_to_string",
-        "webrtc_adaptation__video_adaptation",
-        "webrtc_g722__audio_decoder_g722",
-        "webrtc_video__video_bitrate_allocator",
-        "webrtc_experiments__encoder_info_settings",
-        "webrtc_audio_processing__audio_processing_statistics",
-        "webrtc_call__bitrate_configurator",
-        "webrtc_metrics__metric",
-        "webrtc_transport__network_control",
-        "webrtc_logging__ice_log",
-        "webrtc_video__video_stream_encoder_impl",
-        "webrtc_packet__parameter",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_units__frequency",
-        "webrtc_logging__rtc_event_video",
-        "webrtc_rtc_base__rate_statistics",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_goog_cc__estimators",
-        "webrtc_logging__rtc_event_field",
-        "webrtc_g711__audio_decoder_g711",
-        "webrtc_rtc_base__byte_buffer",
-        "webrtc_units__time_delta",
-        "webrtc_pc__rtp_receiver",
-        "webrtc_video__builtin_video_bitrate_allocator_factory",
-        "webrtc_video_coding__nack_requester",
-        "webrtc_video__frame_buffer",
-        "webrtc_pc__data_channel_utils",
-        "webrtc_call__simulated_network",
-        "webrtc_media__rtc_data_sctp_transport_factory",
-        "webrtc_rtc_base__sample_counter",
-        "webrtc_video_codecs__builtin_video_encoder_factory",
-        "webrtc_audio_device__audio_device_generic",
-        "webrtc_pc__peer_connection_message_handler",
-        "webrtc_render__incoming_video_stream",
-        "webrtc_pc__media_stream",
-        "webrtc_pc__proxy",
-        "webrtc_units__data_size",
-        "webrtc_transport__bitrate_settings",
-        "webrtc_agc2__gain_applier",
-        "webrtc_rtc_base__timestamp_aligner",
-        "webrtc_media__rtc_data_dcsctp_transport",
-        "webrtc_pc__audio_rtp_receiver",
-        "webrtc_synchronization__yield_policy",
-        "webrtc_spl_sqrt_floor__spl_sqrt_floor",
-        "webrtc_experiments__cpu_speed_experiment",
-        "webrtc_config__encoder_config",
-        "webrtc_media__rtc_sdp_video_format_utils",
-        "webrtc_audio_coding__g722",
-        "webrtc_p2p__libstunprober",
-        "webrtc_rtc_base__bit_buffer",
-        "webrtc_timer__task_queue_timeout",
-        "webrtc_test__fake_video_codecs",
-        "webrtc_rnn_vad__rnn_vad_auto_correlation",
-        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
-        "webrtc_common_audio__common_audio_cc",
-        "webrtc_pc__rtp_parameters_conversion",
-        "webrtc_tx__retransmission_queue",
-        "webrtc_rtc_base__async_resolver_interface",
-        "webrtc_rtc_base__zero_memory",
-        "webrtc_timer__timer",
-        "webrtc_api__libjingle_peerconnection_api",
-        "webrtc_api__transport_api",
-        "webrtc_task_queue__task_queue",
-        "webrtc_media__rtc_audio_video",
-        "webrtc_logging__rtc_stream_config",
-        "webrtc_api__rtp_parameters",
-        "webrtc_video__video_bitrate_allocation",
-        "webrtc_experiments__alr_experiment",
-        "webrtc_packet__crc32c",
-        "webrtc_video__encoded_frame",
-        "webrtc_audio_codecs__builtin_audio_encoder_factory",
-        "webrtc_packet__chunk",
-        "webrtc_pc__transceiver_list",
-        "webrtc_timing__inter_frame_delay",
-        "webrtc_pc__rtp_sender",
-        "webrtc_audio_codecs__audio_codecs_api",
-        "webrtc_video_coding__webrtc_h264",
-        "webrtc_tx__outstanding_data",
-        "webrtc_pc__ice_server_parsing",
-        "webrtc_audio_mixer__audio_frame_manipulator",
-        "webrtc_agc2__input_volume_controller",
-        "webrtc_socket__stream_reset_handler",
-        "webrtc_audio_processing__audio_frame_proxies",
-        "webrtc_logging__rtc_event_audio",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_pc__audio_track",
-        "webrtc_audio_coding__ilbc",
-        "webrtc_agc2__vad_wrapper",
-        "webrtc_aec3__aec3_avx2",
-        "webrtc_pc__rtp_transmission_manager",
-        "webrtc_async_audio_processing__async_audio_processing",
-        "webrtc_pacing__pacing",
-        "webrtc_media__rtc_internal_video_codecs",
-        "webrtc_logging__rtc_event_log_impl_encoder",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_audio_device__audio_device_buffer",
-        "webrtc_agc2__adaptive_digital_gain_applier",
-        "webrtc_pc__jitter_buffer_delay",
-        "webrtc_agc2__saturation_protector",
-        "webrtc_metrics__stdout_metrics_exporter",
-        "webrtc_experiments__keyframe_interval_settings_experiment",
-        "webrtc_agc2__biquad_filter",
-        "webrtc_ns__ns",
-        "webrtc_video__video",
-        "webrtc_audio_coding__g711",
-        "webrtc_agc__level_estimation",
-        "webrtc_call__call_interfaces",
-        "webrtc_video__video_receive_stream_timeout_tracker",
-        "webrtc_metrics__metrics_accumulator",
-        "webrtc_audio_coding__red",
-        "webrtc_av1__av1_svc_config",
-        "webrtc_render__video_render_frames",
-        "webrtc_audio__aec3_factory",
-        "webrtc_video__frame_dumping_decoder",
-        "webrtc_g711__g711_3p",
-        "webrtc_audio_processing__optionally_built_submodule_creators",
-        "webrtc_system__file_wrapper",
-        "webrtc_rtc_base__async_socket",
-        "webrtc_tx__retransmission_timeout",
-        "webrtc_video_coding__video_coding_utility",
-        "webrtc_goog_cc__link_capacity_estimator",
-        "webrtc_agc2__noise_level_estimator",
-        "webrtc_video__task_queue_frame_decode_scheduler",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_video_coding__encoded_frame",
-        "webrtc_audio_coding__neteq",
-        "webrtc_g722__g722_3p",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_video_coding__video_coding",
-        "webrtc_socket__heartbeat_handler",
-        "webrtc_api__rtc_event_log_output_file",
-        "webrtc_video_coding__webrtc_libvpx_interface",
-        "webrtc_audio_processing__audio_buffer",
-        "webrtc_common_video__common_video",
-        "webrtc_rtc_base__checks",
-        "webrtc_call__rtp_sender",
-        "webrtc_ilbc__audio_encoder_ilbc",
-        "webrtc_video__unique_timestamp_counter",
-        "webrtc_media__rtc_encoder_simulcast_proxy",
-        "webrtc_adaptation__resource_adaptation",
-        "webrtc_rnn_vad__rnn_vad_lp_residual",
-        "webrtc_experiments__rate_control_settings",
-        "webrtc_packet__chunk_validators",
-        "webrtc_rtc_event_log__rtc_event_log_factory",
-        "webrtc_audio_coding__audio_encoder_cng",
-        "webrtc_agc2__cpu_features",
-        "webrtc_video_coding__video_codec_interface",
-        "webrtc_congestion_controller__congestion_controller",
-        "webrtc_call__rtp_interfaces",
-        "webrtc_numerics__numerics",
-        "webrtc_rtc_base__socket_address",
-        "webrtc_pc__remote_audio_source",
-        "webrtc_agc2__speech_level_estimator",
-        "webrtc_timing__rtt_filter",
-        "webrtc_pc__video_track",
-        "webrtc_pc__video_track_source",
-        "webrtc_pc__media_stream_observer",
-        "webrtc_ooura__fft_size_256",
-        "webrtc_audio_mixer__audio_mixer_impl",
-        "webrtc_experiments__rtt_mult_experiment",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_logging__rtc_event_pacing",
-        "webrtc_goog_cc__probe_controller",
-        "webrtc_rtc_base__logging",
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_timing__timestamp_extrapolator",
-        "webrtc_rtc_event_log__rtc_event_log",
-        "webrtc_pc__sctp_data_channel",
-        "webrtc_transient__transient_suppressor_impl",
-        "webrtc_packet__sctp_packet",
-        "webrtc_agc2__adaptive_digital",
-        "webrtc_timing__timing_module",
-        "webrtc_utility__cascaded_biquad_filter",
-        "webrtc_socket__packet_sender",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_rtc_base__rate_tracker",
-        "webrtc_audio_processing__high_pass_filter",
-        "webrtc_common_audio__common_audio_neon_c",
-        "webrtc_video_coding__webrtc_vp9_helpers",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_experiments__balanced_degradation_settings",
-        "webrtc_utility__legacy_delay_estimator",
-        "webrtc_audio__aec3_config",
-        "webrtc_sigslot__sigslot",
-        "webrtc_experiments__min_video_bitrate_experiment",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_tx__retransmission_error_counter",
-        "webrtc_transient__voice_probability_delay_unit",
-        "webrtc_rx__traditional_reassembly_streams",
-        "webrtc_packet__tlv_trait",
-        "webrtc_rtc_base__threading",
-        "webrtc_units__data_rate",
-        "webrtc_common_audio__common_audio",
-        "webrtc_pc__usage_pattern",
-        "webrtc_rtc_base__histogram_percentile_counter",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_crypto__options",
-        "webrtc_audio_processing__gain_controller2",
-        "webrtc_rx__data_tracker",
-        "webrtc_capture_levels_adjuster__capture_levels_adjuster",
-        "webrtc_audio_coding__webrtc_opus",
-        "webrtc_rtc_base__rtc_task_queue_libevent",
-        "webrtc_common_audio__fir_filter_factory",
-        "webrtc_rtc_base__null_socket_server",
-        "webrtc_agc__agc",
         "libpffft",
         "rnnoise_rnn_vad",
+        "webrtc_L16__audio_decoder_L16",
+        "webrtc_L16__audio_encoder_L16",
+        "webrtc___webrtc",
+        "webrtc_adaptation__resource_adaptation",
+        "webrtc_adaptation__video_adaptation",
+        "webrtc_aec3__aec3",
+        "webrtc_aec_dump__null_aec_dump_factory",
+        "webrtc_aecm__aecm_core",
+        "webrtc_agc2__adaptive_digital",
+        "webrtc_agc2__adaptive_digital_gain_applier",
+        "webrtc_agc2__biquad_filter",
+        "webrtc_agc2__clipping_predictor",
+        "webrtc_agc2__cpu_features",
+        "webrtc_agc2__fixed_digital",
+        "webrtc_agc2__gain_applier",
+        "webrtc_agc2__input_volume_controller",
+        "webrtc_agc2__input_volume_stats_reporter",
+        "webrtc_agc2__noise_level_estimator",
+        "webrtc_agc2__saturation_protector",
+        "webrtc_agc2__speech_level_estimator",
+        "webrtc_agc2__vad_wrapper",
+        "webrtc_agc__agc",
+        "webrtc_agc__legacy_agc",
+        "webrtc_agc__level_estimation",
+        "webrtc_api__audio_options_api",
+        "webrtc_api__candidate",
+        "webrtc_api__create_peerconnection_factory",
+        "webrtc_api__dtls_transport_interface",
+        "webrtc_api__field_trials",
+        "webrtc_api__ice_transport_factory",
+        "webrtc_api__libjingle_peerconnection_api",
+        "webrtc_api__media_stream_interface",
+        "webrtc_api__rtc_error",
+        "webrtc_api__rtc_event_log_output_file",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_api__rtp_parameters",
+        "webrtc_api__rtp_sender_interface",
+        "webrtc_api__transport_api",
+        "webrtc_async_audio_processing__async_audio_processing",
+        "webrtc_audio__aec3_config",
+        "webrtc_audio__aec3_factory",
+        "webrtc_audio__audio",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_codecs__audio_codecs_api",
+        "webrtc_audio_codecs__builtin_audio_decoder_factory",
+        "webrtc_audio_codecs__builtin_audio_encoder_factory",
+        "webrtc_audio_coding__audio_coding",
+        "webrtc_audio_coding__audio_coding_opus_common",
+        "webrtc_audio_coding__audio_encoder_cng",
+        "webrtc_audio_coding__audio_network_adaptor",
+        "webrtc_audio_coding__audio_network_adaptor_config",
+        "webrtc_audio_coding__g711",
+        "webrtc_audio_coding__g711_c",
+        "webrtc_audio_coding__g722",
+        "webrtc_audio_coding__g722_c",
+        "webrtc_audio_coding__ilbc",
+        "webrtc_audio_coding__ilbc_c",
+        "webrtc_audio_coding__isac_vad",
+        "webrtc_audio_coding__legacy_encoded_audio_frame",
+        "webrtc_audio_coding__neteq",
+        "webrtc_audio_coding__pcm16b",
+        "webrtc_audio_coding__pcm16b_c",
+        "webrtc_audio_coding__red",
+        "webrtc_audio_coding__webrtc_cng",
+        "webrtc_audio_coding__webrtc_multiopus",
+        "webrtc_audio_coding__webrtc_opus",
+        "webrtc_audio_coding__webrtc_opus_wrapper",
+        "webrtc_audio_device__audio_device_buffer",
+        "webrtc_audio_device__audio_device_generic",
+        "webrtc_audio_device__audio_device_impl",
+        "webrtc_audio_mixer__audio_frame_manipulator",
+        "webrtc_audio_mixer__audio_mixer_impl",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_buffer",
+        "webrtc_audio_processing__audio_frame_proxies",
+        "webrtc_audio_processing__audio_processing",
+        "webrtc_audio_processing__audio_processing_statistics",
+        "webrtc_audio_processing__gain_controller2",
+        "webrtc_audio_processing__high_pass_filter",
+        "webrtc_audio_processing__optionally_built_submodule_creators",
+        "webrtc_av1__av1_svc_config",
+        "webrtc_base64__base64",
+        "webrtc_call__bitrate_allocator",
+        "webrtc_call__bitrate_configurator",
+        "webrtc_call__call",
+        "webrtc_call__call_interfaces",
+        "webrtc_call__fake_network",
+        "webrtc_call__rtp_interfaces",
+        "webrtc_call__rtp_receiver",
+        "webrtc_call__rtp_sender",
+        "webrtc_call__simulated_network",
+        "webrtc_call__version",
+        "webrtc_call__video_stream_api",
+        "webrtc_capture_levels_adjuster__capture_levels_adjuster",
+        "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_common_audio__common_audio_cc",
+        "webrtc_common_audio__fir_filter_factory",
+        "webrtc_common_video__common_video",
+        "webrtc_config__encoder_config",
+        "webrtc_config__streams_config",
+        "webrtc_congestion_controller__congestion_controller",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_crypto__options",
+        "webrtc_experiments__alr_experiment",
+        "webrtc_experiments__balanced_degradation_settings",
+        "webrtc_experiments__bandwidth_quality_scaler_settings",
+        "webrtc_experiments__cpu_speed_experiment",
+        "webrtc_experiments__encoder_info_settings",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_experiments__keyframe_interval_settings_experiment",
+        "webrtc_experiments__min_video_bitrate_experiment",
+        "webrtc_experiments__normalize_simulcast_size_experiment",
+        "webrtc_experiments__quality_rampup_experiment",
+        "webrtc_experiments__quality_scaler_settings",
+        "webrtc_experiments__quality_scaling_experiment",
+        "webrtc_experiments__rate_control_settings",
+        "webrtc_experiments__rtt_mult_experiment",
+        "webrtc_experiments__stable_target_rate_experiment",
+        "webrtc_fft__fft",
+        "webrtc_g711__audio_decoder_g711",
+        "webrtc_g711__audio_encoder_g711",
+        "webrtc_g711__g711_3p",
+        "webrtc_g722__audio_decoder_g722",
+        "webrtc_g722__audio_encoder_g722",
+        "webrtc_g722__g722_3p",
+        "webrtc_generic_frame_descriptor__generic_frame_descriptor",
+        "webrtc_goog_cc__alr_detector",
+        "webrtc_goog_cc__delay_based_bwe",
+        "webrtc_goog_cc__estimators",
+        "webrtc_goog_cc__goog_cc",
+        "webrtc_goog_cc__link_capacity_estimator",
+        "webrtc_goog_cc__loss_based_bwe_v1",
+        "webrtc_goog_cc__loss_based_bwe_v2",
+        "webrtc_goog_cc__probe_controller",
+        "webrtc_goog_cc__pushback_controller",
+        "webrtc_goog_cc__send_side_bwe",
+        "webrtc_ilbc__audio_decoder_ilbc",
+        "webrtc_ilbc__audio_encoder_ilbc",
+        "webrtc_logging__ice_log",
+        "webrtc_logging__rtc_event_audio",
+        "webrtc_logging__rtc_event_begin_end",
+        "webrtc_logging__rtc_event_bwe",
+        "webrtc_logging__rtc_event_field",
+        "webrtc_logging__rtc_event_log_impl_encoder",
+        "webrtc_logging__rtc_event_number_encodings",
+        "webrtc_logging__rtc_event_pacing",
+        "webrtc_logging__rtc_event_rtp_rtcp",
+        "webrtc_logging__rtc_event_video",
+        "webrtc_logging__rtc_stream_config",
+        "webrtc_media__rtc_audio_video",
+        "webrtc_media__rtc_data_dcsctp_transport",
+        "webrtc_media__rtc_data_sctp_transport_factory",
+        "webrtc_media__rtc_encoder_simulcast_proxy",
+        "webrtc_media__rtc_internal_video_codecs",
+        "webrtc_media__rtc_media_base",
+        "webrtc_media__rtc_sdp_video_format_utils",
+        "webrtc_media__rtc_simulcast_encoder_adapter",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_metrics__global_metrics_logger_and_exporter",
+        "webrtc_metrics__metric",
+        "webrtc_metrics__metrics_accumulator",
+        "webrtc_metrics__metrics_logger",
+        "webrtc_metrics__stdout_metrics_exporter",
+        "webrtc_network__sent_packet",
+        "webrtc_ns__ns",
+        "webrtc_numerics__numerics",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_ooura__fft_size_256",
+        "webrtc_opus__audio_decoder_multiopus",
+        "webrtc_opus__audio_decoder_opus",
+        "webrtc_opus__audio_encoder_multiopus",
+        "webrtc_opus__audio_encoder_opus",
+        "webrtc_opus__audio_encoder_opus_config",
+        "webrtc_p2p__libstunprober",
+        "webrtc_p2p__rtc_p2p",
+        "webrtc_pacing__interval_budget",
+        "webrtc_pacing__pacing",
+        "webrtc_packet__chunk",
+        "webrtc_packet__chunk_validators",
+        "webrtc_packet__crc32c",
+        "webrtc_packet__error_cause",
+        "webrtc_packet__parameter",
+        "webrtc_packet__sctp_packet",
+        "webrtc_packet__tlv_trait",
+        "webrtc_pc__audio_rtp_receiver",
+        "webrtc_pc__audio_track",
+        "webrtc_pc__connection_context",
+        "webrtc_pc__data_channel_utils",
+        "webrtc_pc__dtmf_sender",
+        "webrtc_pc__ice_server_parsing",
+        "webrtc_pc__jitter_buffer_delay",
+        "webrtc_pc__media_protocol_names",
+        "webrtc_pc__media_stream",
+        "webrtc_pc__media_stream_observer",
+        "webrtc_pc__peer_connection_message_handler",
+        "webrtc_pc__proxy",
+        "webrtc_pc__remote_audio_source",
+        "webrtc_pc__rtp_parameters_conversion",
+        "webrtc_pc__rtp_receiver",
+        "webrtc_pc__rtp_sender",
+        "webrtc_pc__rtp_transceiver",
+        "webrtc_pc__rtp_transmission_manager",
+        "webrtc_pc__sctp_data_channel",
+        "webrtc_pc__transceiver_list",
+        "webrtc_pc__usage_pattern",
+        "webrtc_pc__video_rtp_receiver",
+        "webrtc_pc__video_rtp_track_source",
+        "webrtc_pc__video_track",
+        "webrtc_pc__video_track_source",
+        "webrtc_remote_bitrate_estimator__remote_bitrate_estimator",
+        "webrtc_render__incoming_video_stream",
+        "webrtc_render__video_render_frames",
+        "webrtc_rnn_vad__rnn_vad",
+        "webrtc_rnn_vad__rnn_vad_auto_correlation",
+        "webrtc_rnn_vad__rnn_vad_lp_residual",
+        "webrtc_rnn_vad__rnn_vad_pitch",
+        "webrtc_rnn_vad__rnn_vad_spectral_features",
+        "webrtc_rtc_base__async_resolver_interface",
+        "webrtc_rtc_base__async_socket",
+        "webrtc_rtc_base__audio_format_to_string",
+        "webrtc_rtc_base__bit_buffer",
+        "webrtc_rtc_base__buffer_queue",
+        "webrtc_rtc_base__byte_buffer",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__copy_on_write_buffer",
+        "webrtc_rtc_base__criticalsection",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__histogram_percentile_counter",
+        "webrtc_rtc_base__ip_address",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__net_helpers",
+        "webrtc_rtc_base__null_socket_server",
+        "webrtc_rtc_base__platform_thread",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__random",
+        "webrtc_rtc_base__rate_limiter",
+        "webrtc_rtc_base__rate_statistics",
+        "webrtc_rtc_base__rate_tracker",
+        "webrtc_rtc_base__rtc_base",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__rtc_task_queue",
+        "webrtc_rtc_base__rtc_task_queue_libevent",
+        "webrtc_rtc_base__sample_counter",
+        "webrtc_rtc_base__socket",
+        "webrtc_rtc_base__socket_address",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__threading",
+        "webrtc_rtc_base__timestamp_aligner",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_rtc_base__weak_ptr",
+        "webrtc_rtc_base__zero_memory",
+        "webrtc_rtc_event_log__rtc_event_log",
+        "webrtc_rtc_event_log__rtc_event_log_factory",
+        "webrtc_rtp__control_handler",
+        "webrtc_rtp__transport_feedback",
+        "webrtc_rtp_rtcp__rtp_rtcp",
+        "webrtc_rtp_rtcp__rtp_rtcp_format",
+        "webrtc_rtp_rtcp__rtp_video_header",
+        "webrtc_rx__data_tracker",
+        "webrtc_rx__interleaved_reassembly_streams",
+        "webrtc_rx__reassembly_queue",
+        "webrtc_rx__traditional_reassembly_streams",
+        "webrtc_sigslot__sigslot",
+        "webrtc_socket__dcsctp_socket",
+        "webrtc_socket__heartbeat_handler",
+        "webrtc_socket__packet_sender",
+        "webrtc_socket__stream_reset_handler",
+        "webrtc_socket__transmission_control_block",
+        "webrtc_spl_sqrt_floor__spl_sqrt_floor",
+        "webrtc_stats__rtc_stats",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_synchronization__yield_policy",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__denormal_disabler",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__default_task_queue_factory",
+        "webrtc_task_queue__pending_task_safety_flag",
+        "webrtc_task_queue__task_queue",
+        "webrtc_task_utils__repeating_task",
+        "webrtc_test__fake_video_codecs",
+        "webrtc_timer__task_queue_timeout",
+        "webrtc_timer__timer",
+        "webrtc_timing__codec_timer",
+        "webrtc_timing__frame_delay_variation_kalman_filter",
+        "webrtc_timing__inter_frame_delay",
+        "webrtc_timing__jitter_estimator",
+        "webrtc_timing__rtt_filter",
+        "webrtc_timing__timestamp_extrapolator",
+        "webrtc_timing__timing_module",
+        "webrtc_transient__transient_suppressor_impl",
+        "webrtc_transient__voice_probability_delay_unit",
+        "webrtc_transport__bitrate_settings",
+        "webrtc_transport__field_trial_based_config",
+        "webrtc_transport__goog_cc",
+        "webrtc_transport__network_control",
+        "webrtc_tx__outstanding_data",
+        "webrtc_tx__retransmission_error_counter",
+        "webrtc_tx__retransmission_queue",
+        "webrtc_tx__retransmission_timeout",
+        "webrtc_tx__rr_send_queue",
+        "webrtc_tx__stream_scheduler",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__frequency",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_utility__audio_frame_operations",
+        "webrtc_utility__cascaded_biquad_filter",
+        "webrtc_utility__legacy_delay_estimator",
+        "webrtc_utility__pffft_wrapper",
+        "webrtc_vad__vad",
+        "webrtc_video__builtin_video_bitrate_allocator_factory",
+        "webrtc_video__decode_synchronizer",
+        "webrtc_video__encoded_frame",
+        "webrtc_video__encoded_image",
+        "webrtc_video__frame_buffer",
+        "webrtc_video__frame_cadence_adapter",
+        "webrtc_video__frame_decode_timing",
+        "webrtc_video__frame_dumping_decoder",
+        "webrtc_video__task_queue_frame_decode_scheduler",
+        "webrtc_video__unique_timestamp_counter",
+        "webrtc_video__video",
+        "webrtc_video__video_adaptation",
+        "webrtc_video__video_bitrate_allocation",
+        "webrtc_video__video_bitrate_allocator",
+        "webrtc_video__video_frame",
+        "webrtc_video__video_frame_i010",
+        "webrtc_video__video_receive_stream_timeout_tracker",
+        "webrtc_video__video_rtp_headers",
+        "webrtc_video__video_stream_buffer_controller",
+        "webrtc_video__video_stream_encoder_impl",
+        "webrtc_video_capture__video_capture_module",
+        "webrtc_video_codecs__builtin_video_decoder_factory",
+        "webrtc_video_codecs__builtin_video_encoder_factory",
+        "webrtc_video_codecs__rtc_software_fallback_wrappers",
+        "webrtc_video_codecs__video_codecs_api",
+        "webrtc_video_codecs__vp8_temporal_layers_factory",
+        "webrtc_video_coding__chain_diff_calculator",
+        "webrtc_video_coding__encoded_frame",
+        "webrtc_video_coding__frame_dependencies_calculator",
+        "webrtc_video_coding__frame_helpers",
+        "webrtc_video_coding__nack_requester",
+        "webrtc_video_coding__packet_buffer",
+        "webrtc_video_coding__video_codec_interface",
+        "webrtc_video_coding__video_coding",
+        "webrtc_video_coding__video_coding_utility",
+        "webrtc_video_coding__webrtc_h264",
+        "webrtc_video_coding__webrtc_libvpx_interface",
+        "webrtc_video_coding__webrtc_multiplex",
+        "webrtc_video_coding__webrtc_vp8",
+        "webrtc_video_coding__webrtc_vp8_temporal_layers",
+        "webrtc_video_coding__webrtc_vp9",
+        "webrtc_video_coding__webrtc_vp9_helpers",
     ],
+    arch: {
+        arm: {
+            whole_static_libs: [
+                "webrtc_common_audio__common_audio_neon",
+                "webrtc_common_audio__common_audio_neon_c",
+            ],
+        },
+        arm64: {
+            whole_static_libs: [
+                "webrtc_common_audio__common_audio_neon",
+                "webrtc_common_audio__common_audio_neon_c",
+            ],
+        },
+        x86_64: {
+            whole_static_libs: [
+                "webrtc_aec3__aec3_avx2",
+                "webrtc_common_audio__common_audio_avx2",
+                "webrtc_common_audio__common_audio_sse2",
+                "webrtc_rnn_vad__vector_math_avx2",
+            ],
+        },
+        x86: {
+            whole_static_libs: [
+                "webrtc_aec3__aec3_avx2",
+                "webrtc_common_audio__common_audio_avx2",
+                "webrtc_common_audio__common_audio_sse2",
+                "webrtc_rnn_vad__vector_math_avx2",
+            ],
+        },
+    },
 }
 
 cc_library_static {
@@ -53986,97 +26512,121 @@
         "modules/audio_processing/include",
     ],
     whole_static_libs: [
-        "webrtc_system_wrappers__field_trial",
-        "webrtc_rnn_vad__rnn_vad_spectral_features",
-        "webrtc_utility__audio_frame_operations",
-        "webrtc_aecm__aecm_core",
-        "webrtc_containers__flat_containers_internal",
-        "webrtc_experiments__field_trial_parser",
-        "webrtc_transient__transient_suppressor_impl",
-        "webrtc_ooura__fft_size_128",
-        "webrtc_agc2__input_volume_controller",
-        "webrtc_agc2__adaptive_digital",
-        "webrtc_units__data_size",
-        "webrtc_audio_processing__audio_frame_proxies",
-        "webrtc_agc2__gain_applier",
-        "webrtc_rnn_vad__rnn_vad",
-        "webrtc_spl_sqrt_floor__spl_sqrt_floor",
-        "webrtc_audio_processing__audio_processing",
-        "webrtc_utility__cascaded_biquad_filter",
-        "webrtc_system_wrappers__metrics",
-        "webrtc_audio_processing__audio_buffer",
-        "webrtc_synchronization__yield_policy",
-        "webrtc_agc2__vad_wrapper",
-        "webrtc_rtc_base__checks",
-        "webrtc_rtc_base__event_tracer",
-        "webrtc_utility__pffft_wrapper",
-        "webrtc_aec3__aec3_avx2",
-        "webrtc_fft__fft",
-        "webrtc_rnn_vad__rnn_vad_lp_residual",
-        "webrtc_system_wrappers__denormal_disabler",
-        "webrtc_audio_processing__high_pass_filter",
-        "webrtc_synchronization__yield",
-        "webrtc_vad__vad",
-        "webrtc_common_audio__common_audio_neon_c",
-        "webrtc_audio_processing__apm_logging",
-        "webrtc_agc2__cpu_features",
-        "webrtc_rtc_base__race_checker",
-        "webrtc_common_audio__common_audio_neon",
-        "webrtc_common_audio__common_audio_sse2",
-        "webrtc_audio_processing__audio_processing_statistics",
-        "webrtc_common_audio__common_audio_c",
-        "webrtc_rnn_vad__rnn_vad_auto_correlation",
-        "webrtc_audio_coding__isac_vad",
-        "webrtc_audio__audio_frame_api",
-        "webrtc_agc2__adaptive_digital_gain_applier",
-        "webrtc_utility__legacy_delay_estimator",
-        "webrtc_audio__aec3_config",
-        "webrtc_rtc_base__rtc_event",
-        "webrtc_agc2__saturation_protector",
-        "webrtc_rtc_base__criticalsection",
-        "webrtc_aec3__aec3",
-        "webrtc_common_audio__common_audio_cc",
-        "webrtc_agc2__input_volume_stats_reporter",
-        "webrtc_agc__legacy_agc",
-        "webrtc_agc2__biquad_filter",
-        "webrtc_api__rtp_packet_info",
-        "webrtc_rtc_base__stringutils",
-        "webrtc_system_wrappers__system_wrappers",
-        "webrtc_ns__ns",
-        "webrtc_aec_dump__null_aec_dump_factory",
-        "webrtc_transient__voice_probability_delay_unit",
-        "webrtc_units__frequency",
-        "webrtc_rtc_base__timeutils",
-        "webrtc_task_queue__task_queue",
-        "webrtc_agc__level_estimation",
-        "webrtc_units__timestamp",
-        "webrtc_agc2__speech_level_estimator",
-        "webrtc_rtc_base__platform_thread",
-        "webrtc_agc2__fixed_digital",
-        "webrtc_memory__aligned_malloc",
-        "webrtc_audio_processing__api",
-        "webrtc_units__data_rate",
-        "webrtc_common_audio__common_audio",
-        "webrtc_api__rtp_headers",
-        "webrtc_common_audio__common_audio_avx2",
-        "webrtc_units__time_delta",
-        "webrtc_synchronization__sequence_checker_internal",
-        "webrtc_audio_processing__gain_controller2",
-        "webrtc_ooura__fft_size_256",
-        "webrtc_capture_levels_adjuster__capture_levels_adjuster",
-        "webrtc_audio_processing__optionally_built_submodule_creators",
-        "webrtc_common_audio__fir_filter_factory",
-        "webrtc_system__file_wrapper",
-        "webrtc_rnn_vad__vector_math_avx2",
-        "webrtc_agc2__clipping_predictor",
-        "webrtc_rtc_base__logging",
-        "webrtc_rtc_base__rtc_numerics",
-        "webrtc_rnn_vad__rnn_vad_pitch",
-        "webrtc_agc2__noise_level_estimator",
-        "webrtc_rtc_base__platform_thread_types",
-        "webrtc_agc__agc",
-        "webrtc_video__video_rtp_headers",
         "libpffft",
         "rnnoise_rnn_vad",
+        "webrtc_aec3__aec3",
+        "webrtc_aec_dump__null_aec_dump_factory",
+        "webrtc_aecm__aecm_core",
+        "webrtc_agc2__adaptive_digital",
+        "webrtc_agc2__adaptive_digital_gain_applier",
+        "webrtc_agc2__biquad_filter",
+        "webrtc_agc2__clipping_predictor",
+        "webrtc_agc2__cpu_features",
+        "webrtc_agc2__fixed_digital",
+        "webrtc_agc2__gain_applier",
+        "webrtc_agc2__input_volume_controller",
+        "webrtc_agc2__input_volume_stats_reporter",
+        "webrtc_agc2__noise_level_estimator",
+        "webrtc_agc2__saturation_protector",
+        "webrtc_agc2__speech_level_estimator",
+        "webrtc_agc2__vad_wrapper",
+        "webrtc_agc__agc",
+        "webrtc_agc__legacy_agc",
+        "webrtc_agc__level_estimation",
+        "webrtc_api__rtp_headers",
+        "webrtc_api__rtp_packet_info",
+        "webrtc_audio__aec3_config",
+        "webrtc_audio__audio_frame_api",
+        "webrtc_audio_coding__isac_vad",
+        "webrtc_audio_processing__api",
+        "webrtc_audio_processing__apm_logging",
+        "webrtc_audio_processing__audio_buffer",
+        "webrtc_audio_processing__audio_frame_proxies",
+        "webrtc_audio_processing__audio_processing",
+        "webrtc_audio_processing__audio_processing_statistics",
+        "webrtc_audio_processing__gain_controller2",
+        "webrtc_audio_processing__high_pass_filter",
+        "webrtc_audio_processing__optionally_built_submodule_creators",
+        "webrtc_capture_levels_adjuster__capture_levels_adjuster",
+        "webrtc_common_audio__common_audio",
+        "webrtc_common_audio__common_audio_c",
+        "webrtc_common_audio__common_audio_cc",
+        "webrtc_common_audio__fir_filter_factory",
+        "webrtc_containers__flat_containers_internal",
+        "webrtc_experiments__field_trial_parser",
+        "webrtc_fft__fft",
+        "webrtc_memory__aligned_malloc",
+        "webrtc_ns__ns",
+        "webrtc_ooura__fft_size_128",
+        "webrtc_ooura__fft_size_256",
+        "webrtc_rnn_vad__rnn_vad",
+        "webrtc_rnn_vad__rnn_vad_auto_correlation",
+        "webrtc_rnn_vad__rnn_vad_lp_residual",
+        "webrtc_rnn_vad__rnn_vad_pitch",
+        "webrtc_rnn_vad__rnn_vad_spectral_features",
+        "webrtc_rtc_base__checks",
+        "webrtc_rtc_base__criticalsection",
+        "webrtc_rtc_base__event_tracer",
+        "webrtc_rtc_base__logging",
+        "webrtc_rtc_base__platform_thread",
+        "webrtc_rtc_base__platform_thread_types",
+        "webrtc_rtc_base__race_checker",
+        "webrtc_rtc_base__rtc_event",
+        "webrtc_rtc_base__rtc_numerics",
+        "webrtc_rtc_base__stringutils",
+        "webrtc_rtc_base__timeutils",
+        "webrtc_spl_sqrt_floor__spl_sqrt_floor",
+        "webrtc_synchronization__sequence_checker_internal",
+        "webrtc_synchronization__yield",
+        "webrtc_synchronization__yield_policy",
+        "webrtc_system__file_wrapper",
+        "webrtc_system_wrappers__denormal_disabler",
+        "webrtc_system_wrappers__field_trial",
+        "webrtc_system_wrappers__metrics",
+        "webrtc_system_wrappers__system_wrappers",
+        "webrtc_task_queue__task_queue",
+        "webrtc_transient__transient_suppressor_impl",
+        "webrtc_transient__voice_probability_delay_unit",
+        "webrtc_units__data_rate",
+        "webrtc_units__data_size",
+        "webrtc_units__frequency",
+        "webrtc_units__time_delta",
+        "webrtc_units__timestamp",
+        "webrtc_utility__audio_frame_operations",
+        "webrtc_utility__cascaded_biquad_filter",
+        "webrtc_utility__legacy_delay_estimator",
+        "webrtc_utility__pffft_wrapper",
+        "webrtc_vad__vad",
+        "webrtc_video__video_rtp_headers",
     ],
+    arch: {
+        arm: {
+            whole_static_libs: [
+                "webrtc_common_audio__common_audio_neon",
+                "webrtc_common_audio__common_audio_neon_c",
+            ],
+        },
+        arm64: {
+            whole_static_libs: [
+                "webrtc_common_audio__common_audio_neon",
+                "webrtc_common_audio__common_audio_neon_c",
+            ],
+        },
+        x86_64: {
+            whole_static_libs: [
+                "webrtc_aec3__aec3_avx2",
+                "webrtc_common_audio__common_audio_avx2",
+                "webrtc_common_audio__common_audio_sse2",
+                "webrtc_rnn_vad__vector_math_avx2",
+            ],
+        },
+        x86: {
+            whole_static_libs: [
+                "webrtc_aec3__aec3_avx2",
+                "webrtc_common_audio__common_audio_avx2",
+                "webrtc_common_audio__common_audio_sse2",
+                "webrtc_rnn_vad__vector_math_avx2",
+            ],
+        },
+    },
 }
diff --git a/android_tools/generate_android_bp.sh b/android_tools/generate_android_bp.sh
index 2605da2..2ea8d42 100755
--- a/android_tools/generate_android_bp.sh
+++ b/android_tools/generate_android_bp.sh
@@ -9,12 +9,7 @@
 
 DIR=$(dirname $0)
 
-PYTHONHASHSEED=31 "${DIR}"/generate_bp.py \
-        "${DIR}"/project_x64.json \
-        "${DIR}"/project_x86.json \
-        "${DIR}"/project_arm64.json \
-        "${DIR}"/project_arm.json \
-        >"${DIR}"/../Android.bp
+PYTHONHASHSEED=31 "${DIR}"/generate_bp.py "$DIR" >"${DIR}/../Android.bp"
 
-bpfmt -w "${DIR}"/../Android.bp
+bpfmt -w "${DIR}/../Android.bp"
 
diff --git a/android_tools/generate_bp.py b/android_tools/generate_bp.py
index 79d140f..d5c699b 100755
--- a/android_tools/generate_bp.py
+++ b/android_tools/generate_bp.py
@@ -5,8 +5,99 @@
 
 PRINT_ORIGINAL_FULL = False
 
+IGNORED_FLAGS = [
+    '-Wall',
+    '-Werror',
+    '-L',
+    '-isystem',
+    '-Xclang',
+    '-B',
+    '--sysroot',
+    '-fcrash-diagnostics-dir',
+    '.',
+    '-fdebug-compilation-dir',
+    '-instcombine-lower-dbg-declare=0',
+    '-Wno-non-c-typedef-for-linkage',
+    '-Werror',
+    '-fcomplete-member-pointers',
+    '-fno-stack-protector',
+    '--target=i686-linux-android16',
+    '--target=aarch64-linux-android21'
+    '--target=i686-linux-android16',
+    '--target=x86_64-linux-android21',
+    '--target=arm-linux-androideabi16',
+    '--target=aarch64-linux-gnu',
+    '--target=arm-linux-gnueabihf',
+    '-ggnu-pubnames',
+    '-m64',
+    '-m32',
+    '-march=x86-64',
+    '-march=armv8-a',
+    '-march=armv7-a',
+    '-mllvm',
+    '-mfloat-abi=hard',
+    '-target-feature',
+    '+crypto',
+    '+crc',
+    '-fno-unique-section-names',
+    '-fno-short-enums',
+    '-fno-delete-null-pointer-checks',
+    '-ffile-compilation-dir=.',
+    '-Wno-unneeded-internal-declaration',
+    '-Wno-unreachable-code-aggressive',
+    '-Wno-unreachable-code-break',
+    '-fuse-ctor-homing',
+    '-fno-rtti',
+    '-gsplit-dwarf', # TODO(b/266468464): breaks riscv
+    '-gdwarf-aranges', # TODO(b/269343483): breaks riscv
+    ]
+DEFAULT_CFLAGS = [
+    '-Wno-everything',
+    '-Wno-all',
+    '-Wno-error',
+    '-Wno-unreachable-code-aggressive',
+    '-Wno-unreachable-code-break',
+    '-Wno-unused-parameter',
+    '-Wno-missing-field-initializers',
+    '-Wno-implicit-const-int-float-conversion',
+    '-DUSE_UDEV',
+    '-DUSE_AURA=1',
+    '-DUSE_GLIB=1',
+    '-DUSE_NSS_CERTS=1',
+    '-DUSE_X11=1',
+    '-D_FILE_OFFSET_BITS=64',
+    '-D_LARGEFILE_SOURCE',
+    '-D_LARGEFILE64_SOURCE',
+    '-D_GNU_SOURCE',
+    '-DWEBRTC_ENABLE_PROTOBUF=0',
+    '-DWEBRTC_ANDROID_PLATFORM_BUILD=1',
+    '-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE',
+    '-DRTC_ENABLE_VP9',
+    '-DWEBRTC_HAVE_SCTP',
+    '-DWEBRTC_LIBRARY_IMPL',
+    '-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1',
+    '-DWEBRTC_POSIX',
+    '-DWEBRTC_LINUX',
+    '-DWEBRTC_STRICT_FIELD_TRIALS=0',
+    '-DWEBRTC_ENABLE_AVX2',
+    '-DABSL_ALLOCATOR_NOTHROW=1',
+    '-DWEBRTC_APM_DEBUG_DUMP=0',
+    '-msse3',
+    ]
+DEFAULT_CFLAGS_BY_ARCH = {
+        'x86': ['-msse2', '-mavx2', '-mfma', '-DHAVE_ARM64_CRC32C=0'],
+        'x64': ['-msse2', '-mavx2', '-mfma', '-DHAVE_ARM64_CRC32C=0'],
+        'arm': ['-DWEBRTC_HAS_NEON', '-DWEBRTC_ARCH_ARM_V7', '-DWEBRTC_ARCH_ARM', '-mfpu=neon', '-mthumb', '-DHAVE_ARM64_CRC32C=0'],
+        'arm64': ['-DWEBRTC_HAS_NEON', '-DWEBRTC_ARCH_ARM64', '-DHAVE_ARM64_CRC32C=0'],
+        }
+
+ARCH_NAME_MAP = {n: n for n in DEFAULT_CFLAGS_BY_ARCH.keys()}
+ARCH_NAME_MAP['x64'] = 'x86_64'
+
+ARCHS = sorted(ARCH_NAME_MAP.keys())
+
 def FormatList(l):
-    return json.dumps(list(l))
+    return json.dumps(sorted(list(l)))
 
 def IsInclude(name):
     return name.endswith('.h') or name.endswith('.inc')
@@ -31,53 +122,13 @@
 def FormatNames(target):
     target['original_name'] = target['name']
     target['name'] = FormatName(target['name'])
-    target['deps'] = [FormatName(d) for d in target['deps']]
+    target['deps'] = sorted([FormatName(d) for d in target['deps']])
     target['sources'] = list(map(lambda s: (':' + FormatName(s[1:])) if s.startswith(':') else s, target['sources']))
     return target
 
 def FilterFlags(flags, to_skip = set()):
-    skipped_opts = set([
-        '-Wall',
-        '-Werror',
-        '-L',
-        '-isystem',
-        '-Xclang',
-        '-B',
-        '--sysroot',
-        '-fcrash-diagnostics-dir',
-        '.',
-        '-fdebug-compilation-dir',
-        '-instcombine-lower-dbg-declare=0',
-        '-Wno-non-c-typedef-for-linkage',
-        '-Werror',
-        '-fcomplete-member-pointers',
-        '-fno-stack-protector',
-        '--target=i686-linux-android16',
-        '--target=aarch64-linux-android21'
-        '--target=i686-linux-android16',
-        '--target=x86_64-linux-android21',
-        '--target=arm-linux-androideabi16',
-        '-m64',
-        '-m32',
-        '-march=x86-64',
-        '-march=armv8-a',
-        '-mllvm',
-        '-target-feature',
-        '+crypto',
-        '+crc',
-        '-fno-unique-section-names',
-        '-fno-short-enums',
-        '-fno-delete-null-pointer-checks',
-        '-ffile-compilation-dir=.',
-        '-Wno-unneeded-internal-declaration',
-        '-Wno-unreachable-code-aggressive',
-        '-Wno-unreachable-code-break',
-        '-fuse-ctor-homing',
-        '-fno-rtti',
-        '-gsplit-dwarf', # TODO(b/266468464): breaks riscv
-        '-gdwarf-aranges', # TODO(b/269343483): breaks riscv
-        ]).union(to_skip)
-    return [x for x in flags if not any([x.startswith(y) for y in skipped_opts])]
+    skipped_opts = set(IGNORED_FLAGS).union(to_skip).union(DEFAULT_CFLAGS)
+    return sorted([x for x in flags if not any([x.startswith(y) for y in skipped_opts])])
 
 def PrintHeader():
     print('package {')
@@ -134,12 +185,7 @@
             'cflags_cc' : [],
             'asmflags' : [],
     }
-    arch = {
-            'x64': {},
-            'x86': {},
-            'arm64': {},
-            'arm': {},
-    }
+    arch = {a: {} for a in ARCHS}
 
     first = True
     for target in targets.values():
@@ -163,7 +209,7 @@
                     target[flag_type] = []
                 default[flag_type] = list(set(default[flag_type]) & set(target[flag_type]))
                 for a in arch.keys():
-                    arch[a][flag_type] = list(set(arch[a][flag_type]) | set(target.get('arch', {}).get(a, {}).get(flag_type, [])))
+                    arch[a][flag_type] = list(set(arch[a][flag_type]) & set(target.get('arch', {}).get(a, {}).get(flag_type, [])))
 
     default['arch'] = arch
     return default
@@ -178,51 +224,14 @@
     print('      "third_party/crc32c/src/include",')
     print('    ],')
     if PRINT_ORIGINAL_FULL:
-        for typ in in_default.keys():
+        for typ in sorted(in_default.keys()):
             print('    // {0}: ['.format(typ.replace('asmflags', 'asflags')
                 .replace('cflags_cc', 'cppflags')
                 .replace('cflags_c', 'conlyflags')))
             for flag in FilterFlags(in_default[typ]):
                 print('        // "{0}",'.format(flag.replace('"', '\\"')))
             print('    // ],')
-    selected_cflags = [
-        '-Wno-everything',
-        '-Wno-all',
-        '-Wno-error',
-        '-Wno-unreachable-code-aggressive',
-        '-Wno-unreachable-code-break',
-        '-Wno-unused-parameter',
-        '-Wno-missing-field-initializers',
-        '-Wno-implicit-const-int-float-conversion',
-        '-DUSE_UDEV',
-        '-DUSE_AURA=1',
-        '-DUSE_GLIB=1',
-        '-DUSE_NSS_CERTS=1',
-        '-DUSE_X11=1',
-        '-D_FILE_OFFSET_BITS=64',
-        '-D_LARGEFILE_SOURCE',
-        '-D_LARGEFILE64_SOURCE',
-        '-D_GNU_SOURCE',
-        '-DWEBRTC_ENABLE_PROTOBUF=0',
-        '-DWEBRTC_ANDROID_PLATFORM_BUILD=1',
-        '-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE',
-        '-DRTC_ENABLE_VP9',
-        '-DWEBRTC_HAVE_SCTP',
-        '-DWEBRTC_LIBRARY_IMPL',
-        '-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1',
-        '-DWEBRTC_POSIX',
-        '-DWEBRTC_LINUX',
-        '-DWEBRTC_STRICT_FIELD_TRIALS=0',
-        '-DWEBRTC_ENABLE_AVX2',
-        '-DABSL_ALLOCATOR_NOTHROW=1',
-        '-DWEBRTC_APM_DEBUG_DUMP=0',
-        '-msse3',
-        ]
-    selected_cflags_x86 = ['-mavx2', '-mfma', '-DHAVE_ARM64_CRC32C=0']
-    selected_cflags_x64 = ['-msse2', '-mavx2', '-mfma', '-DHAVE_ARM64_CRC32C=0']
-    selected_cflags_arm = ['-DWEBRTC_HAS_NEON', '-DWEBRTC_ARCH_ARM_V7', '-DWEBRTC_ARCH_ARM', '-mfpu=neon', '-mthumb', '-DHAVE_ARM64_CRC32C=0']
-    selected_cflags_arm64 = ['-DWEBRTC_HAS_NEON', '-DWEBRTC_ARCH_ARM64', '-DHAVE_ARM64_CRC32C=0']
-    print('    cflags: {0},'.format(FormatList(selected_cflags)))
+    print('    cflags: {0},'.format(FormatList(DEFAULT_CFLAGS)))
     print('    header_libs: [')
     print('      "libwebrtc_absl_headers",')
     print('    ],')
@@ -251,29 +260,19 @@
     print('        },')
     print('    },')
     print('    arch: {')
-    print('        x86: {')
-    print('            cflags: {0}'.format(FormatList(selected_cflags_x86)))
-    print('        },')
-    print('        x86_64: {')
-    print('            cflags: {0}'.format(FormatList(selected_cflags_x64)))
-    print('        },')
-    print('        arm: {')
-    print('            cflags: {0}'.format(FormatList(selected_cflags_arm)))
-    print('        },')
-    print('        arm64: {')
-    print('            cflags: {0}'.format(FormatList(selected_cflags_arm64)))
-    print('        },')
+    for a in ARCHS:
+        print('        {0}: {{'.format(ARCH_NAME_MAP[a]))
+        print('            cflags: {0}'.format(FormatList(DEFAULT_CFLAGS_BY_ARCH[a])))
+        print('        },')
     print('    },')
     print('    visibility: [')
     print('        "//frameworks/av/media/libeffects/preprocessing:__subpackages__",')
     print('        "//device/google/cuttlefish/host/frontend/webrtc:__subpackages__",')
     print('    ],')
     print('}')
-    in_default['cflags'].extend(selected_cflags)
-    in_default['arch']['x86']['cflags'].extend(selected_cflags_x86)
-    in_default['arch']['x64']['cflags'].extend(selected_cflags_x64)
-    in_default['arch']['arm']['cflags'].extend(selected_cflags_arm)
-    in_default['arch']['arm64']['cflags'].extend(selected_cflags_arm64)
+    in_default['cflags'].extend(DEFAULT_CFLAGS)
+    for a in ARCHS:
+        in_default['arch'][a]['cflags'].extend(DEFAULT_CFLAGS_BY_ARCH[a])
 
     # The flags in the default entry can be safely removed from the targets
     for target in targets.values():
@@ -305,13 +304,25 @@
     field = 'transitive_' + dep_type
     if field in target.keys():
         return target[field]
-    target[field] = set()
+    target[field] = {'global': set()}
+    for a in ARCHS:
+        target[field][a] = set()
     if target['type'] == dep_type:
-        target[field].add(name)
+        target[field]['global'].add(name)
     for d in target.get('deps', []):
         if targets[d]['type'] == dep_type:
-            target[field].add(d)
-        target[field] |= TransitiveDependencies(d, dep_type, targets)
+            target[field]['global'].add(d)
+        tDeps = TransitiveDependencies(d, dep_type, targets)
+        target[field]['global'] |= tDeps['global']
+        for a in ARCHS:
+            target[field][a] |= tDeps[a]
+    if 'arch' in target:
+        for a, x in target['arch'].items():
+            for d in x.get('deps', []):
+                tDeps = TransitiveDependencies(d, dep_type, targets)
+                target[field][a] |= tDeps['global'] | tDeps[a]
+            target[field][a] -= target[field]['global']
+
     return target[field]
 
 def GenerateGroup(target):
@@ -360,14 +371,16 @@
         cflags_cc = target['cflags_cc']
         if len(cflags_cc) > 0:
             print('    cppflags: {0},'.format(FormatList(cflags_cc)))
-    static_libs = [d for d in target.get('deps', []) if targets[d]['type'] == 'static_library']
+    static_libs = sorted([d for d in target.get('deps', []) if targets[d]['type'] == 'static_library'])
     if len(static_libs) > 0:
         print('    static_libs: {0},'.format(FormatList(static_libs)))
     if 'arch' in target:
         print('   arch: {')
-        arch_map = {'x86': 'x86','x64': 'x86_64','arm': 'arm','arm64': 'arm64'}
-        for arch_name, arch in target['arch'].items():
-            print('       ' + arch_map[arch_name] + ': {')
+        for arch_name in ARCHS:
+            if arch_name not in target['arch'].keys():
+                continue
+            arch = target['arch'][arch_name]
+            print('       ' + ARCH_NAME_MAP[arch_name] + ': {')
             if 'cflags' in arch.keys():
                 cflags = arch['cflags']
                 print('            cflags: {0},'.format(FormatList(cflags)))
@@ -460,10 +473,29 @@
     for target in targets.values():
         if target['type'] == 'static_library':
             source_sets = TransitiveDependencies(target['name'], 'source_set', targets)
-            source_sets_deps = set()
-            for ss in source_sets:
-                source_sets_deps |= set(targets[ss]['deps'])
-            target['deps'] = list(set(target['deps']) | source_sets | source_sets_deps)
+            source_sets_deps = {}
+            for a in ['global'] + ARCHS:
+                deps = set()
+                if a == 'global':
+                    for ss in [targets[n].get('deps', []) for n in source_sets[a]]:
+                        deps |= set(ss)
+                else:
+                    for ss in [targets[n].get('arch', {}).get(a, {}).get('deps') for n in source_sets[a]]:
+                        deps |= set(ss)
+                source_sets_deps[a] = deps
+            target['deps'] = sorted(set(target['deps']) | source_sets['global'] | source_sets_deps['global'])
+            for a in ARCHS:
+                deps = source_sets[a] | source_sets_deps[a]
+                if len(deps) == 0:
+                    continue
+                if 'arch' not in target:
+                    target['arch'] = {}
+                if a not in target['arch']:
+                    target['arch'][a] = {}
+                if 'deps' not in target['arch'][a]:
+                    target['arch'][a]['deps'] = []
+                deps |= set(target['arch'][a]['deps'])
+                target['arch'][a]['deps'] = sorted(deps)
 
     # Ignore empty source sets
     empty_sets = set()
@@ -482,16 +514,17 @@
         if target['type'] != 'static_library':
             continue
         source_sets = {d for d in target['deps'] if targets[d]['type'] == 'source_set'}
-        target['deps'] = list(set(target['deps']) - source_sets)
+        target['deps'] = sorted(list(set(target['deps']) - source_sets))
         target['sources'] += [':' + ss for ss in source_sets]
+        target['sources'] = sorted(target['sources'])
         if 'arch' in target:
-            for arch in target.values():
+            for arch in target['arch'].values():
                 if 'deps' in arch:
                     source_sets = {d for d in arch['deps'] if targets[d]['type'] == 'source_set'}
                     if len(source_sets) == 0:
                         continue;
-                    arch['deps'] = list(set(arch['deps']) - source_sets)
-                    arch['sources'] = arch.get('sources', []) + [':' + ss for ss in source_sets]
+                    arch['deps'] = sorted(list(set(arch['deps']) - source_sets))
+                    arch['sources'] = sorted(arch.get('sources', []) + [':' + ss for ss in source_sets])
 
     # Select libwebrtc, libaudio_processing and its dependencies
     selected = set()
@@ -499,54 +532,48 @@
     selected |= DFS('//modules/audio_processing:audio_processing', targets)
     return {FormatName(n): FormatNames(targets[n]) for n in selected}
 
-def NonNoneFrom(*args):
-    for a in args:
+def NonNoneFrom(l):
+    for a in l:
         if a is not None:
             return a
     return None
 
-def MergeListField(target, f, x64_target, x86_target, arm64_target, arm_target):
-    x64_set = set(x64_target.get(f, []))
-    x86_set = set(x86_target.get(f, []))
-    arm64_set = set(arm64_target.get(f, []))
-    arm_set = set(arm_target.get(f, []))
+def MergeListField(target, f, target_by_arch):
+    set_by_arch = {}
+    for a, t in target_by_arch.items():
+        if len(t) == 0:
+            # We only care about enabled archs
+            continue
+        set_by_arch[a] = set(t.get(f, []))
 
-    common = x64_set & x86_set & arm64_set & arm_set
-    x64_only = x64_set - common
-    x86_only = x86_set - common
-    arm64_only = arm64_set - common
-    arm_only = arm_set - common
+    union = set()
+    for _, s in set_by_arch.items():
+        union |= s
+
+    common = union
+    for a, s in set_by_arch.items():
+        common &= s
+
+    not_common = {a: s - common for a,s in set_by_arch.items()}
 
     if len(common) > 0:
         target[f] = list(common)
-    if len(x64_only) > 0:
-        target['arch']['x64'][f] = list(x64_only)
-    if len(x86_only) > 0:
-        target['arch']['x86'][f] = list(x86_only)
-    if len(arm64_only) > 0:
-        target['arch']['arm64'][f] = list(arm64_only)
-    if len(arm_only) > 0:
-        target['arch']['arm'][f] = list(arm_only)
+    for a, s in not_common.items():
+        if len(s) > 0:
+            target['arch'][a][f] = sorted(list(s))
 
-def Merge(x64_target, x86_target, arm64_target, arm_target):
+def Merge(target_by_arch):
     # The new target shouldn't have the transitive dependencies memoization fields
     # or have the union of those fields from all 4 input targets.
     target = {}
     for f in ['original_name', 'name', 'type']:
-        target[f] = NonNoneFrom(x64_target.get(f),
-                                x86_target.get(f),
-                                arm64_target.get(f),
-                                arm_target.get(f))
+        target[f] = NonNoneFrom([t.get(f) for _,t in target_by_arch.items()])
 
-    target['arch'] = {'x64': {}, 'x86': {}, 'arm64': {}, 'arm': {}}
-    if x64_target is None:
-        target['arch']['x64']['enabled'] = 'false'
-    if x86_target is None:
-        target['arch']['x86']['enabled'] = 'false'
-    if arm64_target is None:
-        target['arch']['arm64']['enabled'] = 'false'
-    if arm_target is None:
-        target['arch']['arm']['enabled'] = 'false'
+    target['arch'] = {}
+    for a, t in target_by_arch.items():
+        target['arch'][a] = {}
+        if len(t) == 0:
+            target['arch'][a]['enabled'] = 'false'
 
     list_fields = ['sources',
                    'deps',
@@ -555,7 +582,7 @@
                    'cflags_cc',
                    'asmflags']
     for lf in list_fields:
-        MergeListField(target, lf, x64_target, x86_target, arm64_target, arm_target)
+        MergeListField(target, lf, target_by_arch)
 
     # Static libraries should be depended on at the root level and disabled for
     # the corresponding architectures.
@@ -567,48 +594,79 @@
             target['deps'] = []
         target['deps'] += deps
         arch.pop('deps')
+    if 'deps' in target:
+        target['deps'] = sorted(target['deps'])
 
     # Remove empty sets
-    if len(target['arch']['x64']) == 0:
-        target['arch'].pop('x64')
-    if len(target['arch']['x86']) == 0:
-        target['arch'].pop('x86')
-    if len(target['arch']['arm64']) == 0:
-        target['arch'].pop('arm64')
-    if len(target['arch']['arm']) == 0:
-        target['arch'].pop('arm')
+    for a in ARCHS:
+        if len(target['arch'][a]) == 0:
+            target['arch'].pop(a)
     if len(target['arch']) == 0:
         target.pop('arch')
 
     return target
 
-def MergeAll(x64_targets, x86_targets, arm64_targets, arm_targets):
-    names = x64_targets.keys() | x86_targets.keys() | arm64_targets.keys() | arm_targets.keys()
+def DisabledArchs4Target(target):
+    ret = set()
+    for a in ARCHS:
+        if a not in target.get('arch', {}):
+            continue
+        if target['arch'][a].get('enabled', 'true') == 'false':
+            ret.add(a)
+    return ret
+
+
+def HandleDisabledArchs(targets):
+    for n, t in targets.items():
+        if 'arch' not in t:
+            continue
+        disabledArchs = DisabledArchs4Target(t)
+        if len(disabledArchs) == 0:
+            continue
+        # Fix targets that depend on this one
+        for t in targets.values():
+            if DisabledArchs4Target(t) == disabledArchs:
+                # With the same disabled archs there is no need to move dependencies
+                continue
+            if 'deps' in t and n in t['deps']:
+                # Remove the dependency from the high level list
+                t['deps'] = sorted(set(t['deps']) - {n})
+                if 'arch' not in t:
+                    t['arch'] = {}
+                for a in ARCHS:
+                    if a in disabledArchs:
+                        continue
+                    if a not in t['arch']:
+                        t['arch'][a] = {}
+                    if 'deps' not in t['arch'][a]:
+                        t['arch'][a]['deps'] = []
+                    t['arch'][a]['deps'] += [n]
+
+def MergeAll(targets_by_arch):
+    names = set()
+    for t in targets_by_arch.values():
+        names |= t.keys()
     targets = {}
     for name in names:
-        targets[name] = Merge(x64_targets.get(name, {}),
-                              x86_targets.get(name, {}),
-                              arm64_targets.get(name, {}),
-                              arm_targets.get(name, {}))
+        targets[name] = Merge({a: t.get(name, {}) for a,t in targets_by_arch.items()})
+
+    HandleDisabledArchs(targets)
+
     return targets
 
-if len(sys.argv) != 5:
-    print('wrong number of arguments')
-    exit()
+if len(sys.argv) != 2:
+    print('wrong number of arguments', file = sys.stderr)
+    exit(1)
 
-x64_json_file = open(sys.argv[1], 'r')
-x64_targets = Preprocess(json.load(x64_json_file))
+dir = sys.argv[1]
 
-x86_json_file = open(sys.argv[2], 'r')
-x86_targets = Preprocess(json.load(x86_json_file))
+targets_by_arch = {}
+for arch in ARCHS:
+    path = "{0}/project_{1}.json".format(dir, arch)
+    json_file = open(path, 'r')
+    targets_by_arch[arch] = Preprocess(json.load(json_file))
 
-arm64_json_file = open(sys.argv[3], 'r')
-arm64_targets = Preprocess(json.load(arm64_json_file))
-
-arm_json_file = open(sys.argv[4], 'r')
-arm_targets = Preprocess(json.load(arm_json_file))
-
-targets = MergeAll(x64_targets, x86_targets, arm64_targets, arm_targets)
+targets = MergeAll(targets_by_arch)
 
 PrintHeader()
 
@@ -628,17 +686,24 @@
         exit(1)
     print('\n\n')
 
-webrtc_libs = [d for d in TransitiveDependencies(FormatName('//:webrtc'), 'static_library', targets)]
+webrtc_libs = TransitiveDependencies(FormatName('//:webrtc'), 'static_library', targets)
 print('cc_library_static {')
 print('    name: "libwebrtc",')
 print('    defaults: ["webrtc_defaults"],')
 print('    export_include_dirs: ["."],')
-print('    whole_static_libs: {0},'.format(FormatList(webrtc_libs + ['libpffft', 'rnnoise_rnn_vad'])))
+print('    whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs['global']) + ['libpffft', 'rnnoise_rnn_vad'])))
+print('    arch: {')
+for a in ARCHS:
+    if len(webrtc_libs[a]) > 0:
+        print('        {0}: {{'.format(ARCH_NAME_MAP[a]))
+        print('            whole_static_libs: {0},'.format(FormatList(sorted(webrtc_libs[a]))))
+        print('        },')
+print('    },')
 print('}')
 
 print('\n\n')
 
-audio_proc_libs = [d for d in TransitiveDependencies(FormatName('//modules/audio_processing:audio_processing'), 'static_library', targets)]
+audio_proc_libs = TransitiveDependencies(FormatName('//modules/audio_processing:audio_processing'), 'static_library', targets)
 print('cc_library_static {')
 print('    name: "webrtc_audio_processing",')
 print('    defaults: ["webrtc_defaults"],')
@@ -647,5 +712,12 @@
 print('        "modules/include",')
 print('        "modules/audio_processing/include",')
 print('    ],')
-print('    whole_static_libs: {0},'.format(FormatList(audio_proc_libs + ['libpffft', 'rnnoise_rnn_vad'])))
+print('    whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs['global']) + ['libpffft', 'rnnoise_rnn_vad'])))
+print('    arch: {')
+for a in ARCHS:
+    if len(audio_proc_libs[a]) > 0:
+        print('        {0}: {{'.format(ARCH_NAME_MAP[a]))
+        print('            whole_static_libs: {0},'.format(FormatList(sorted(audio_proc_libs[a]))))
+        print('        },')
+print('    },')
 print('}')