Require the repo to be checked out at //build/secondary/third_party/protobuf

GN doesn't seem to respect secondary_source for an action's script, so
we just hard-code the checkout location, which is OK since that's
compatible with both Fuchsia and Cobalt.

Bug: 59636
Change-Id: Ie4a2252c5542891b08d85bd4a010f0787e77da2a
2 files changed
tree: 5e06efe79815c7d95a136263be5c0f24c69b7339
  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.