Commit d2fc2714 authored by Mirko Bonadei's avatar Mirko Bonadei Committed by Commit Bot

Properly propagate include when gtest depends on absl.

This is requred to fix some //base tests compiled by standalone webrtc
when running "ninja -C out/Debug all".

Bug: webrtc:11411
Change-Id: Ibcc43e19c594f3860fe5ebbc435aad5fd3a928f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090420
Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747699}
parent 0f9b7f28
......@@ -115,7 +115,11 @@ source_set("gtest") {
# Some files include "src/gtest-internal-inl.h".
include_dirs = [ "src/googletest" ]
# TODO(crbug.com/1059240): Remove usage of all_dependent_configs.
all_dependent_configs = [ ":gtest_config" ]
if (!build_with_chromium && gtest_enable_absl_printers) {
all_dependent_configs += [ "//third_party/abseil-cpp:absl_include_config" ]
}
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment