[build] Remove deprecated //third_party/tink/* visibility

Remove legacy //third_party/tink/* and //third_party/tink/cc/proto:*
entries from visibility allowlists now that Cobalt and other consumers
have migrated to the standalone tink-cc repository.

Bug: 524729018
Test: fx gen && fx build

TAG: agy
CONV: 90202eb4-61f5-41b3-b833-bd1359a46a91
Change-Id: I0963def4b5e173f7d394c864ad28688df9fa5167
Reviewed-on: https://fuchsia-review.googlesource.com/c/protobuf-gn/+/1696814
Reviewed-by: Thomas Gales <tgales@google.com>
2 files changed
tree: cb31a093f46c72f2797e75ec09cf97650a19cb1b
  1. upb_generator/
  2. AUTHORS
  3. BUILD.gn
  4. BUILD.input.gn
  5. CONTRIBUTING.md
  6. gen.py
  7. LICENSE
  8. OWNERS
  9. PATENTS
  10. proto_library.gni
  11. protoc_wrapper.py
  12. 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/src.
  • //.gn contains secondary_source = "//build/secondary/"

See the GN documentation on secondary_source.

Updating Build Files

WARNING: DO NOT MODIFY THE BUILD.gn FILE DIRECTLY!

The BUILD.gn file in this directory is generated automatically. Any manual changes will be overwritten.

To make changes to the build configuration:

  1. Edit the BUILD.input.gn file to suit your needs, for example managing visibility, suppressing warnings, etc.
  2. Checkout //third_party/protobuf to the target version.
  3. Run the gen.py script located in this directory to regenerate the BUILD.gn file.
  4. Commit both the updated BUILD.input.gn and the newly generated BUILD.gn file.

Failing to modify BUILD.input.gn will result in your changes being lost the next time the build file is regenerated.