Include correct ABSL_DECLARE_FLAG header.

The absl/flags/flag.h header is not #including absl/flags/declare.h
starting from [1] so this transitive #include needs to be removed.

[1] - https://chromium-review.googlesource.com/c/chromium/src/+/2228841

Bug: None
Change-Id: I06e78ed05e0fb570a9ecc8621ec3ae5298fffd1a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176444
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31433}
This commit is contained in:
Mirko Bonadei 2020-06-03 20:55:37 +02:00 committed by Commit Bot
parent 447cd3e623
commit 5d511a5c0b
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,8 @@
#include "test/testsupport/resources_dir_flag.h" #include "test/testsupport/resources_dir_flag.h"
#include "absl/flags/flag.h"
ABSL_FLAG(std::string, ABSL_FLAG(std::string,
resources_dir, resources_dir,
"", "",

View File

@ -13,7 +13,7 @@
#ifndef TEST_TESTSUPPORT_RESOURCES_DIR_FLAG_H__ #ifndef TEST_TESTSUPPORT_RESOURCES_DIR_FLAG_H__
#define TEST_TESTSUPPORT_RESOURCES_DIR_FLAG_H__ #define TEST_TESTSUPPORT_RESOURCES_DIR_FLAG_H__
#include "absl/flags/flag.h" #include "absl/flags/declare.h"
ABSL_DECLARE_FLAG(std::string, resources_dir); ABSL_DECLARE_FLAG(std::string, resources_dir);