Skip to content

Commit fb00d1f

Browse files
youennfphiln
authored andcommitted
Update abseil-cpp and crc32c to M120
https://bugs.webkit.org/show_bug.cgi?id=265861 rdar://119182463 Reviewed by Jean-Yves Avenard. Resync these libwebrtc third party libraries up to M120. * Source/ThirdParty/libwebrtc/Configurations/libwebrtc.exp: * Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp: Resynced. * Source/ThirdParty/libwebrtc/Source/third_party/crc32c/BUILD.gn: * Source/ThirdParty/libwebrtc/Source/third_party/crc32c/README.chromium: * Source/ThirdParty/libwebrtc/Source/third_party/crc32c/config/crc32c/crc32c_config.h: * Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/271603@main
1 parent 05e9c16 commit fb00d1f

380 files changed

Lines changed: 12740 additions & 17624 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.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Bug Report
2+
description: Let us know that something does not work as expected.
3+
title: "[Bug]: Please title this bug report"
4+
body:
5+
- type: textarea
6+
id: what-happened
7+
attributes:
8+
label: Describe the issue
9+
description: What happened, and what did you expect to happen?
10+
validations:
11+
required: true
12+
- type: textarea
13+
id: steps
14+
attributes:
15+
label: Steps to reproduce the problem
16+
description: It is important that we are able to reproduce the problem that you are experiencing. Please provide all code and relevant steps to reproduce the problem, including your `BUILD`/`CMakeLists.txt` file and build commands. Links to a GitHub branch or [godbolt.org](https://godbolt.org/) that demonstrate the problem are also helpful.
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: version
21+
attributes:
22+
label: What version of Abseil are you using?
23+
description: Please include the output of `git rev-parse HEAD` or the name of the LTS release that you are using.
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: os
28+
attributes:
29+
label: What operating system and version are you using?
30+
description: If you are using a Linux distribution please include the name and version of the distribution as well.
31+
validations:
32+
required: true
33+
- type: textarea
34+
id: compiler
35+
attributes:
36+
label: What compiler and version are you using?
37+
description: Please include the output of `gcc -v` or `clang -v`, or the equivalent for your compiler.
38+
validations:
39+
required: true
40+
- type: textarea
41+
id: buildsystem
42+
attributes:
43+
label: What build system are you using?
44+
description: Please include the output of `bazel --version` or `cmake --version`, or the equivalent for your build system.
45+
validations:
46+
required: true
47+
- type: textarea
48+
id: additional
49+
attributes:
50+
label: Additional context
51+
description: Add any other context about the problem here.
52+
validations:
53+
required: false
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Question
4+
url: https://github.com/abseil/abseil-cpp/discussions
5+
about: Have a question? Ask us anything! :-)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Thank you for your contribution to Abseil!
2+
3+
Before submitting this PR, please be sure to read our [contributing
4+
guidelines](https://github.com/abseil/abseil-cpp/blob/master/CONTRIBUTING.md).
5+
6+
If you are a Googler, please also note that it is required that you send us a
7+
Piper CL instead of using the GitHub pull-request process. The code propagation
8+
process will deliver the change to GitHub.

Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/BUILD.gn

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ group("absl_component_deps") {
6161
"//third_party/abseil-cpp/absl/base",
6262
"//third_party/abseil-cpp/absl/base:config",
6363
"//third_party/abseil-cpp/absl/base:core_headers",
64+
"//third_party/abseil-cpp/absl/base:nullability",
6465
"//third_party/abseil-cpp/absl/base:prefetch",
6566
"//third_party/abseil-cpp/absl/cleanup",
6667
"//third_party/abseil-cpp/absl/container:btree",
@@ -76,6 +77,7 @@ group("absl_component_deps") {
7677
"//third_party/abseil-cpp/absl/functional:any_invocable",
7778
"//third_party/abseil-cpp/absl/functional:bind_front",
7879
"//third_party/abseil-cpp/absl/functional:function_ref",
80+
"//third_party/abseil-cpp/absl/functional:overload",
7981
"//third_party/abseil-cpp/absl/hash",
8082
"//third_party/abseil-cpp/absl/log:absl_check",
8183
"//third_party/abseil-cpp/absl/log:absl_log",
@@ -90,7 +92,9 @@ group("absl_component_deps") {
9092
"//third_party/abseil-cpp/absl/status:statusor",
9193
"//third_party/abseil-cpp/absl/strings",
9294
"//third_party/abseil-cpp/absl/strings:cord",
95+
"//third_party/abseil-cpp/absl/strings:has_ostream_operator",
9396
"//third_party/abseil-cpp/absl/strings:str_format",
97+
"//third_party/abseil-cpp/absl/strings:string_view",
9498
"//third_party/abseil-cpp/absl/synchronization",
9599
"//third_party/abseil-cpp/absl/time",
96100
"//third_party/abseil-cpp/absl/types:optional",
@@ -189,21 +193,29 @@ if (build_with_chromium) {
189193
"absl/algorithm:algorithm_test",
190194
"absl/algorithm:container_test",
191195
"absl/base:config_test",
196+
"absl/base:nullability_test",
192197
"absl/base:prefetch_test",
193198
"absl/cleanup:cleanup_test",
199+
194200
# TODO(mbonadei): Fix issue with EXPECT_DEATH and uncomment.
195201
# "absl/container:btree_test",
196202
"absl/container:common_policy_traits_test",
203+
"absl/container:fixed_array_test",
204+
"absl/container:flat_hash_set_test",
197205
"absl/container:inlined_vector_test",
198206
"absl/container:node_slot_policy_test",
207+
"absl/container:raw_hash_set_allocator_test",
199208
"absl/container:sample_element_size_test",
200209
"absl/crc:crc32c_test",
201210
"absl/crc:crc_cord_state_test",
202211
"absl/crc:crc_memcpy_test",
203212
"absl/crc:non_temporal_memcpy_test",
204213
"absl/debugging:stacktrace_test",
214+
"absl/flags:flag_test",
205215
"absl/functional:any_invocable_test",
206216
"absl/functional:function_ref_test",
217+
"absl/functional:overload_test",
218+
"absl/hash:hash_instantiated_test",
207219
"absl/hash:hash_test",
208220
"absl/hash:low_level_hash_test",
209221
"absl/log:absl_check_test",
@@ -219,14 +231,18 @@ if (build_with_chromium) {
219231
"absl/log:log_streamer_test",
220232
"absl/log:scoped_mock_log_test",
221233
"absl/log:stripping_test",
234+
"absl/log/internal:fnmatch_test",
222235
"absl/log/internal:stderr_log_sink_test",
223236
"absl/memory:memory_test",
224237
"absl/meta:type_traits_test",
225238
"absl/numeric:int128_test",
226239
"absl/profiling:exponential_biased_test",
227240
"absl/profiling:periodic_sampler_test",
241+
"absl/status:status_test",
228242
"absl/status:statusor_test",
229243
"absl/strings:ascii_test",
244+
"absl/strings:char_formatting_test",
245+
"absl/strings:charset_test",
230246
"absl/strings:cord_buffer_test",
231247
"absl/strings:cord_data_edge_test",
232248
"absl/strings:cord_rep_btree_navigator_test",
@@ -240,6 +256,8 @@ if (build_with_chromium) {
240256
"absl/strings:cordz_update_scope_test",
241257
"absl/strings:cordz_update_tracker_test",
242258
"absl/strings:damerau_levenshtein_distance_test",
259+
"absl/strings:has_absl_stringify_test",
260+
"absl/strings:has_ostream_operator_test",
243261
"absl/strings:match_test",
244262
"absl/strings:str_replace_test",
245263
"absl/strings:string_view_test",

Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/CMake/AbseilDll.cmake

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ set(ABSL_INTERNAL_DLL_FILES
2525
"base/internal/low_level_alloc.cc"
2626
"base/internal/low_level_alloc.h"
2727
"base/internal/low_level_scheduling.h"
28+
"base/internal/nullability_impl.h"
2829
"base/internal/per_thread_tls.h"
29-
"base/internal/prefetch.h"
3030
"base/prefetch.h"
3131
"base/internal/pretty_function.h"
3232
"base/internal/raw_logging.cc"
@@ -54,6 +54,7 @@ set(ABSL_INTERNAL_DLL_FILES
5454
"base/log_severity.cc"
5555
"base/log_severity.h"
5656
"base/macros.h"
57+
"base/nullability.h"
5758
"base/optimization.h"
5859
"base/options.h"
5960
"base/policy_checks.h"
@@ -73,7 +74,6 @@ set(ABSL_INTERNAL_DLL_FILES
7374
"container/internal/common_policy_traits.h"
7475
"container/internal/compressed_tuple.h"
7576
"container/internal/container_memory.h"
76-
"container/internal/counting_allocator.h"
7777
"container/internal/hash_function_defaults.h"
7878
"container/internal/hash_policy_traits.h"
7979
"container/internal/hashtable_debug.h"
@@ -105,7 +105,7 @@ set(ABSL_INTERNAL_DLL_FILES
105105
"crc/internal/crc_x86_arm_combined.cc"
106106
"crc/internal/crc_memcpy_fallback.cc"
107107
"crc/internal/crc_memcpy.h"
108-
"crc/internal/crc_memcpy_x86_64.cc"
108+
"crc/internal/crc_memcpy_x86_arm_combined.cc"
109109
"crc/internal/crc_non_temporal_memcpy.cc"
110110
"crc/internal/crc_x86_arm_combined.cc"
111111
"crc/internal/non_temporal_arm_intrinsics.h"
@@ -137,6 +137,7 @@ set(ABSL_INTERNAL_DLL_FILES
137137
"functional/function_ref.h"
138138
"functional/internal/any_invocable.h"
139139
"functional/internal/function_ref.h"
140+
"functional/overload.h"
140141
"hash/hash.h"
141142
"hash/internal/city.h"
142143
"hash/internal/city.cc"
@@ -159,6 +160,8 @@ set(ABSL_INTERNAL_DLL_FILES
159160
"log/internal/conditions.cc"
160161
"log/internal/conditions.h"
161162
"log/internal/config.h"
163+
"log/internal/fnmatch.h"
164+
"log/internal/fnmatch.cc"
162165
"log/internal/globals.cc"
163166
"log/internal/globals.h"
164167
"log/internal/log_format.cc"
@@ -246,6 +249,7 @@ set(ABSL_INTERNAL_DLL_FILES
246249
"random/uniform_real_distribution.h"
247250
"random/zipf_distribution.h"
248251
"status/internal/status_internal.h"
252+
"status/internal/status_internal.cc"
249253
"status/internal/statusor_internal.h"
250254
"status/status.h"
251255
"status/status.cc"
@@ -257,6 +261,7 @@ set(ABSL_INTERNAL_DLL_FILES
257261
"strings/ascii.h"
258262
"strings/charconv.cc"
259263
"strings/charconv.h"
264+
"strings/charset.h"
260265
"strings/cord.cc"
261266
"strings/cord.h"
262267
"strings/cord_analysis.cc"
@@ -283,9 +288,6 @@ set(ABSL_INTERNAL_DLL_FILES
283288
"strings/internal/cord_rep_consume.h"
284289
"strings/internal/cord_rep_consume.cc"
285290
"strings/internal/cord_rep_flat.h"
286-
"strings/internal/cord_rep_ring.cc"
287-
"strings/internal/cord_rep_ring.h"
288-
"strings/internal/cord_rep_ring_reader.h"
289291
"strings/internal/cordz_functions.cc"
290292
"strings/internal/cordz_functions.h"
291293
"strings/internal/cordz_handle.cc"
@@ -303,7 +305,8 @@ set(ABSL_INTERNAL_DLL_FILES
303305
"strings/internal/string_constant.h"
304306
"strings/internal/stringify_sink.h"
305307
"strings/internal/stringify_sink.cc"
306-
"strings/internal/has_absl_stringify.h"
308+
"strings/has_absl_stringify.h"
309+
"strings/has_ostream_operator.h"
307310
"strings/match.cc"
308311
"strings/match.h"
309312
"strings/numbers.cc"
@@ -321,7 +324,6 @@ set(ABSL_INTERNAL_DLL_FILES
321324
"strings/strip.h"
322325
"strings/substitute.cc"
323326
"strings/substitute.h"
324-
"strings/internal/char_map.h"
325327
"strings/internal/escaping.h"
326328
"strings/internal/escaping.cc"
327329
"strings/internal/memutil.cc"
@@ -417,11 +419,6 @@ set(ABSL_INTERNAL_DLL_FILES
417419
"types/bad_variant_access.cc"
418420
"types/bad_variant_access.h"
419421
"types/compare.h"
420-
"types/internal/conformance_aliases.h"
421-
"types/internal/conformance_archetype.h"
422-
"types/internal/conformance_profile.h"
423-
"types/internal/parentheses.h"
424-
"types/internal/transform_args.h"
425422
"types/internal/variant.h"
426423
"types/optional.h"
427424
"types/internal/optional.h"
@@ -460,8 +457,14 @@ set(ABSL_INTERNAL_DLL_TARGETS
460457
"container_common"
461458
"container_memory"
462459
"cord"
460+
"cord_internal"
461+
"cordz_functions"
462+
"cordz_handle"
463+
"cordz_info"
464+
"cordz_sample_token"
463465
"core_headers"
464466
"counting_allocator"
467+
"crc_cord_state"
465468
"crc_cpu_detect"
466469
"crc_internal"
467470
"crc32c"
@@ -516,6 +519,7 @@ set(ABSL_INTERNAL_DLL_TARGETS
516519
"log_internal_structured"
517520
"log_severity"
518521
"log_structured"
522+
"low_level_hash"
519523
"malloc_internal"
520524
"memory"
521525
"meta"
@@ -567,8 +571,10 @@ set(ABSL_INTERNAL_DLL_TARGETS
567571
"stack_consumption"
568572
"stacktrace"
569573
"status"
574+
"statusor"
570575
"str_format"
571576
"str_format_internal"
577+
"strerror"
572578
"strings"
573579
"strings_internal"
574580
"symbolize"
@@ -587,6 +593,10 @@ set(ABSL_INTERNAL_TEST_DLL_FILES
587593
"hash/hash_testing.h"
588594
"log/scoped_mock_log.cc"
589595
"log/scoped_mock_log.h"
596+
"random/internal/chi_square.cc"
597+
"random/internal/chi_square.h"
598+
"random/internal/distribution_test_util.cc"
599+
"random/internal/distribution_test_util.h"
590600
"random/internal/mock_helpers.h"
591601
"random/internal/mock_overload_set.h"
592602
"random/mocking_bit_gen.h"
@@ -600,6 +610,7 @@ set(ABSL_INTERNAL_TEST_DLL_TARGETS
600610
"cordz_test_helpers"
601611
"hash_testing"
602612
"random_mocking_bit_gen"
613+
"random_internal_distribution_test_util"
603614
"random_internal_mock_overload_set"
604615
"scoped_mock_log"
605616
)
@@ -770,7 +781,7 @@ Name: ${_dll}\n\
770781
Description: Abseil DLL library\n\
771782
URL: https://abseil.io/\n\
772783
Version: ${absl_VERSION}\n\
773-
Libs: -L\${libdir} ${PC_LINKOPTS} $<$<NOT:$<BOOL:${ABSL_CC_LIB_IS_INTERFACE}>>:-l${_dll}>\n\
784+
Libs: -L\${libdir} $<$<NOT:$<BOOL:${ABSL_CC_LIB_IS_INTERFACE}>>:-l${_dll}> ${PC_LINKOPTS}\n\
774785
Cflags: -I\${includedir}${PC_CFLAGS}\n")
775786
INSTALL(FILES "${CMAKE_BINARY_DIR}/lib/pkgconfig/${_dll}.pc"
776787
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
@@ -799,4 +810,6 @@ Cflags: -I\${includedir}${PC_CFLAGS}\n")
799810
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
800811
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
801812
)
813+
814+
add_library(absl::${_dll} ALIAS ${_dll})
802815
endfunction()

Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/CMake/AbseilHelpers.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Description: Abseil ${_NAME} library\n\
211211
URL: https://abseil.io/\n\
212212
Version: ${PC_VERSION}\n\
213213
Requires:${PC_DEPS}\n\
214-
Libs: -L\${libdir} ${PC_LINKOPTS} $<$<NOT:$<BOOL:${ABSL_CC_LIB_IS_INTERFACE}>>:${LNK_LIB}>\n\
214+
Libs: -L\${libdir} $<$<NOT:$<BOOL:${ABSL_CC_LIB_IS_INTERFACE}>>:${LNK_LIB}> ${PC_LINKOPTS}\n\
215215
Cflags: -I\${includedir}${PC_CFLAGS}\n")
216216
INSTALL(FILES "${CMAKE_BINARY_DIR}/lib/pkgconfig/absl_${_NAME}.pc"
217217
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
@@ -413,6 +413,10 @@ function(absl_cc_test)
413413
DEPS ${ABSL_CC_TEST_DEPS}
414414
OUTPUT ABSL_CC_TEST_DEPS
415415
)
416+
absl_internal_dll_targets(
417+
DEPS ${ABSL_CC_TEST_LINKOPTS}
418+
OUTPUT ABSL_CC_TEST_LINKOPTS
419+
)
416420
else()
417421
target_compile_definitions(${_NAME}
418422
PUBLIC

Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ if (POLICY CMP0048)
3333
cmake_policy(SET CMP0048 NEW)
3434
endif (POLICY CMP0048)
3535

36+
# Honor the GTest_ROOT variable if specified
37+
if (POLICY CMP0074)
38+
cmake_policy(SET CMP0074 NEW)
39+
endif (POLICY CMP0074)
40+
3641
# option() honor variables
3742
if (POLICY CMP0077)
3843
cmake_policy(SET CMP0077 NEW)
@@ -48,6 +53,11 @@ if (POLICY CMP0067)
4853
cmake_policy(SET CMP0067 NEW)
4954
endif (POLICY CMP0067)
5055

56+
# Allow the user to specify the CMAKE_MSVC_DEBUG_INFORMATION_FORMAT
57+
if (POLICY CMP0141)
58+
cmake_policy(SET CMP0141 NEW)
59+
endif (POLICY CMP0141)
60+
5161
project(absl LANGUAGES CXX)
5262
include(CTest)
5363

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
danilchap@chromium.org
22
mbonadei@chromium.org
3+
4+
# For .def files updates:
5+
hans@chromium.org

Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/README.chromium

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ URL: https://github.com/abseil/abseil-cpp
44
License: Apache 2.0
55
License File: LICENSE
66
Version: 0
7-
Revision: b19ec98accca194511616f789c0a448c2b9d40e7
7+
Revision: b841db22f8d1d9cdbaacecf2e7c87ce270f8d96f
88
Security Critical: yes
9+
Shipped: yes
910

1011
Description:
1112
This directory contains the source code of Abseil for C++. This can be used by

0 commit comments

Comments
 (0)