Clone this repo:

Branches

  1. 7d2a723 Ignore generator_visibility parameter by Clayton Wilkinson · 10 days ago main master
  2. 2700089 Merge "Add profiler to protobuf allowlist in the BUILD.input.gn" into main by Anivia Li · 3 weeks ago
  3. 310fcd4 Add profiler to protobuf allowlist in the BUILD.input.gn by Anivia Li · 3 weeks ago
  4. 1024ff0 Merge "Uprev protobuf build rules to match v29.0" into main by Anivia Li · 5 weeks ago
  5. 91d8f99 Uprev protobuf build rules to match v29.0 by Anivia Li · 5 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.