Clone this repo:

Branches

  1. cb9e22a Replace camrdale with pankhurst in owners. by Cameron Dale · 5 days ago main master
  2. ab80606 [licenses] Add applicable_licenses to proto_library.gni by Yaar Schnitman · 7 months ago
  3. d686249 [cobal][protoc_wrapper] Explicitly use python3.11 by Anivia Li · 9 months ago
  4. dc3e5f6 Merge "[protobuf] Add a protoc target in all toolchains" into main by Ian McKellar · 1 year ago
  5. d6d4a77 [protobuf] Add a protoc target in all toolchains by Ian McKellar · 1 year 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.