Clone this repo:

Branches

  1. 1024ff0 Merge "Uprev protobuf build rules to match v29.0" into main by Anivia Li · 5 days ago main master
  2. 91d8f99 Uprev protobuf build rules to match v29.0 by Anivia Li · 5 days ago
  3. 1d577d7 Merge "[profiler] Add profiler to protobuf allow list" into main by Jia Li · 10 days ago
  4. bba2ec3 [profiler] Add profiler to protobuf allow list by Jia Li · 10 days ago
  5. 05d5ebc [protobuf] Add pigweed related protoc exceptions by Eric Rahm · 4 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.