webrtc/test/test_flags.cc
Jeremy Leconte c9a3475845 Add a test_flags_tmp build target.
The build target will be removed in a follow up commit.

Change-Id: I668932ec987996ad5f8e26cbb7f44757cf8284f9
Bug: b:467810708
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/433180
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#46460}
2025-12-11 10:19:16 -08:00

37 lines
1.1 KiB
C++

/*
* Copyright (c) 2022 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/test_flags.h"
#include <string>
#include <vector>
#include "absl/flags/flag.h"
ABSL_FLAG(std::vector<std::string>,
plot,
{},
"List of metrics that should be exported for plotting (if they are "
"available). Example: psnr,ssim,encode_time. To plot all available "
" metrics pass 'all' as flag value");
ABSL_FLAG(
std::string,
isolated_script_test_perf_output,
"",
"Path where the perf results should be stored in proto format described "
"described by histogram.proto in "
"https://chromium.googlesource.com/catapult/.");
ABSL_FLAG(bool,
webrtc_quick_perf_test,
false,
"Runs webrtc perfomance tests in quick mode.");