Fork GN support from third_party/protobuf.

See README.md for notes.

Bug: 59636
Change-Id: I663fe531ace1853bd7d8d99304d4ba138bd163d2
4 files changed
tree: d28f11501640106be8a72af35ec3ed1b5691991a
  1. AUTHORS
  2. BUILD.gn
  3. CONTRIBUTING.md
  4. LICENSE
  5. PATENTS
  6. proto_library.gni
  7. protoc_wrapper.py
  8. 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 in secondary build directory that corresponds to the location of the protobuf repo. See the GN documentation on secondary_source.

For example if //.gn contains:

secondary_source = "//build/secondary/"

And protobuf is checked out at //third_party/protobuf, then this repo should be checked out at //build/secondary/third_party/protobuf.