Clone this repo:

Branches

  1. dc3e5f6 Merge "[protobuf] Add a protoc target in all toolchains" into main by Ian McKellar · 3 days ago main master
  2. d6d4a77 [protobuf] Add a protoc target in all toolchains by Ian McKellar · 8 days ago
  3. ca669f7 [protobuf] Supress deprecated-declaration warning on Mac by Eric Seidel · 2 weeks ago
  4. f872f05 [protobuf] Suppress warnings by Tamir Duberstein · 3 months ago
  5. ec6b469 Update for protobuf v3.21.12. by Tamir Duberstein · 3 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.