Clone this repo:

Branches

  1. 47a89c3 Merge "Add generate_descriptor for compatibility with Chrome proto_library." into main by Kevin Marshall · 5 weeks ago main master
  2. 017d5e8 Merge "[protobuf] Add repeated_ptr_field.cc to build" into main by Mark Schott · 3 months ago
  3. 106f42c Update protobuf-gn owners file by Steve Fung · 3 months ago
  4. 8adaafc [protobuf] Add repeated_ptr_field.cc to build by Mark Schott · 3 months ago
  5. c9bde36 Add generate_descriptor for compatibility with Chrome proto_library. by Kevin Marshall · 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.