[protobuf] Add options for plugin depfile

Adds options to protoc_wrapper.py to build a depfile on behalf of the
plugin.

Change-Id: I68bc7ef2b2edd1dfc232bb78c310f81082576b71
1 file changed
tree: 615fb8b8296790247f4bd4c7f2d7ee90b880455c
  1. test/
  2. AUTHORS
  3. BUILD.gn
  4. CONTRIBUTING.md
  5. LICENSE
  6. PATENTS
  7. proto_library.gni
  8. protoc_wrapper.py
  9. 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.