From c9e74f5837972438e6bf958c4b00d47a45bbd3b0 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Tue, 2 Jan 2018 17:00:00 +0100 Subject: [PATCH] Removing API forwarding headers. The removal of these headers has been announced in November with https://groups.google.com/forum/#!topic/discuss-webrtc/0vWBzJs0yDU. Bug: webrtc:5883 Change-Id: I6ead2e3bd619472db1a78c0ded5dc57bdb66b76c Reviewed-on: https://webrtc-review.googlesource.com/34648 Reviewed-by: Peter Thatcher Reviewed-by: Oskar Sundbom Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#21512} --- api/BUILD.gn | 13 ------------- api/mediastreamtrack.h | 18 ------------------ api/videotracksource.h | 18 ------------------ api/webrtcsdp.h | 18 ------------------ 4 files changed, 67 deletions(-) delete mode 100644 api/mediastreamtrack.h delete mode 100644 api/videotracksource.h delete mode 100644 api/webrtcsdp.h diff --git a/api/BUILD.gn b/api/BUILD.gn index 8bbfc26110..d8e7cd0afc 100644 --- a/api/BUILD.gn +++ b/api/BUILD.gn @@ -84,7 +84,6 @@ rtc_static_library("libjingle_peerconnection_api") { } public_deps = [ - ":libjingle_api_deprecated_headers", ":peerconnection_and_implicit_call_api", ] @@ -125,18 +124,6 @@ rtc_source_set("peerconnection_and_implicit_call_api") { ] } -rtc_source_set("libjingle_api_deprecated_headers") { - # We need to include headers from undeclared targets here, since they cause - # circular dependencies. These deprecated headers are going away anyway. - # See http://bugs.webrtc.org/5883. - check_includes = false - sources = [ - "mediastreamtrack.h", - "videotracksource.h", - "webrtcsdp.h", - ] -} - rtc_source_set("libjingle_logging_api") { sources = [ "rtceventlogoutput.h", diff --git a/api/mediastreamtrack.h b/api/mediastreamtrack.h deleted file mode 100644 index 4b214a48d0..0000000000 --- a/api/mediastreamtrack.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright 2011 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_MEDIASTREAMTRACK_H_ -#define API_MEDIASTREAMTRACK_H_ - -// Including this file is deprecated. It is no longer part of the public API. -// This only includes the file in its new location for backwards compatibility. -#include "pc/mediastreamtrack.h" - -#endif // API_MEDIASTREAMTRACK_H_ diff --git a/api/videotracksource.h b/api/videotracksource.h deleted file mode 100644 index 5ed49834d9..0000000000 --- a/api/videotracksource.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright 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_VIDEOTRACKSOURCE_H_ -#define API_VIDEOTRACKSOURCE_H_ - -// Including this file is deprecated. It is no longer part of the public API. -// This only includes the file in its new location for backwards compatibility. -#include "pc/videotracksource.h" - -#endif // API_VIDEOTRACKSOURCE_H_ diff --git a/api/webrtcsdp.h b/api/webrtcsdp.h deleted file mode 100644 index cc0d292c75..0000000000 --- a/api/webrtcsdp.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright 2011 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_WEBRTCSDP_H_ -#define API_WEBRTCSDP_H_ - -// Including this file is deprecated. It is no longer part of the public API. -// This only includes the file in its new location for backwards compatibility. -#include "pc/webrtcsdp.h" - -#endif // API_WEBRTCSDP_H_