• Mirko Bonadei's avatar
    Enabling Abseil types pretty-printing in gtest. · 7876269f
    Mirko Bonadei authored
    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/1027711Reviewed-by: default avatarNico Weber <thakis@chromium.org>
    Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#569993}
    7876269f
BUILD.gn 741 Bytes