Clone this repo:

Branches

  1. ab80606 [licenses] Add applicable_licenses to proto_library.gni by Yaar Schnitman · 1 year, 1 month ago main
  2. d686249 [cobal][protoc_wrapper] Explicitly use python3.11 by Anivia Li · 1 year, 3 months ago
  3. dc3e5f6 Merge "[protobuf] Add a protoc target in all toolchains" into main by Ian McKellar · 1 year, 6 months ago
  4. d6d4a77 [protobuf] Add a protoc target in all toolchains by Ian McKellar · 1 year, 6 months ago
  5. ca669f7 [protobuf] Supress deprecated-declaration warning on Mac by Eric Seidel · 1 year, 6 months ago

Protocol Buffers GN Build Support

This repository contains GN build system support for Protocol Buffers. It's in its own repository because it needs to be shared by Fuchsia and Cobalt.

This repo should be checked out such that:

  • It is in //build/secondary/third_party/protobuf.
  • Protobuf is in //third_party/protobuf.
  • //.gn contains secondary_source = "//build/secondary/"

See the GN documentation on secondary_source.