Clone this repo:

Branches

  1. 05d5ebc [protobuf] Add pigweed related protoc exceptions by Eric Rahm · 11 days ago main master
  2. 017d9a8 Merge "[protobuf-gn] Add aniviali to OWNERS" into main by Anivia Li · 6 weeks ago
  3. 744084c [protobuf-gn] Add aniviali to OWNERS by Anivia Li · 6 weeks ago
  4. 03f848b Merge "[protobuf] Grant bt-pandora-server protoc visibility" into main by Ali Saeed · 7 weeks ago
  5. 218d654 [protobuf] Grant bt-pandora-server protoc visibility by Ali Saeed · 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.