1
0
Fork 0
firefox/toolkit/components/protobuf
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00
..
src/google/protobuf Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
14174.patch Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
COPYING.txt Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
moz.build Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
README.txt Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
regenerate_cpp_files.sh Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
upgrade_protobuf.sh Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

Protocol Buffers (protobuf) source is available at:

    https://github.com/google/protobuf

This code is covered under the BSD license (see COPYING.txt). Documentation is
available at https://developers.google.com/protocol-buffers/.

The tree's current version of the protobuf library is 21.6.

We do not include the protobuf tests or the protoc compiler.

--------------------------------------------------------------------------------

# Upgrading the Protobuf Library

1. Get a new protobuf release from https://github.com/google/protobuf/releases

2. Run `$ ./toolkit/components/protobuf/upgrade_protobuf.sh ~/path/to/release/checkout/of/protobuf`.

3. Update the moz.build to export the new set of headers and add any new .cc
   files to the unified sources and remove old ones. Note that we only
   need:
   - files contained in the `libprotobuf_lite_la_SOURCES` target
   (https://github.com/protocolbuffers/protobuf/blob/main/src/Makefile.am)
   - the header files they need
   - gzip streams (for devtools)

4. Re-generate all .pb.cc and .pb.h files using `$ ./toolkit/components/protobuf/regenerate_cpp_files.sh`.