Clone this repo:

Branches

  1. a496750 Decouple visibility list for protobuf libraries and protoc by Anivia Li · 5 weeks ago main master
  2. 9243eb7 [protobuf] Complete starnix/perfetto migration by Gwen Mittertreiner · 5 weeks ago
  3. 51f43e9 [protobuf] Migrate //src/starnix/../perfetto-consumer by Gwen Mittertreiner · 5 weeks ago
  4. 52d85b2 Add //vendor/google/* back to protobuf allowlist. by Anivia Li · 5 weeks ago
  5. b0bfbf7 Allowlist third_party from vendor to use protobuf 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.