[protobuf] Supress deprecated-declaration warning on Mac

Mac has deprecated sprintf, combined with -Werror this makes
the protoc build fail.

BUG=https://github.com/dart-lang/sdk/issues/52407

Change-Id: I7f376bb91fb9d7ebc61c85e65187858e81189c1a
1 file changed
tree: 29eaa27132ad46ac66f6162bc50ba6296cbc6684
  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.