mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
Consequently, this removes: - MOZ_LIBPRIO, which is now always enabled. - non_msvc_compiler, which is now always true. - The cl.py wrapper, since it's not used anymore. - CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper. - NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still worked in non-ASCII cases. This however keeps a large part of detecting and configuring for MSVC, because we still do need it for at least headers, libraries, and midl. Depends on D19614 Differential Revision: https://phabricator.services.mozilla.com/D19615 --HG-- extra : moz-landing-system : lando |
||
|---|---|---|
| .. | ||
| src/google/protobuf | ||
| COPYING.txt | ||
| m-c-changes.patch | ||
| moz.build | ||
| README.txt | ||
| regenerate_cpp_files.sh | ||
| upgrade_protobuf.sh | ||
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 3.4.1.
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/google/protobuf/blob/master/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`.