1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-06-20 15:28:50 +00:00
Files
UXP/toolkit/components/protobuf
Moonchild 75c0461123 No issue - Force C++ run-time type information on protobuf
Protobuf uses `dynamic_cast` on polymorphic types which cannot be
inferred properly at compile-time, which can lead to unexpected behavior.
As a code safety measure, enable C++ RTTI for protobuf.
2025-05-27 23:22:24 +08:00
..

Protocol Buffers (protobuf) source is available (via svn) at:

    svn checkout http://protobuf.googlecode.com/svn/trunk/ protobuf-read-only

Or via git at:

    https://github.com/google/protobuf

This code is covered under the BSD license (see COPYING.txt). Documentation is
available at http://code.google.com/p/protobuf.

The tree's current version of the protobuf library is 2.6.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.