webrtc/test/testsupport/resources_dir_flag.cc
Mirko Bonadei 5d511a5c0b 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}
2020-06-03 22:08:46 +00:00

21 lines
855 B
C++

/*
* Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "test/testsupport/resources_dir_flag.h"
#include "absl/flags/flag.h"
ABSL_FLAG(std::string,
resources_dir,
"",
"Where to look for the runtime dependencies. If not specified, we "
"will use a reasonable default depending on where we are running. "
"This flag is useful if we copy over test resources to a phone and "
"need to tell the tests where their resources are.");