Enabling Abseil types pretty-printing in gtest.

If Abseil is not built with Chromium, this CL defines GTEST_HAS_ABSL=1
which enables pretty printers for Abseil types.

At the moment only absl:optional and absl::string_view are supported.

If a new printer will be added to gtest/gtest-printers.h, the deps list
in third_party/googletest/BUILD.gn will have to be updated.

Bug: None
Change-Id: Ib3cf0eacc286367be2cba0d7b0d3dd9598147bc7
Reviewed-on: https://chromium-review.googlesource.com/1027711
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#569993}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7876269f45e88d2c20fdb8b10163503639670ee3
1 file changed
tree: b5b1fc0482ba085cc5666dd11b6c8da35a119b22
  1. BUILD.gn
  2. OWNERS
  3. README.chromium
  4. custom/