Clone this repo:


  1. 66492ee Include zero_copy_stream_impl in protobuf_lite by Tamir Duberstein · 19 hours ago main master
  2. eb1f83e Merge "Protobuf 3.17.3" into main by Tamir Duberstein · 22 hours ago
  3. 7ce028c Protobuf 3.17.3 by Tamir Duberstein · 23 hours ago
  4. bd747da [build] Support gRPC golang bindings in proto_library(). by David 'Digit' Turner · 2 days ago
  5. d7f07ad [protobuf] Emit depfile for proto imports by Jason Graffius · 7 weeks 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.