maldoca-depend-on-zlib-instead-of-headers-only.patch 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. From 0aa878b7839141077071db97ba1cd30edf486827 Mon Sep 17 00:00:00 2001
  2. From: Stephan Hartmann <stha09@googlemail.com>
  3. Date: Wed, 15 Sep 2021 17:14:14 +0000
  4. Subject: [PATCH] maldoca: depend on zlib instead of headers only
  5. There is no zlib_common_headers target for unbundled zlib
  6. and in the end code links against zlib static library anyways.
  7. Bug: None
  8. Change-Id: I50b8bb5b480770b637904de00aecc3a629f09471
  9. Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3162976
  10. Reviewed-by: Daniel Rubery <drubery@chromium.org>
  11. Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
  12. Cr-Commit-Position: refs/heads/main@{#921717}
  13. ---
  14. third_party/maldoca/BUILD.gn | 2 +-
  15. 1 file changed, 1 insertion(+), 1 deletion(-)
  16. diff --git a/third_party/maldoca/BUILD.gn b/third_party/maldoca/BUILD.gn
  17. index eeab2056b5..29a0a2ca49 100644
  18. --- a/third_party/maldoca/BUILD.gn
  19. +++ b/third_party/maldoca/BUILD.gn
  20. @@ -224,7 +224,7 @@ source_set("maldoca-ole") {
  21. "//third_party/libxml",
  22. "//third_party/protobuf:protobuf_lite",
  23. "//third_party/re2",
  24. - "//third_party/zlib:zlib_common_headers",
  25. + "//third_party/zlib:zlib",
  26. "//third_party/zlib/google:zip",
  27. ]