Delete root header file typedef.h.

Usage replaced with stdint.h, rtc_base/system/arch.h and
rtc_base/system/unused.h, as appropriate.

Bug: webrtc:6854
Change-Id: I97225465d14b969903d92979e2df3c3c05d35f18
Reviewed-on: https://webrtc-review.googlesource.com/90249
Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org>
Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24100}
This commit is contained in:
Niels Möller
2018-07-25 16:05:48 +02:00
committed by Commit Bot
parent e41c433502
commit a12c42a6b2
435 changed files with 203 additions and 540 deletions

View File

@ -69,7 +69,6 @@ rtc_static_library("packet") {
]
deps = [
"..:module_api",
"../../:typedefs",
]
}
@ -156,7 +155,6 @@ rtc_static_library("video_coding") {
"..:module_api",
"..:module_api_public",
"../..:webrtc_common",
"../../:typedefs",
"../../api:fec_controller_api",
"../../api/video:encoded_frame",
"../../api/video:video_bitrate_allocator",
@ -194,7 +192,6 @@ rtc_source_set("video_codec_interface") {
]
deps = [
"..:module_api",
"../..:typedefs",
"../..:webrtc_common",
"../../api/video:video_frame",
"../../api/video_codecs:video_codecs_api",
@ -211,7 +208,6 @@ rtc_source_set("mock_headers") {
":video_codec_interface",
":video_coding_utility",
"../..:webrtc_common",
"../../:typedefs",
"../../test:test_support",
]
}
@ -261,7 +257,6 @@ rtc_source_set("video_coding_utility") {
":video_codec_interface",
"..:module_api",
"../..:webrtc_common",
"../../:typedefs",
"../../api/video:video_bitrate_allocator",
"../../api/video_codecs:video_codecs_api",
"../../common_video",
@ -272,6 +267,7 @@ rtc_source_set("video_coding_utility") {
"../../rtc_base:rtc_task_queue",
"../../rtc_base:sequenced_task_checker",
"../../rtc_base/experiments:quality_scaling_experiment",
"../../rtc_base/system:arch",
"../../system_wrappers",
"../../system_wrappers:field_trial_api",
"../../system_wrappers:metrics_api",
@ -346,7 +342,6 @@ rtc_static_library("webrtc_i420") {
":video_codec_interface",
":video_coding_utility",
"../..:webrtc_common",
"../../:typedefs",
"../../api/video:video_frame_i420",
"../../common_video:common_video",
"../../rtc_base:checks",
@ -414,7 +409,6 @@ rtc_static_library("webrtc_vp8") {
":video_coding_utility",
"..:module_api",
"../..:webrtc_common",
"../../:typedefs",
"../../api/video:video_frame",
"../../api/video_codecs:video_codecs_api",
"../../common_video",
@ -600,7 +594,6 @@ if (rtc_include_tests) {
":video_coding_utility",
":webrtc_vp9_helpers",
"../..:webrtc_common",
"../../:typedefs",
"../../api:videocodec_test_fixture_api",
"../../api/video:video_bitrate_allocator",
"../../api/video:video_frame",
@ -837,7 +830,6 @@ if (rtc_include_tests) {
":webrtc_vp9_helpers",
"..:module_api",
"../..:webrtc_common",
"../../:typedefs",
"../../api:create_simulcast_test_fixture_api",
"../../api:simulcast_test_fixture_api",
"../../api:videocodec_test_fixture_api",

View File

@ -15,7 +15,6 @@
#include "modules/include/module_common_types.h"
#include "rtc_base/numerics/percentile_filter.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -15,7 +15,6 @@
#include "modules/video_coding/include/video_codec_interface.h"
#include "rtc_base/checks.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -24,7 +24,6 @@
#include "test/gmock.h"
#include "test/gtest.h"
#include "test/testsupport/mock/mock_frame_reader.h"
#include "typedefs.h" // NOLINT(build/include)
using ::testing::_;
using ::testing::Property;

View File

@ -15,7 +15,6 @@
#include "modules/video_coding/utility/frame_dropper.h"
#include "rtc_base/rate_statistics.h"
#include "rtc_base/timeutils.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -15,8 +15,6 @@
#include <set>
#include <vector>
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
// Forward declarations

View File

@ -18,7 +18,6 @@
#include "modules/video_coding/include/video_coding.h"
#include "modules/video_coding/jitter_buffer_common.h"
#include "modules/video_coding/session_info.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -13,7 +13,6 @@
#include "modules/video_coding/include/video_coding_defines.h"
#include "test/gmock.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -16,7 +16,6 @@
#include "modules/video_coding/include/video_codec_interface.h"
#include "test/gmock.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -19,7 +19,6 @@
#include "common_types.h" // NOLINT(build/include)
#include "modules/include/module_common_types.h"
#include "modules/video_coding/include/video_error_codes.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -18,7 +18,6 @@
// For EncodedImage
#include "common_video/include/video_frame.h"
#include "modules/include/module_common_types.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -11,7 +11,7 @@
#ifndef MODULES_VIDEO_CODING_INTER_FRAME_DELAY_H_
#define MODULES_VIDEO_CODING_INTER_FRAME_DELAY_H_
#include "typedefs.h" // NOLINT(build/include)
#include <stdint.h>
namespace webrtc {

View File

@ -11,8 +11,6 @@
#ifndef MODULES_VIDEO_CODING_INTERNAL_DEFINES_H_
#define MODULES_VIDEO_CODING_INTERNAL_DEFINES_H_
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
#define MASK_32_BITS(x) (0xFFFFFFFF & (x))

View File

@ -28,7 +28,6 @@
#include "rtc_base/constructormagic.h"
#include "rtc_base/criticalsection.h"
#include "rtc_base/thread_annotations.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -11,8 +11,6 @@
#ifndef MODULES_VIDEO_CODING_JITTER_BUFFER_COMMON_H_
#define MODULES_VIDEO_CODING_JITTER_BUFFER_COMMON_H_
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
// Used to estimate rolling average of packets per frame.

View File

@ -13,7 +13,6 @@
#include "modules/video_coding/rtt_filter.h"
#include "rtc_base/rollingaccumulator.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -18,7 +18,6 @@
#include "modules/video_coding/internal_defines.h"
#include "rtc_base/numerics/exp_filter.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
namespace media_optimization {

View File

@ -12,7 +12,6 @@
#define MODULES_VIDEO_CODING_PACKET_H_
#include "modules/include/module_common_types.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -11,7 +11,7 @@
#ifndef MODULES_VIDEO_CODING_RTT_FILTER_H_
#define MODULES_VIDEO_CODING_RTT_FILTER_H_
#include "typedefs.h" // NOLINT(build/include)
#include <stdint.h>
namespace webrtc {

View File

@ -17,7 +17,6 @@
#include "modules/include/module_common_types.h"
#include "modules/video_coding/include/video_coding.h"
#include "modules/video_coding/packet.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
// Used to pass data from jitter buffer to session info.

View File

@ -14,7 +14,6 @@
#include "modules/video_coding/packet.h"
#include "rtc_base/constructormagic.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -13,8 +13,6 @@
#include <memory>
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {
struct VCMFrameInformation;

View File

@ -16,7 +16,6 @@
#include "modules/video_coding/codec_timer.h"
#include "rtc_base/criticalsection.h"
#include "rtc_base/thread_annotations.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -11,10 +11,10 @@
#ifndef MODULES_VIDEO_CODING_UTILITY_FRAME_DROPPER_H_
#define MODULES_VIDEO_CODING_UTILITY_FRAME_DROPPER_H_
#include <cstddef>
#include <stddef.h>
#include <stdint.h>
#include "rtc_base/numerics/exp_filter.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -14,7 +14,6 @@
#include "modules/video_coding/utility/frame_dropper.h"
#include "test/gmock.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -10,6 +10,7 @@
#include "modules/video_coding/utility/vp8_header_parser.h"
#include "rtc_base/logging.h"
#include "rtc_base/system/arch.h"
namespace webrtc {