Skip to content

Commit 67cd8a6

Browse files
committed
Import LibWebRTC from upstream (275313@main)
1 parent 9bde8d4 commit 67cd8a6

298 files changed

Lines changed: 11842 additions & 103877 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.git-blame-ignore-revs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4843f46ea7b6b6e17470e670d9c9f748c3455720

Source/ThirdParty/libwebrtc/CMakeLists.txt

Lines changed: 26 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ set(webrtc_SOURCES
4242
Source/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc
4343
Source/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc
4444
Source/third_party/abseil-cpp/absl/base/log_severity.cc
45-
Source/third_party/abseil-cpp/absl/base/spinlock_test_common.cc
4645
Source/third_party/abseil-cpp/absl/container/internal/hash_generator_testing.cc
4746
Source/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc
4847
Source/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc
@@ -110,7 +109,6 @@ set(webrtc_SOURCES
110109
Source/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc
111110
Source/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc
112111
Source/third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc
113-
Source/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc
114112
Source/third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc
115113
Source/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc
116114
Source/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc
@@ -191,7 +189,6 @@ set(webrtc_SOURCES
191189
Source/third_party/boringssl/src/crypto/bio/bio.c
192190
Source/third_party/boringssl/src/crypto/bio/bio_mem.c
193191
Source/third_party/boringssl/src/crypto/bio/connect.c
194-
Source/third_party/boringssl/src/crypto/bio/errno.c
195192
Source/third_party/boringssl/src/crypto/bio/fd.c
196193
Source/third_party/boringssl/src/crypto/bio/file.c
197194
Source/third_party/boringssl/src/crypto/bio/hexdump.c
@@ -340,7 +337,7 @@ set(webrtc_SOURCES
340337
Source/third_party/boringssl/src/crypto/fipsmodule/tls/kdf.c
341338
Source/third_party/boringssl/src/crypto/hpke/hpke.c
342339
Source/third_party/boringssl/src/crypto/hrss/hrss.c
343-
Source/third_party/boringssl/src/crypto/keccak/keccak.c
340+
Source/third_party/boringssl/src/crypto/kyber/keccak.c
344341
Source/third_party/boringssl/src/crypto/kyber/kyber.c
345342
Source/third_party/boringssl/src/crypto/lhash/lhash.c
346343
Source/third_party/boringssl/src/crypto/mem.c
@@ -369,7 +366,8 @@ set(webrtc_SOURCES
369366
Source/third_party/boringssl/src/crypto/rand_extra/rand_extra.c
370367
Source/third_party/boringssl/src/crypto/rand_extra/windows.c
371368
Source/third_party/boringssl/src/crypto/rc4/rc4.c
372-
Source/third_party/boringssl/src/crypto/refcount.c
369+
Source/third_party/boringssl/src/crypto/refcount_c11.c
370+
Source/third_party/boringssl/src/crypto/refcount_lock.c
373371
Source/third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c
374372
Source/third_party/boringssl/src/crypto/rsa_extra/rsa_crypt.c
375373
Source/third_party/boringssl/src/crypto/rsa_extra/rsa_print.c
@@ -471,45 +469,6 @@ set(webrtc_SOURCES
471469
Source/third_party/boringssl/src/decrepit/ssl/ssl_decrepit.c
472470
Source/third_party/boringssl/src/decrepit/x509/x509_decrepit.c
473471
Source/third_party/boringssl/src/decrepit/xts/xts.c
474-
Source/third_party/boringssl/src/pki/asn1_util.cc
475-
Source/third_party/boringssl/src/pki/cert_error_id.cc
476-
Source/third_party/boringssl/src/pki/cert_error_params.cc
477-
Source/third_party/boringssl/src/pki/cert_errors.cc
478-
Source/third_party/boringssl/src/pki/cert_issuer_source_static.cc
479-
Source/third_party/boringssl/src/pki/certificate_policies.cc
480-
Source/third_party/boringssl/src/pki/common_cert_errors.cc
481-
Source/third_party/boringssl/src/pki/crl.cc
482-
Source/third_party/boringssl/src/pki/encode_values.cc
483-
Source/third_party/boringssl/src/pki/extended_key_usage.cc
484-
Source/third_party/boringssl/src/pki/fillins/file_util.cc
485-
Source/third_party/boringssl/src/pki/fillins/fillins_base64.cc
486-
Source/third_party/boringssl/src/pki/fillins/fillins_string_util.cc
487-
Source/third_party/boringssl/src/pki/fillins/openssl_util.cc
488-
Source/third_party/boringssl/src/pki/fillins/path_service.cc
489-
Source/third_party/boringssl/src/pki/general_names.cc
490-
Source/third_party/boringssl/src/pki/input.cc
491-
Source/third_party/boringssl/src/pki/ip_util.cc
492-
Source/third_party/boringssl/src/pki/mock_signature_verify_cache.cc
493-
Source/third_party/boringssl/src/pki/name_constraints.cc
494-
Source/third_party/boringssl/src/pki/ocsp.cc
495-
Source/third_party/boringssl/src/pki/ocsp_verify_result.cc
496-
Source/third_party/boringssl/src/pki/parse_certificate.cc
497-
Source/third_party/boringssl/src/pki/parse_name.cc
498-
Source/third_party/boringssl/src/pki/parse_values.cc
499-
Source/third_party/boringssl/src/pki/parsed_certificate.cc
500-
Source/third_party/boringssl/src/pki/parser.cc
501-
Source/third_party/boringssl/src/pki/pem.cc
502-
Source/third_party/boringssl/src/pki/revocation_util.cc
503-
Source/third_party/boringssl/src/pki/signature_algorithm.cc
504-
Source/third_party/boringssl/src/pki/simple_path_builder_delegate.cc
505-
Source/third_party/boringssl/src/pki/string_util.cc
506-
Source/third_party/boringssl/src/pki/tag.cc
507-
Source/third_party/boringssl/src/pki/trust_store.cc
508-
Source/third_party/boringssl/src/pki/trust_store_collection.cc
509-
Source/third_party/boringssl/src/pki/trust_store_in_memory.cc
510-
Source/third_party/boringssl/src/pki/verify_certificate_chain.cc
511-
Source/third_party/boringssl/src/pki/verify_name_match.cc
512-
Source/third_party/boringssl/src/pki/verify_signed_data.cc
513472
Source/third_party/boringssl/src/rust/bssl-sys/rust_wrapper.c
514473
Source/third_party/boringssl/src/ssl/bio_ssl.cc
515474
Source/third_party/boringssl/src/ssl/d1_both.cc
@@ -567,10 +526,13 @@ set(webrtc_SOURCES
567526
Source/third_party/boringssl/src/tool/transport_common.cc
568527
Source/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/main.cc
569528
Source/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/modulewrapper.cc
529+
Source/third_party/crc32c/src/src/crc32c_arm64.cc
530+
Source/third_party/crc32c/src/src/crc32c.cc
531+
Source/third_party/crc32c/src/src/crc32c_portable.cc
532+
Source/third_party/crc32c/src/src/crc32c_sse42.cc
570533
Source/third_party/libyuv/source/compare.cc
571534
Source/third_party/libyuv/source/compare_common.cc
572535
Source/third_party/libyuv/source/compare_gcc.cc
573-
Source/third_party/libyuv/source/compare_mmi.cc
574536
Source/third_party/libyuv/source/compare_msa.cc
575537
Source/third_party/libyuv/source/convert_argb.cc
576538
Source/third_party/libyuv/source/convert.cc
@@ -589,15 +551,13 @@ set(webrtc_SOURCES
589551
Source/third_party/libyuv/source/rotate_common.cc
590552
Source/third_party/libyuv/source/rotate_gcc.cc
591553
Source/third_party/libyuv/source/rotate_lsx.cc
592-
Source/third_party/libyuv/source/rotate_mmi.cc
593554
Source/third_party/libyuv/source/rotate_msa.cc
594555
Source/third_party/libyuv/source/rotate_win.cc
595556
Source/third_party/libyuv/source/row_any.cc
596557
Source/third_party/libyuv/source/row_common.cc
597558
Source/third_party/libyuv/source/row_gcc.cc
598559
Source/third_party/libyuv/source/row_lasx.cc
599560
Source/third_party/libyuv/source/row_lsx.cc
600-
Source/third_party/libyuv/source/row_mmi.cc
601561
Source/third_party/libyuv/source/row_msa.cc
602562
Source/third_party/libyuv/source/row_win.cc
603563
Source/third_party/libyuv/source/scale_any.cc
@@ -606,9 +566,9 @@ set(webrtc_SOURCES
606566
Source/third_party/libyuv/source/scale_common.cc
607567
Source/third_party/libyuv/source/scale_gcc.cc
608568
Source/third_party/libyuv/source/scale_lsx.cc
609-
Source/third_party/libyuv/source/scale_mmi.cc
610569
Source/third_party/libyuv/source/scale_msa.cc
611570
Source/third_party/libyuv/source/scale_rgb.cc
571+
Source/third_party/libyuv/source/scale_rvv.cc
612572
Source/third_party/libyuv/source/scale_uv.cc
613573
Source/third_party/libyuv/source/scale_win.cc
614574
Source/third_party/libyuv/source/video_common.cc
@@ -910,7 +870,6 @@ set(webrtc_SOURCES
910870
Source/webrtc/logging/rtc_event_log/events/rtc_event_video_send_stream_config.cc
911871
Source/webrtc/logging/rtc_event_log/ice_logger.cc
912872
Source/webrtc/logging/rtc_event_log/rtc_event_log_impl.cc
913-
Source/webrtc/logging/rtc_event_log/rtc_event_processor.cc
914873
Source/webrtc/logging/rtc_event_log/rtc_stream_config.cc
915874
Source/webrtc/media/base/adapted_video_track_source.cc
916875
Source/webrtc/media/base/codec.cc
@@ -1261,8 +1220,6 @@ set(webrtc_SOURCES
12611220
Source/webrtc/modules/audio_processing/residual_echo_detector.cc
12621221
Source/webrtc/modules/audio_processing/rms_level.cc
12631222
Source/webrtc/modules/audio_processing/splitting_filter.cc
1264-
Source/webrtc/modules/audio_processing/test/conversational_speech/config.cc
1265-
Source/webrtc/modules/audio_processing/test/conversational_speech/timing.cc
12661223
Source/webrtc/modules/audio_processing/three_band_filter_bank.cc
12671224
Source/webrtc/modules/audio_processing/transient/click_annotate.cc
12681225
Source/webrtc/modules/audio_processing/transient/file_utils.cc
@@ -1434,10 +1391,6 @@ set(webrtc_SOURCES
14341391
Source/webrtc/modules/third_party/g722/g722_encode.c
14351392
Source/webrtc/modules/third_party/portaudio/pa_ringbuffer.c
14361393
Source/webrtc/modules/video_capture/device_info_impl.cc
1437-
Source/webrtc/modules/video_capture/linux/device_info_linux.cc
1438-
Source/webrtc/modules/video_capture/linux/device_info_v4l2.cc
1439-
Source/webrtc/modules/video_capture/linux/video_capture_linux.cc
1440-
Source/webrtc/modules/video_capture/linux/video_capture_v4l2.cc
14411394
Source/webrtc/modules/video_capture/video_capture_factory.cc
14421395
Source/webrtc/modules/video_capture/video_capture_factory_null.cc
14431396
Source/webrtc/modules/video_capture/video_capture_impl.cc
@@ -1569,6 +1522,7 @@ set(webrtc_SOURCES
15691522
Source/webrtc/net/dcsctp/packet/parameter/ssn_tsn_reset_request_parameter.cc
15701523
Source/webrtc/net/dcsctp/packet/parameter/state_cookie_parameter.cc
15711524
Source/webrtc/net/dcsctp/packet/parameter/supported_extensions_parameter.cc
1525+
Source/webrtc/net/dcsctp/packet/parameter/zero_checksum_acceptable_chunk_parameter.cc
15721526
Source/webrtc/net/dcsctp/packet/sctp_packet.cc
15731527
Source/webrtc/net/dcsctp/packet/tlv_trait.cc
15741528
Source/webrtc/net/dcsctp/public/dcsctp_handover_state.cc
@@ -1670,10 +1624,10 @@ set(webrtc_SOURCES
16701624
Source/webrtc/pc/sctp_transport.cc
16711625
Source/webrtc/pc/sctp_utils.cc
16721626
Source/webrtc/pc/sdp_offer_answer.cc
1673-
Source/webrtc/pc/sdp_serializer.cc
16741627
Source/webrtc/pc/sdp_utils.cc
16751628
Source/webrtc/pc/session_description.cc
16761629
Source/webrtc/pc/simulcast_description.cc
1630+
Source/webrtc/pc/simulcast_sdp_serializer.cc
16771631
Source/webrtc/pc/srtp_filter.cc
16781632
Source/webrtc/pc/srtp_session.cc
16791633
Source/webrtc/pc/srtp_transport.cc
@@ -1825,7 +1779,6 @@ set(webrtc_SOURCES
18251779
Source/webrtc/stats/rtc_stats_report.cc
18261780
Source/webrtc/system_wrappers/source/clock.cc
18271781
Source/webrtc/system_wrappers/source/cpu_features.cc
1828-
Source/webrtc/system_wrappers/source/cpu_features_linux.cc
18291782
Source/webrtc/system_wrappers/source/cpu_info.cc
18301783
Source/webrtc/system_wrappers/source/denormal_disabler.cc
18311784
Source/webrtc/system_wrappers/source/field_trial.cc
@@ -1855,9 +1808,9 @@ set(webrtc_SOURCES
18551808
Source/webrtc/video/frame_cadence_adapter.cc
18561809
Source/webrtc/video/frame_decode_timing.cc
18571810
Source/webrtc/video/frame_dumping_decoder.cc
1811+
Source/webrtc/video/frame_dumping_encoder.cc
18581812
Source/webrtc/video/frame_encode_metadata_writer.cc
18591813
Source/webrtc/video/quality_limitation_reason_tracker.cc
1860-
Source/webrtc/video/quality_threshold.cc
18611814
Source/webrtc/video/receive_statistics_proxy.cc
18621815
Source/webrtc/video/render/incoming_video_stream.cc
18631816
Source/webrtc/video/render/video_render_frames.cc
@@ -2147,7 +2100,14 @@ else ()
21472100
set(WEBKIT_LIBWEBRTC_OPENH264_ENCODER 0)
21482101
else()
21492102
list(APPEND webrtc_SOURCES
2103+
Source/webrtc/modules/video_capture/linux/device_info_linux.cc
2104+
Source/webrtc/modules/video_capture/linux/device_info_v4l2.cc
2105+
Source/webrtc/modules/video_capture/linux/video_capture_linux.cc
2106+
Source/webrtc/modules/video_capture/linux/video_capture_v4l2.cc
2107+
21502108
Source/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc
2109+
2110+
Source/webrtc/system_wrappers/source/cpu_features_linux.cc
21512111
)
21522112
set(WEBKIT_LIBWEBRTC_OPENH264_ENCODER 1)
21532113
endif ()
@@ -2173,23 +2133,14 @@ else ()
21732133

21742134
Source/webrtc/modules/audio_device/linux/alsasymboltable_linux.cc
21752135
Source/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc
2136+
Source/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc
21762137
Source/webrtc/modules/audio_device/linux/audio_mixer_manager_alsa_linux.cc
2138+
Source/webrtc/modules/audio_device/linux/audio_mixer_manager_pulse_linux.cc
21772139
Source/webrtc/modules/audio_device/linux/latebindingsymboltable_linux.cc
2140+
Source/webrtc/modules/audio_device/linux/pulseaudiosymboltable_linux.cc
21782141

21792142
Source/webrtc/modules/video_coding/codecs/h264/h264.cc
21802143
)
2181-
2182-
find_package(LibPulse)
2183-
if (NOT LIBPULSE_FOUND)
2184-
message(STATUS "libpulse is not found, not building support.")
2185-
else()
2186-
list(APPEND webrtc_SOURCES
2187-
Source/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc
2188-
Source/webrtc/modules/audio_device/linux/audio_mixer_manager_pulse_linux.cc
2189-
Source/webrtc/modules/audio_device/linux/pulseaudiosymboltable_linux.cc
2190-
)
2191-
endif ()
2192-
21932144
endif ()
21942145

21952146
add_library(webrtc STATIC ${webrtc_SOURCES})
@@ -2285,6 +2236,8 @@ set(webrtc_INCLUDE_DIRECTORIES PRIVATE
22852236
Source/third_party/abseil-cpp
22862237
Source/third_party/abseil-cpp/absl/types
22872238
Source/third_party/boringssl/src/include
2239+
Source/third_party/crc32c/config
2240+
Source/third_party/crc32c/src/include
22882241
Source/third_party/libsrtp/config
22892242
Source/third_party/libsrtp/crypto/include
22902243
Source/third_party/libsrtp/include
@@ -2770,7 +2723,6 @@ if (APPLE)
27702723
Source/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
27712724
Source/third_party/libvpx/source/libvpx/vp8/vp8_ratectrl_rtc.cc
27722725
Source/third_party/libvpx/source/libvpx/vp9/encoder/vp9_tpl_model.c
2773-
Source/third_party/libvpx/source/libvpx/vp9/encoder/x86/vp9_quantize_ssse3.c
27742726
Source/third_party/libvpx/source/libvpx/vpx/src/vpx_tpl.c
27752727
)
27762728

@@ -2791,6 +2743,7 @@ if (APPLE)
27912743
Source/third_party/libvpx/source/libvpx/vp8/common/x86/idct_blk_mmx.c
27922744
Source/third_party/libvpx/source/libvpx/vp8/common/x86/loopfilter_x86.c
27932745
Source/third_party/libvpx/source/libvpx/vp8/common/x86/vp8_asm_stubs.c
2746+
Source/third_party/libvpx/source/libvpx/vp9/encoder/x86/vp9_quantize_ssse3.c
27942747
Source/third_party/libvpx/source/libvpx/vpx_dsp/x86/highbd_idct8x8_add_sse4.c
27952748
Source/third_party/libvpx/source/libvpx/vpx_dsp/x86/highbd_idct4x4_add_sse4.c
27962749
Source/third_party/libvpx/source/libvpx/vpx_dsp/x86/highbd_idct32x32_add_sse4.c
@@ -3031,8 +2984,9 @@ if (APPLE)
30312984
)
30322985
target_compile_options(vpx PRIVATE -mavx2)
30332986
else ()
2987+
# Use the linux configuration instead of iOS on Cocoa arm64 platforms.
30342988
list(APPEND vpx_INCLUDE_DIRECTORIES
3035-
Source/third_party/libvpx/source/config/ios/arm64
2989+
Source/third_party/libvpx/source/config/linux/arm64-highbd
30362990
)
30372991
endif ()
30382992
target_include_directories(vpx PRIVATE ${vpx_INCLUDE_DIRECTORIES})
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
CLANG_WARN_BOOL_CONVERSION = YES;
2+
CLANG_WARN_ENUM_CONVERSION = YES;
3+
CLANG_WARN_INT_CONVERSION = YES;
4+
CLANG_WARN_STRICT_PROTOTYPES = NO;
5+
CLANG_X86_VECTOR_INSTRUCTIONS = default;
6+
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
7+
COMBINE_HIDPI_IMAGES = NO;
8+
ENABLE_STRICT_OBJC_MSGSEND = YES;
9+
10+
HEADER_SEARCH_PATHS[arch=x86_64] = Source/third_party/libvpx/source/config/mac/x64 Source/third_party/libvpx/source/libvpx Source/third_party/libvpx/source/config;
11+
HEADER_SEARCH_PATHS[arch=arm64*] = Source/third_party/libvpx/source/config/linux/arm64-highbd Source/third_party/libvpx/source/libvpx Source/third_party/libvpx/source/config;
12+
USE_HEADERMAP = NO;
13+
14+
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*] = $(inherited) WEBRTC_WEBKIT_DISABLE_HARDWARE_ACCELERATION;
15+
GCC_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = $(inherited) $(GCC_PREPROCESSOR_DEFINITIONS_$(WK_IS_CATALYST))
16+
GCC_PREPROCESSOR_DEFINITIONS_YES = WEBRTC_WEBKIT_MAC_CATALIST
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Copyright (C) 2017-2023 Apple Inc. All rights reserved.
2+
//
3+
// Redistribution and use in source and binary forms, with or without
4+
// modification, are permitted provided that the following conditions
5+
// are met:
6+
// 1. Redistributions of source code must retain the above copyright
7+
// notice, this list of conditions and the following disclaimer.
8+
// 2. Redistributions in binary form must reproduce the above copyright
9+
// notice, this list of conditions and the following disclaimer in the
10+
// documentation and/or other materials provided with the distribution.
11+
//
12+
// THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
13+
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
15+
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
16+
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
17+
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
18+
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
19+
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
20+
// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23+
24+
HEADER_SEARCH_PATHS = Source Source/third_party/libsrtp/crypto/include Source/third_party/libsrtp/include Source/third_party/boringssl/src/include Source/third_party/libyuv/include Source/webrtc/sdk/objc/Framework/Headers Source/webrtc/common_audio/signal_processing/include Source/webrtc/modules/audio_coding/codecs/isac/main/include Source/third_party/opus/src/celt Source/third_party/opus/src/include Source/third_party/opus/src/src Source/webrtc/modules/audio_device/mac Source/webrtc/modules/audio_device/ios Source/webrtc Source/webrtc/sdk/objc Source/webrtc/sdk/objc/base Source/webrtc/sdk/objc/Framework/Classes Source/third_party/libsrtp/config Source/webrtc/sdk/objc/Framework/Classes/Common Source/webrtc/sdk/objc/Framework/Classes/Video Source/webrtc/sdk/objc/Framework/Classes/PeerConnection Source/third_party/abseil-cpp Source/third_party/libvpx/source/libvpx Source/third_party/libwebm/webm_parser/include Source/third_party/crc32c/config Source/third_party/crc32c/include Source/third_party/crc32c/src/include Source/third_party/libaom/source/libaom;
25+
USE_HEADERMAP = NO;
26+
27+
WARNING_CFLAGS = -Wno-deprecated-declarations $(inherited);
28+
29+
// FIXME: Set WEBRTC_USE_BUILTIN_ISAC_FIX and WEBRTC_USE_BUILTIN_ISAC_FLOAT for iOS and Mac
30+
GCC_PREPROCESSOR_DEFINITIONS = GTEST_RELATIVE_PATH WEBRTC_OPUS_SUPPORT_120MS_PTIME=0 WEBRTC_POSIX WEBRTC_MAC SSL_USE_OPENSSL FEATURE_ENABLE_SSL HAVE_SRTP HAVE_NETINET_IN_H HAVE_OPENSSL_SSL_H SCTP_PROCESS_LEVEL_LOCKS SCTP_SIMPLE_ALLOCATOR SCTP_USE_OPENSSL_SHA1 __Userspace__ HAVE_SA_LEN HAVE_SCONN_LEN __APPLE_USE_RFC_2292 __Userspace_os_Darwin NON_WINDOWS_DEFINE HAVE_WEBRTC_VIDEO HAVE_WEBRTC_VOICE WEBRTC_INTELLIGIBILITY_ENHANCER=0 WEBRTC_APM_DEBUG_DUMP=0 WEBRTC_NS_FLOAT WEBRTC_USE_H265 WEBRTC_USE_BUILTIN_OPUS WEBRTC_CODEC_OPUS WEBRTC_CODEC_ISAC WEBRTC_CODEC_RED HAVE_STDINT_H HAVE_STDLIB_H HAVE_UINT64_T OPENSSL HAVE_CONFIG_H HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE HAVE_SCTP WEBRTC_CODEC_G711 WEBRTC_CODEC_G722 WEBRTC_OPUS_VARIABLE_COMPLEXITY=0 WEBRTC_USE_BUILTIN_ISAC_FIX=1 WEBRTC_USE_BUILTIN_ISAC_FLOAT=0 USE_BUILTIN_SW_CODECS RTC_ENABLE_VP9 NO_MAIN_THREAD_WRAPPING RTC_DISABLE_TRACE_EVENTS WEBRTC_HAVE_SCTP WEBRTC_EXCLUDE_TRANSIENT_SUPPRESSOR WEBRTC_HAVE_DCSCTP $(inherited);
31+
32+
GCC_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = $(inherited) WEBRTC_USE_VTB_HARDWARE_ENCODER $(GCC_PREPROCESSOR_DEFINITIONS_$(WK_IS_CATALYST));
33+
GCC_PREPROCESSOR_DEFINITIONS_YES = WEBRTC_MAC_CATALYST WEBRTC_IOS;
34+
GCC_PREPROCESSOR_DEFINITIONS[sdk=appletv*] = $(inherited) WEBRTC_IOS;
35+
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphone*] = $(inherited) WEBRTC_IOS;

0 commit comments

Comments
 (0)