Merge "[protobuf] Add a protoc target in all toolchains" into main
tree: 74f99e05bb02327b8e97b62c27ba9464136b0b34
  1. AUTHORS
  2. BUILD.gn
  3. BUILD.input.gn
  4. CONTRIBUTING.md
  5. gen.py
  6. LICENSE
  7. OWNERS
  8. PATENTS
  9. proto_library.gni
  10. protoc_wrapper.py
  11. README.md
README.md

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.