gecko-dev/toolkit/components/protobuf
Greg Stoll d4900df401 Bug 1811076: Part 4 - Add gtests for correctly-behaving and misbehaving DLP agents
Unit tests for mozilla::contentanalysis::ContentAnalysis class.
ContentAnalysis must remain responsive, regardless of the behavior of the
agent.

Differential Revision: https://phabricator.services.mozilla.com/D189570
2023-10-31 16:38:55 +00:00
..
src/google/protobuf Bug 1854575 - Remove global constructor implied by <iostream> from protobuf common file r=RyanVM 2023-09-27 07:14:55 +00:00
14174.patch Bug 1854575 - Remove global constructor implied by <iostream> from protobuf common file r=RyanVM 2023-09-27 07:14:55 +00:00
COPYING.txt
moz.build Bug 1811076: Part 4 - Add gtests for correctly-behaving and misbehaving DLP agents 2023-10-31 16:38:55 +00:00
README.txt
regenerate_cpp_files.sh Bug 1811076: Part 2 - Create nsIContentAnalysis and command-line argument 2023-10-30 20:04:00 +00:00
upgrade_protobuf.sh Bug 1854575 - Remove global constructor implied by <iostream> from protobuf common file r=RyanVM 2023-09-27 07:14:55 +00: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`.