Clone this repo:


  1. 794de9e [cpp] Suppress -Wextra-semi in third party code by Shai Barack · 5 weeks ago main master
  2. e031c12 Match build definitions to v3.18.1 by Tamir Duberstein · 9 weeks ago
  3. c0a0aab Disallow missing field initializers by Tamir Duberstein · 4 months ago
  4. 440b8e3 Match build definitions to 66d7491 by Tamir Duberstein · 4 months ago
  5. f2bbc3b Match build definitions to v3.13.0.1 by Tamir Duberstein · 4 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.