reactor-effect-native-linux-x64-gnu 0.0.0-reserved.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/NOTICE +28 -0
- package/README.md +3 -3
- package/native-identity.json +19 -0
- package/notices/effect-LICENSE +21 -0
- package/notices/native-rust/NOTICE.md +44 -0
- package/notices/native-rust/bitflags-2.13.2-LICENSE-APACHE +201 -0
- package/notices/native-rust/bytes-1.12.1-LICENSE +25 -0
- package/notices/native-rust/cfg-if-1.0.5-LICENSE-APACHE +201 -0
- package/notices/native-rust/ctor-1.0.13-LICENSE-APACHE +201 -0
- package/notices/native-rust/futures-0.3.34-LICENSE-APACHE +202 -0
- package/notices/native-rust/itoa-1.0.18-LICENSE-APACHE +176 -0
- package/notices/native-rust/libc-0.2.189-LICENSE-APACHE +176 -0
- package/notices/native-rust/libloading-0.9.0-LICENSE +12 -0
- package/notices/native-rust/memchr-2.8.3-LICENSE-MIT +21 -0
- package/notices/native-rust/napi-3.13.0-LICENSE +21 -0
- package/notices/native-rust/nohash-hasher-0.2.0-LICENSE-APACHE +202 -0
- package/notices/native-rust/pin-project-lite-0.2.17-LICENSE-APACHE +177 -0
- package/notices/native-rust/prost-0.13.5-LICENSE +201 -0
- package/notices/native-rust/rustc-hash-2.1.3-LICENSE-APACHE +176 -0
- package/notices/native-rust/serde-1.0.229-LICENSE-APACHE +176 -0
- package/notices/native-rust/serde_json-1.0.151-LICENSE-APACHE +176 -0
- package/notices/native-rust/slab-0.4.12-LICENSE +25 -0
- package/notices/native-rust/zmij-1.0.23-LICENSE-MIT +23 -0
- package/notices/reactor-webrtc/WebRTC-LICENSE +29 -0
- package/notices/reactor-webrtc/WebRTC-PATENTS +24 -0
- package/notices/reactor-webrtc/reactor-webrtc-linux-x64-release.sbom.json +660 -0
- package/notices/reactor-webrtc/reactor-webrtc-mac-arm64-release.sbom.json +631 -0
- package/notices/reactor-webrtc/third-party/README.md +58 -0
- package/notices/reactor-webrtc/third-party/abseil-cpp/LICENSE +203 -0
- package/notices/reactor-webrtc/third-party/abseil-cpp/README.chromium +55 -0
- package/notices/reactor-webrtc/third-party/boringssl/LICENSE +238 -0
- package/notices/reactor-webrtc/third-party/boringssl/README.chromium +15 -0
- package/notices/reactor-webrtc/third-party/compiler-rt/LICENSE.TXT +311 -0
- package/notices/reactor-webrtc/third-party/compiler-rt/README.chromium +15 -0
- package/notices/reactor-webrtc/third-party/cpuinfo/LICENSE +27 -0
- package/notices/reactor-webrtc/third-party/cpuinfo/README.chromium +15 -0
- package/notices/reactor-webrtc/third-party/dav1d/LICENSE +23 -0
- package/notices/reactor-webrtc/third-party/dav1d/README.chromium +40 -0
- package/notices/reactor-webrtc/third-party/farmhash/LICENSE +19 -0
- package/notices/reactor-webrtc/third-party/farmhash/README.chromium +21 -0
- package/notices/reactor-webrtc/third-party/fft2d/LICENSE +3 -0
- package/notices/reactor-webrtc/third-party/fft2d/README.chromium +24 -0
- package/notices/reactor-webrtc/third-party/flatbuffers/LICENSE +202 -0
- package/notices/reactor-webrtc/third-party/flatbuffers/README.chromium +18 -0
- package/notices/reactor-webrtc/third-party/fp16/LICENSE +12 -0
- package/notices/reactor-webrtc/third-party/fp16/README.chromium +16 -0
- package/notices/reactor-webrtc/third-party/fxdiv/LICENSE +10 -0
- package/notices/reactor-webrtc/third-party/fxdiv/README.chromium +16 -0
- package/notices/reactor-webrtc/third-party/gemmlowp/LICENSE +202 -0
- package/notices/reactor-webrtc/third-party/gemmlowp/README.chromium +14 -0
- package/notices/reactor-webrtc/third-party/grpc/LICENSE +610 -0
- package/notices/reactor-webrtc/third-party/grpc/README.chromium +30 -0
- package/notices/reactor-webrtc/third-party/jsoncpp/LICENSE +55 -0
- package/notices/reactor-webrtc/third-party/jsoncpp/README.chromium +20 -0
- package/notices/reactor-webrtc/third-party/libaom/LICENSE +27 -0
- package/notices/reactor-webrtc/third-party/libaom/PATENTS +108 -0
- package/notices/reactor-webrtc/third-party/libaom/README.chromium +61 -0
- package/notices/reactor-webrtc/third-party/libgav1/LICENSE +202 -0
- package/notices/reactor-webrtc/third-party/libgav1/README.chromium +33 -0
- package/notices/reactor-webrtc/third-party/libjpeg_turbo/LICENSE.md.chromium +236 -0
- package/notices/reactor-webrtc/third-party/libjpeg_turbo/README.chromium +66 -0
- package/notices/reactor-webrtc/third-party/libsrtp/LICENSE +35 -0
- package/notices/reactor-webrtc/third-party/libsrtp/README.chromium +17 -0
- package/notices/reactor-webrtc/third-party/libvpx/LICENSE +31 -0
- package/notices/reactor-webrtc/third-party/libvpx/PATENTS +23 -0
- package/notices/reactor-webrtc/third-party/libvpx/README.chromium +73 -0
- package/notices/reactor-webrtc/third-party/libyuv/LICENSE +29 -0
- package/notices/reactor-webrtc/third-party/libyuv/README.chromium +13 -0
- package/notices/reactor-webrtc/third-party/neon_2_sse/LICENSE +29 -0
- package/notices/reactor-webrtc/third-party/neon_2_sse/README.chromium +21 -0
- package/notices/reactor-webrtc/third-party/opus/COPYING +44 -0
- package/notices/reactor-webrtc/third-party/opus/README.chromium +41 -0
- package/notices/reactor-webrtc/third-party/perfetto/LICENSE +285 -0
- package/notices/reactor-webrtc/third-party/perfetto/README.chromium +12 -0
- package/notices/reactor-webrtc/third-party/pffft/LICENSE +45 -0
- package/notices/reactor-webrtc/third-party/pffft/README.chromium +43 -0
- package/notices/reactor-webrtc/third-party/protobuf/LICENSE +32 -0
- package/notices/reactor-webrtc/third-party/protobuf/README.chromium +325 -0
- package/notices/reactor-webrtc/third-party/pthreadpool/LICENSE +26 -0
- package/notices/reactor-webrtc/third-party/pthreadpool/README.chromium +19 -0
- package/notices/reactor-webrtc/third-party/re2/LICENSE +27 -0
- package/notices/reactor-webrtc/third-party/re2/README.chromium +15 -0
- package/notices/reactor-webrtc/third-party/rnnoise/COPYING +31 -0
- package/notices/reactor-webrtc/third-party/rnnoise/README.chromium +30 -0
- package/notices/reactor-webrtc/third-party/ruy/LICENSE +202 -0
- package/notices/reactor-webrtc/third-party/ruy/README.chromium +20 -0
- package/notices/reactor-webrtc/third-party/tflite/LICENSE +203 -0
- package/notices/reactor-webrtc/third-party/tflite/README.chromium +22 -0
- package/notices/reactor-webrtc/third-party/xnnpack/LICENSE +31 -0
- package/notices/reactor-webrtc/third-party/xnnpack/README.chromium +18 -0
- package/notices/reactor-webrtc/third-party/zlib/LICENSE +22 -0
- package/notices/reactor-webrtc/third-party/zlib/README.chromium +38 -0
- package/notices/reactor-webrtc-LICENSE +201 -0
- package/notices/reactor-webrtc-NOTICE.md +32 -0
- package/package.json +23 -5
- package/reactor-effect-native.linux-x64-gnu.node +0 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
Name: Protocol Buffers
|
|
2
|
+
Short Name: protobuf
|
|
3
|
+
URL: https://github.com/google/protobuf
|
|
4
|
+
License: BSD-3-Clause
|
|
5
|
+
License File: LICENSE
|
|
6
|
+
Version: 33.0
|
|
7
|
+
CPEPrefix: cpe:/a:google:protobuf:33.0
|
|
8
|
+
Revision: a79f2d2e9fadd75e94f3fe40a0399bf0a5d90551
|
|
9
|
+
Update Mechanism: Manual
|
|
10
|
+
Security Critical: yes
|
|
11
|
+
Shipped: yes
|
|
12
|
+
|
|
13
|
+
Steps used to create the current version (or roll a newer one):
|
|
14
|
+
|
|
15
|
+
0. Nuke third_party/protobuf from orbit (rm -rf `third_party/protobuf`). Note
|
|
16
|
+
that this removes this README.chromium so you may want it open in code search
|
|
17
|
+
or remember the steps up until 2. where you get it back.
|
|
18
|
+
|
|
19
|
+
1. Pull the release from https://github.com/google/protobuf/releases (Source
|
|
20
|
+
code .tar.gz). Extract to `third_party/protobuf` (without version suffix),
|
|
21
|
+
i.e. you may `$ mv protobuf-21.12 third_party/protobuf` or similar.
|
|
22
|
+
|
|
23
|
+
2. Add back chromium's on-upstream files (from this directory):
|
|
24
|
+
|
|
25
|
+
$ git checkout origin/main -- BUILD.gn DEPS DIR_METADATA OWNERS \
|
|
26
|
+
README.chromium gen_extra_chromium_files.py proto_library.gni \
|
|
27
|
+
proto_sources.gni patches/
|
|
28
|
+
|
|
29
|
+
Note: The `patches/` directory is already a part of the protobuf repository,
|
|
30
|
+
but it uses subdirectories for its content, while in Chromium we store our
|
|
31
|
+
patches directly in the `patches/` directory.
|
|
32
|
+
|
|
33
|
+
Note: Ideally we wouldn't do this but instead have a
|
|
34
|
+
`third_party/protobuf/src/` subdirectory where upstream code goes directly
|
|
35
|
+
into. That will require updating things outside this repository (at least
|
|
36
|
+
`third_party/webrtc`) to agree on where the source code lives. I wouldn't be
|
|
37
|
+
surprised if that also required Google-internal uses of protobuf from webrtc
|
|
38
|
+
to also agree on `third_party/protobuf/src` so maybe this'll never happen?
|
|
39
|
+
Here be dragons. Probably.
|
|
40
|
+
|
|
41
|
+
Probably worth making a local `git commit` here before applying patches (next
|
|
42
|
+
step), however, as we still apply 0053-ignore-compatibility-dir.patch you can
|
|
43
|
+
simplify your roll by `rm -r compatibility` before comitting.
|
|
44
|
+
|
|
45
|
+
3. Apply patches in patches/ (see the description below):
|
|
46
|
+
|
|
47
|
+
$ for patch in patches/*.patch; do patch -s -p1 < $patch; done
|
|
48
|
+
|
|
49
|
+
When a patch fails, it's probably best to check out previous state (from 2)
|
|
50
|
+
for any changes not inside the patches/ folder, fix the patch and then try to
|
|
51
|
+
reapply everything. It's not a good idea to fix the error, forget to generate
|
|
52
|
+
a patch and leave patches/ in a bad state.
|
|
53
|
+
|
|
54
|
+
If a patch no longer applies it may not be needed, if so remove it and its
|
|
55
|
+
description in this README.chromium file. Similarly try to eventually
|
|
56
|
+
upstream any patches out of band from unblocking the roll so we can
|
|
57
|
+
eventually remove it here as well.
|
|
58
|
+
|
|
59
|
+
Probably worth committing locally here too.
|
|
60
|
+
|
|
61
|
+
4. Remove generated .pb.h/.pb.cc files for Well Known Types. Due to the fact
|
|
62
|
+
that they are generated for protobuf full, and Chromium uses protobuf lite
|
|
63
|
+
too, they can cause issues during build that are not easy to spot.
|
|
64
|
+
|
|
65
|
+
$ rm src/google/protobuf/{any,api,duration,empty,field_mask,source_context,struct,timestamp,type,wrappers}.pb.{cc,h}
|
|
66
|
+
|
|
67
|
+
5. Generate descriptor_pb2.py using the script "gen_extra_chromium_files.py" in
|
|
68
|
+
the same directory as this file.
|
|
69
|
+
|
|
70
|
+
$ ./gen_extra_chromium_files.py -C ../../out/Default
|
|
71
|
+
|
|
72
|
+
Add and commit `python/google/protobuf/descriptor_pb2.py` and
|
|
73
|
+
`python/google/protobuf/compiler/plugin_pb2.py` as well. Because *_pb2.py is
|
|
74
|
+
in the .gitignore file for this directory, you need to add the files with
|
|
75
|
+
`-f`.
|
|
76
|
+
|
|
77
|
+
$ git add -f python/google/protobuf/descriptor_pb2.py \
|
|
78
|
+
python/google/protobuf/compiler/plugin_pb2.py
|
|
79
|
+
|
|
80
|
+
6. This step requires `bazel`, and not the one from depot_tools, and it is not
|
|
81
|
+
part of build/install-build-deps.sh in Chromium, so you need to manually
|
|
82
|
+
install it:
|
|
83
|
+
|
|
84
|
+
$ apt install bazel
|
|
85
|
+
|
|
86
|
+
Run:
|
|
87
|
+
|
|
88
|
+
$ cd python/
|
|
89
|
+
$ /usr/bin/bazel build embedded_python_edition_defaults_generate --enable_bzlmod
|
|
90
|
+
$ cp ../bazel-bin/python/google/protobuf/internal/python_edition_defaults.py google/protobuf/internal/
|
|
91
|
+
$ git add google/protobuf/internal/python_edition_defaults.py
|
|
92
|
+
|
|
93
|
+
TODO: generalize this and add it to gen_extra_chromium_files.py
|
|
94
|
+
|
|
95
|
+
7. Update Version, CPEPrefix and Revision in this file.
|
|
96
|
+
|
|
97
|
+
The revision should be set to the SHA1 of the commit that the release tag
|
|
98
|
+
points to at the time of the roll.
|
|
99
|
+
|
|
100
|
+
8. Address breakages.
|
|
101
|
+
|
|
102
|
+
The CQ will help you identify problems that need fixing.
|
|
103
|
+
|
|
104
|
+
Manually update BUILD.gn and proto_sources.gni as necessary. Hopefully this
|
|
105
|
+
means just adding or moving around some source files, but might also include
|
|
106
|
+
tweaks like modifying compiler flags or macro defines.
|
|
107
|
+
|
|
108
|
+
You may need to add new code modifications and diffs in patches/ as well.
|
|
109
|
+
To do this, make the necessary changes in your current local branch, and then
|
|
110
|
+
run the following command to create a patch file with the correct paths:
|
|
111
|
+
|
|
112
|
+
$ git diff --relative=third_party/protobuf > patches/your.patch
|
|
113
|
+
|
|
114
|
+
In the case of multiple unrelated changes which should have their own
|
|
115
|
+
indivudal patches, you can also add `-- path/to/file` to your `git` command.
|
|
116
|
+
|
|
117
|
+
Remember to also update the patch description below.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Notes (hints) for the next roll(er):
|
|
121
|
+
|
|
122
|
+
* Update README.chromium as you go so you don't forget (after step 2. above, so
|
|
123
|
+
you don't nuke those changes).
|
|
124
|
+
* Any argument changes to `protoc_wrapper` in `third_party/protobuf/BUILD.gn`
|
|
125
|
+
may require updating `build/config/siso/protoc_wrapper.star` as well.
|
|
126
|
+
* The protobuf wheel for vpython3 needs to stay in sync with this protobuf, at
|
|
127
|
+
least if there are breaking changes in protobuf's python bindings. See
|
|
128
|
+
https://chromium.googlesource.com/infra/infra/+/refs/heads/main/infra/tools/dockerbuild/README.wheels.md
|
|
129
|
+
|
|
130
|
+
Note about vpython:
|
|
131
|
+
|
|
132
|
+
Some Python scripts end up mixing protoc output from this copy of protobuf with
|
|
133
|
+
the google.protobuf module from vpython's protobuf. If Python scripts break due
|
|
134
|
+
to the vpython copy of protobuf, you may need to update the version in
|
|
135
|
+
//.vpython3. See https://crbug.com/1320047.
|
|
136
|
+
|
|
137
|
+
Description of the patches:
|
|
138
|
+
|
|
139
|
+
- 0004-fix-shared-library-exports.patch
|
|
140
|
+
|
|
141
|
+
This patch allows exporting protobuf symbols in Linux .so libraries, so
|
|
142
|
+
that protobuf can be built as a component (see http://crrev.com/179806).
|
|
143
|
+
|
|
144
|
+
- 0008-uninline_get_empty_string.patch
|
|
145
|
+
- 0010-uninline-generated-code.patch
|
|
146
|
+
|
|
147
|
+
These patches uninline some functions, resulting in a significant reduction
|
|
148
|
+
(somewhere between 500 KB and 1 MB) of binary size.
|
|
149
|
+
|
|
150
|
+
- 0022-Allow-deprecated-fields.patch
|
|
151
|
+
|
|
152
|
+
Allows deprecated fields to be used without extra C++ compiler warnings.
|
|
153
|
+
|
|
154
|
+
- 0029-make-initializers-optimizable.patch
|
|
155
|
+
|
|
156
|
+
Removes a static initializer from Linux and Android builds.
|
|
157
|
+
|
|
158
|
+
Makes the InitProtobufDefaults() static initializer optimizable by Clang when
|
|
159
|
+
built with libc++. It patches out the OnShutdownDestroyString call, which we
|
|
160
|
+
do not need, and removes the thread-safe initialization. Thread safety is only
|
|
161
|
+
needed if a static initializer spawns a thread which then calls
|
|
162
|
+
InitProtobufDefaults() without synchronizing with the start of main().
|
|
163
|
+
(Anything which happens after main() starts can rely on the initializer
|
|
164
|
+
running.)
|
|
165
|
+
|
|
166
|
+
Later updated to patch out PROTOBUF_DESCRIPTOR_WEAK_MESSAGES_ALLOWED code
|
|
167
|
+
which was not optimizable.
|
|
168
|
+
|
|
169
|
+
- 0030-workaround-window-constinit.patch
|
|
170
|
+
|
|
171
|
+
Disables PROTOBUF_CONSTINIT in generated code in Windows shared library
|
|
172
|
+
builds. Protobuf's default instances take pointers to a dllimport variable,
|
|
173
|
+
fixed_address_empty_string. This is not constinit on Windows. This is a bug in
|
|
174
|
+
protobuf as the default instance was intended to be constant-initialized. But
|
|
175
|
+
the components build in Chromium is a developer configuration, so we tolerate
|
|
176
|
+
an initializer as long as the build works, until protobuf has a proper fix.
|
|
177
|
+
|
|
178
|
+
See https://github.com/protocolbuffers/protobuf/issues/10159.
|
|
179
|
+
|
|
180
|
+
Feb-2025: this patch was updated to address an issue where code internal to
|
|
181
|
+
PB assumed that the default instances it was acting on were const inited,
|
|
182
|
+
when they were not constinit due to the Chromium workaround. See related
|
|
183
|
+
PB commit:
|
|
184
|
+
https://github.com/protocolbuffers/protobuf/commit/f5c53ac4605aa5a276e9786952d467fe1fda5420
|
|
185
|
+
|
|
186
|
+
- 0031-workaround-cfi-unrelated-cast.patch
|
|
187
|
+
|
|
188
|
+
A workaround for Clang's Control Flow Integrity check for casting pointers to
|
|
189
|
+
memory that his not yet initialized to be of that type for empty arrays, does
|
|
190
|
+
not work, and still fails. This patch removes the workaround and instead
|
|
191
|
+
disables cfi-unrelated-cast for the affected methods and simplifies them.
|
|
192
|
+
|
|
193
|
+
See https://github.com/protocolbuffers/protobuf/issues/10186.
|
|
194
|
+
See https://bugs.chromium.org/p/chromium/issues/detail?id=1294200#c26.
|
|
195
|
+
|
|
196
|
+
- 0039-generate-mediapipe-anylite.patch
|
|
197
|
+
|
|
198
|
+
Workaround to allow generating protobuf code compatible with
|
|
199
|
+
third_party/mediapipe. This replaces checked-in precompiled .pb.cc files. See
|
|
200
|
+
https://crbug.com/332939935, which when/if resolved should make this patch
|
|
201
|
+
obsolete.
|
|
202
|
+
|
|
203
|
+
- 0042-fix-undefined-protobuf-custom-vtable.patch
|
|
204
|
+
|
|
205
|
+
Fixes the build when PROTOBUF_CUSTOM_VTABLE is not defined.
|
|
206
|
+
|
|
207
|
+
- 0043-unreachable-code-return.patch
|
|
208
|
+
|
|
209
|
+
Fix unreachable code warning via `if constexpr`.
|
|
210
|
+
|
|
211
|
+
- 0044-trim-protoc-main.patch
|
|
212
|
+
|
|
213
|
+
Remove parts of protoc's main.cc that aren't necessary for Chromium (languages
|
|
214
|
+
such as C#, PHP, Ruby, etc.).
|
|
215
|
+
|
|
216
|
+
- 0045-string-resize.patch
|
|
217
|
+
|
|
218
|
+
Replaces usage of absl internal string routines with std::string::resize().
|
|
219
|
+
|
|
220
|
+
- 0049-deprecated-declarations-pragma.patch
|
|
221
|
+
|
|
222
|
+
Modify a compiler diagnostic pragma to work on Windows.
|
|
223
|
+
|
|
224
|
+
- 0051-export-template-define.patch
|
|
225
|
+
|
|
226
|
+
Adds some missing export defines to fix Windows component build.
|
|
227
|
+
|
|
228
|
+
- 0052-remove-dynanmic-annotations.patch
|
|
229
|
+
|
|
230
|
+
This removes dynamic annotations (for containers; an ASAN tool). The use of
|
|
231
|
+
absl's dynamic_annotations is banned in Chromium (see
|
|
232
|
+
//third_party/abseil-cpp/BUILD.gn), on top of which, Protobuf's usage is
|
|
233
|
+
buggy. PlacementNew copies RepeatedFields wholesale via memcp, which triggers
|
|
234
|
+
false positive out-of-bounds reads. See
|
|
235
|
+
https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow
|
|
236
|
+
|
|
237
|
+
- 0053-ignore-compatibility-dir.patch
|
|
238
|
+
|
|
239
|
+
Add the compatability dir to .gitignore as it's unnecessary and contains files
|
|
240
|
+
that trip CheckForTooLargeFiles presubmit.
|
|
241
|
+
|
|
242
|
+
Note that if you commit locally before applying the patches, you might need to
|
|
243
|
+
manually remove this directory again from git.
|
|
244
|
+
|
|
245
|
+
- 0055-fix-deprecated-weak-accessor-in-descriptor.patch
|
|
246
|
+
|
|
247
|
+
Removes a single [[deprecated]] attribute from the FieldOptions::weak()
|
|
248
|
+
accessor in the pre-generated descriptor.pb.h file. This fixes a build
|
|
249
|
+
warning without the noise of regenerating the entire file.
|
|
250
|
+
|
|
251
|
+
- 0056-fix-use-of-deprecated-has_optional_keyword.patch
|
|
252
|
+
|
|
253
|
+
Updates the implementation of the deprecated
|
|
254
|
+
FieldDescriptor::has_optional_keyword() to use the recommended has_presence()
|
|
255
|
+
method, fixing a deprecation error.
|
|
256
|
+
|
|
257
|
+
- 0057-rm-extraneous-utf8-import.patch
|
|
258
|
+
|
|
259
|
+
Removes an extraneous utf8 import in parse_context.h. This has already been
|
|
260
|
+
upstreamed.
|
|
261
|
+
|
|
262
|
+
- 0058-fix-messagelite-clear-declaration.patch
|
|
263
|
+
|
|
264
|
+
Fix a compile error in how a function parameter is declared.
|
|
265
|
+
|
|
266
|
+
- 0059-rm-repeatedptrfield-deprecated-declaration.patch
|
|
267
|
+
|
|
268
|
+
Remove deprecated declaration on repeatedptrfield constructor. This
|
|
269
|
+
constructor is removed in the next roll post-v33, but this patch is added
|
|
270
|
+
to allow for rolling proto first without touching the 100s of places to
|
|
271
|
+
patch in Chromium.
|
|
272
|
+
|
|
273
|
+
- 0060-export-any.patch
|
|
274
|
+
|
|
275
|
+
Add PROTOBUF_EXPORT macros to functions used by any.proto.
|
|
276
|
+
|
|
277
|
+
The OSS version of protobuf bundles generated .pb.{cc,h} files for full
|
|
278
|
+
versions of well-known types (including any.proto) and assumes they are
|
|
279
|
+
built together with protobuf. Chrome does not use protobuf_full in
|
|
280
|
+
production, and thus does not use the bundled WKTs, instead generating lite
|
|
281
|
+
versions. These versions can reside in a different component, and that's why
|
|
282
|
+
those symbols need to be exported.
|
|
283
|
+
|
|
284
|
+
See go/chrome-protobuf-wkt for an overview of how protobuf WKTs are supported
|
|
285
|
+
in Chrome.
|
|
286
|
+
|
|
287
|
+
- 0061-fix-invalid-enum-class-export.patch
|
|
288
|
+
|
|
289
|
+
Removes invalid PROTOBUF_EXPORTs on enum classes in text_format.h.
|
|
290
|
+
Under C++ / MSVC, dllexport attributes cannot be applied to enum classes,
|
|
291
|
+
which triggers -Wignored-attributes under Clang on Windows component builds.
|
|
292
|
+
|
|
293
|
+
- 0062-fix-dllexport-explicit-instantiation-decl.patch
|
|
294
|
+
|
|
295
|
+
Fixes -Wdllexport-explicit-instantiation-decl compiler warning in map_field.h
|
|
296
|
+
and map_field.cc by replacing the unconditional PROTOBUF_EXPORT with
|
|
297
|
+
PROTOBUF_EXPORT_TEMPLATE_DECLARE (which resolves to empty) and
|
|
298
|
+
PROTOBUF_EXPORT_TEMPLATE_DEFINE (which resolves to dllexport/dllimport) to
|
|
299
|
+
correctly declare and export explicit template instantiations.
|
|
300
|
+
|
|
301
|
+
- 0063-workaround-windows-constinit-pregenerated.patch
|
|
302
|
+
|
|
303
|
+
Fixes 'variable does not have a constant initializer' errors with constinit
|
|
304
|
+
specifiers in java_features.pb.cc and plugin.pb.cc in Windows component builds.
|
|
305
|
+
In component builds, pointers to dllimport symbols are not constexpr at compile
|
|
306
|
+
time, so variables that reference these imported pointers cannot be constant-
|
|
307
|
+
initialized. This patch uses PROTOBUF_CONSTINIT_WITH_PTR (from patch 0030)
|
|
308
|
+
for these variables, which evaluates to empty on component builds.
|
|
309
|
+
|
|
310
|
+
- 0064-time-util-no-export.patch
|
|
311
|
+
|
|
312
|
+
Do not export symbols in time_util.h.
|
|
313
|
+
|
|
314
|
+
This util was meant to be compiled with protobuf full. Since Chromium uses
|
|
315
|
+
protobuf lite (and lite WKTs, such as duration and timestamp), we can't make
|
|
316
|
+
it a part of protobuf as we would get a dependency cycle. Not exporting
|
|
317
|
+
symbols allows us to use it as a separate target.
|
|
318
|
+
|
|
319
|
+
- 0065-gzip-stream-no-export.patch
|
|
320
|
+
|
|
321
|
+
Do not export symbols in gzip_stream.h.
|
|
322
|
+
|
|
323
|
+
This util was meant to be compiled with protobuf full. However, it depends on
|
|
324
|
+
zlib, so instead of making Chromium's protobuf depend on zlib, the utility is
|
|
325
|
+
compiled as a separate target, and not exported.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Copyright 2019 Google LLC
|
|
2
|
+
Copyright (c) 2017 Facebook Inc.
|
|
3
|
+
Copyright (c) 2015-2017 Georgia Institute of Technology
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
17
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
18
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
19
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
20
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
21
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
22
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
23
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
24
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
25
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
26
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Name: pthreadpool
|
|
2
|
+
Short Name: pthreadpool
|
|
3
|
+
URL: https://github.com/google/pthreadpool
|
|
4
|
+
Version: N/A
|
|
5
|
+
Revision: 02460584c6092e527c8b89f7df4de143d70e801f
|
|
6
|
+
Update Mechanism: Autoroll
|
|
7
|
+
License: BSD-2-Clause
|
|
8
|
+
License File: src/LICENSE
|
|
9
|
+
Security Critical: yes
|
|
10
|
+
Shipped: yes
|
|
11
|
+
|
|
12
|
+
Description:
|
|
13
|
+
pthreadpool is a portable and efficient thread pool implementation. It provides
|
|
14
|
+
similar functionality to #pragma omp parallel for, but with additional features.
|
|
15
|
+
This library supports //third_party/xnnpack, which in turn supports
|
|
16
|
+
//third_party/tflite.
|
|
17
|
+
chromium/jobs.cc implements a shim of `pthreadpool_parallelize()` that uses
|
|
18
|
+
Chromium Jobs API to schedule the parallel tasks with Chromium's ThreadPool
|
|
19
|
+
workers.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Copyright (c) 2009 The RE2 Authors. 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 are
|
|
5
|
+
// met:
|
|
6
|
+
//
|
|
7
|
+
// * Redistributions of source code must retain the above copyright
|
|
8
|
+
// notice, this list of conditions and the following disclaimer.
|
|
9
|
+
// * Redistributions in binary form must reproduce the above
|
|
10
|
+
// copyright notice, this list of conditions and the following disclaimer
|
|
11
|
+
// in the documentation and/or other materials provided with the
|
|
12
|
+
// distribution.
|
|
13
|
+
// * Neither the name of Google Inc. nor the names of its
|
|
14
|
+
// contributors may be used to endorse or promote products derived from
|
|
15
|
+
// this software without specific prior written permission.
|
|
16
|
+
//
|
|
17
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
18
|
+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
19
|
+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
20
|
+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
21
|
+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
22
|
+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
23
|
+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
24
|
+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
25
|
+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26
|
+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Name: re2 - an efficient, principled regular expression library
|
|
2
|
+
Short Name: re2
|
|
3
|
+
URL: https://github.com/google/re2
|
|
4
|
+
Version: N/A
|
|
5
|
+
Revision: 1e44e72d31ddc66b783a545e9d9fcaa876a146b7
|
|
6
|
+
Date: 2023-05-31
|
|
7
|
+
Update Mechanism: Manual
|
|
8
|
+
License: BSD-3-Clause
|
|
9
|
+
License File: LICENSE
|
|
10
|
+
Security Critical: yes
|
|
11
|
+
Shipped: yes
|
|
12
|
+
|
|
13
|
+
Description:
|
|
14
|
+
RE2 is a fast, safe, thread-friendly alternative to backtracking regular
|
|
15
|
+
expression engines like those used in PCRE, Perl, and Python.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Copyright (c) 2017, Mozilla
|
|
2
|
+
Copyright (c) 2007-2017, Jean-Marc Valin
|
|
3
|
+
Copyright (c) 2005-2017, Xiph.Org Foundation
|
|
4
|
+
Copyright (c) 2003-2004, Mark Borgerding
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions
|
|
8
|
+
are met:
|
|
9
|
+
|
|
10
|
+
- Redistributions of source code must retain the above copyright
|
|
11
|
+
notice, this list of conditions and the following disclaimer.
|
|
12
|
+
|
|
13
|
+
- Redistributions in binary form must reproduce the above copyright
|
|
14
|
+
notice, this list of conditions and the following disclaimer in the
|
|
15
|
+
documentation and/or other materials provided with the distribution.
|
|
16
|
+
|
|
17
|
+
- Neither the name of the Xiph.Org Foundation nor the names of its
|
|
18
|
+
contributors may be used to endorse or promote products derived from
|
|
19
|
+
this software without specific prior written permission.
|
|
20
|
+
|
|
21
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
22
|
+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
23
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
24
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION
|
|
25
|
+
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
26
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
27
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
28
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
29
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
30
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
31
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Name: Recurrent neural network for audio noise reduction
|
|
2
|
+
Short Name: rnnoise
|
|
3
|
+
URL: https://github.com/xiph/rnnoise
|
|
4
|
+
Version: N/A
|
|
5
|
+
Date: 2017-10-10
|
|
6
|
+
Revision: 91ef401f4c3536c6de999ac609262691ec888c4c
|
|
7
|
+
Update Mechanism: Static (https://crbug.com/424011809)
|
|
8
|
+
License: BSD-3-Clause
|
|
9
|
+
License File: COPYING
|
|
10
|
+
Security Critical: no
|
|
11
|
+
Shipped: yes
|
|
12
|
+
|
|
13
|
+
Description:
|
|
14
|
+
RNNoise is a noise suppression library based on a recurrent neural network.
|
|
15
|
+
The library is used for speech processing in WebRTC.
|
|
16
|
+
|
|
17
|
+
Local Modifications:
|
|
18
|
+
* Only retaining COPYING and from src/ the following files:
|
|
19
|
+
- kiss_fft.c, kiss_fft.h
|
|
20
|
+
- rnn.c
|
|
21
|
+
- rnn_data.c
|
|
22
|
+
- tansig_table.h
|
|
23
|
+
* KissFFT: non-floating point parts removed, code clean, from C to C++,
|
|
24
|
+
class wrapper added
|
|
25
|
+
* BUILD targets and KissFFT unit tests added
|
|
26
|
+
* rnn_vad_weights.h: output layer sizes + weights scaling factor
|
|
27
|
+
* removing unwanted extern from constants in rnn_vad_weights.h and using
|
|
28
|
+
constants to declare array sizes
|
|
29
|
+
* Add braces around arrays in unit test.
|
|
30
|
+
* KissFFT removed
|