diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /toolkit/components/protobuf/README.txt | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/protobuf/README.txt')
-rw-r--r-- | toolkit/components/protobuf/README.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/toolkit/components/protobuf/README.txt b/toolkit/components/protobuf/README.txt new file mode 100644 index 0000000000..14a65b897a --- /dev/null +++ b/toolkit/components/protobuf/README.txt @@ -0,0 +1,28 @@ +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`. |