• Mirko Bonadei's avatar
    Add gtest absl deps to the absl component. · 3a2a481f
    Mirko Bonadei authored
    This CL conditionally adds absl/debugging deps to the absl component
    if build_with_chromium=false. This will allow downstream projects to
    use gtest with absl (for pretty printers and matchers) but it will
    remove these dependencies in Chromium to avoid to add static
    initializers.
    
    When static initializers will be removed, the dependency will not be
    conditional so Chromium will also be able to set
    'gtest_enable_absl_printers=true'.
    
    Bug: 1046390
    Change-Id: Ifffea81ba8f7a9412bebc3798e8f79eaff2777d7
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2262972
    Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
    Auto-Submit: Mirko Bonadei <mbonadei@chromium.org>
    Reviewed-by: default avatarNico Weber <thakis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#782889}
    3a2a481f
BUILD.gn 4.82 KB