From e686b1fc8b308ca68390af192d4ffa3360c69fbd Mon Sep 17 00:00:00 2001 From: Artem Titov Date: Wed, 12 Apr 2023 10:56:13 +0200 Subject: [PATCH] Start extraction of frame_generator_capturer.h|cc into separate target Introduce temporary header for downstream projects to migrate on a separate target. Bug: b/272350185 Change-Id: Ibeeae48395af4d7a06371b2d6d7ffc861dc479f2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/300864 Reviewed-by: Mirko Bonadei Commit-Queue: Artem Titov Cr-Commit-Position: refs/heads/main@{#39821} --- test/BUILD.gn | 7 +++++++ test/frame_generator_capturer_tmp.h | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 test/frame_generator_capturer_tmp.h diff --git a/test/BUILD.gn b/test/BUILD.gn index b50a203772..f3be88a1da 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -126,6 +126,13 @@ rtc_library("test_video_capturer") { ] } +rtc_library("frame_generator_capturer") { + visibility = [ "*" ] + testonly = true + sources = [ "frame_generator_capturer_tmp.h" ] + deps = [ ":video_test_common" ] +} + rtc_library("video_test_common") { visibility = [ "*" ] testonly = true diff --git a/test/frame_generator_capturer_tmp.h b/test/frame_generator_capturer_tmp.h new file mode 100644 index 0000000000..69e0cf58da --- /dev/null +++ b/test/frame_generator_capturer_tmp.h @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2023 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. + */ + +#ifndef TEST_FRAME_GENERATOR_CAPTURER_TMP_H_ +#define TEST_FRAME_GENERATOR_CAPTURER_TMP_H_ + +#include "test/frame_generator_capturer.h" + +#endif // TEST_FRAME_GENERATOR_CAPTURER_TMP_H_