From b92f4800d755aa244beb3b16bd6b889a4d6b5487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Mon, 28 May 2018 11:37:51 +0200 Subject: [PATCH] Reland "Delete deprecated api build targets for api/video." This is a reland of c061d8e22ce1c93f0dc195124c619c1ccfec50a1 Original change's description: > Delete deprecated api build targets for api/video. > > Also deletes api/videosinkinterface.h, which was moved to > api/video/video_sink_interface.h. > > Bug: webrtc:9253 > Change-Id: I01211c2862f964196f8e45155cbbb7f4f0204483 > Reviewed-on: https://webrtc-review.googlesource.com/76420 > Commit-Queue: Niels Moller > Reviewed-by: Mirko Bonadei > Reviewed-by: Karl Wiberg > Cr-Commit-Position: refs/heads/master@{#23408} Bug: webrtc:9253 Tbr: crodbro@webrtc.org Change-Id: I280233e444c839d644ca2b18ef798579cdfef8ee Reviewed-on: https://webrtc-review.googlesource.com/79500 Commit-Queue: Niels Moller Reviewed-by: Niels Moller Cr-Commit-Position: refs/heads/master@{#23424} --- api/BUILD.gn | 62 ---------------------------------------- api/videosinkinterface.h | 18 ------------ 2 files changed, 80 deletions(-) delete mode 100644 api/videosinkinterface.h diff --git a/api/BUILD.gn b/api/BUILD.gn index 701fe19ac8..bc498ac569 100644 --- a/api/BUILD.gn +++ b/api/BUILD.gn @@ -219,59 +219,6 @@ rtc_source_set("fec_controller_api") { ] } -# TODO(bugs.webrtc.org/9253): Deprecated, replaced by video:video_frame. -# Delete after downstream users are updated. -rtc_source_set("video_frame_api") { - visibility = [ "*" ] - sources = [ - "videosinkinterface.h", - "videosourceinterface.h", - ] - - public_deps = [ # no-presubmit-check TODO(webrtc:8603) - "video:video_frame", - ] -} - -# TODO(bugs.webrtc.org/9253): Deprecated, replaced by video:encoded_frame. -# Delete after downstream users are updated. -rtc_source_set("encoded_frame_api") { - visibility = [ "*" ] - - public_deps = [ # no-presubmit-check TODO(webrtc:8603) - "video:encoded_frame", - ] -} - -# TODO(bugs.webrtc.org/9253): Deprecated, replaced by video:video_stream_decoder. -# Delete after downstream users are updated. -rtc_source_set("video_stream_decoder") { - visibility = [ "*" ] - - public_deps = [ # no-presubmit-check TODO(webrtc:8603) - "video:video_stream_decoder", - ] -} - -# TODO(bugs.webrtc.org/9253): Deprecated, replaced by video:video_stream_decoder_create. -# Delete after downstream users are updated. -rtc_source_set("video_stream_decoder_create") { - visibility = [ "*" ] - - public_deps = [ # no-presubmit-check TODO(webrtc:8603) - "video:video_stream_decoder_create", - ] -} - -# TODO(bugs.webrtc.org/9253): Deprecated, replaced by video:video_frame_i420. -# Delete after downstream users are updated. -rtc_source_set("video_frame_api_i420") { - visibility = [ "*" ] - public_deps = [ # no-presubmit-check TODO(webrtc:8603) - "video:video_frame_i420", - ] -} - rtc_source_set("array_view") { visibility = [ "*" ] sources = [ @@ -319,15 +266,6 @@ rtc_source_set("libjingle_peerconnection_test_api") { ] } -# TODO(bugs.webrtc.org/9253): Deprecated, replaced by video:video_bitrate_allocation. -# Delete after downstream users are updated. -rtc_source_set("video_bitrate_allocation") { - visibility = [ "*" ] - public_deps = [ # no-presubmit-check TODO(webrtc:8603) - "video:video_bitrate_allocation", - ] -} - if (rtc_include_tests) { if (rtc_enable_protobuf) { rtc_source_set("audioproc_f_api") { diff --git a/api/videosinkinterface.h b/api/videosinkinterface.h deleted file mode 100644 index 21957b433c..0000000000 --- a/api/videosinkinterface.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright (c) 2016 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 API_VIDEOSINKINTERFACE_H_ -#define API_VIDEOSINKINTERFACE_H_ - -// TODO(nisse): Place holder for moved file. Delete after applications are -// updated. -#include "api/video/video_sink_interface.h" - -#endif // API_VIDEOSINKINTERFACE_H_