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

@ -28,7 +28,6 @@ rtc_source_set("legacy_delay_estimator") {
"delay_estimator_wrapper.h",
]
deps = [
"../../..:typedefs",
"../../../rtc_base:checks",
]
}
@ -40,7 +39,7 @@ rtc_source_set("ooura_fft") {
"ooura_fft_tables_common.h",
]
deps = [
"../../..:typedefs",
"../../../rtc_base/system:arch",
"../../../system_wrappers:cpu_features_api",
]
cflags = []
@ -109,7 +108,6 @@ if (rtc_include_tests) {
]
deps = [
":legacy_delay_estimator",
"../../..:typedefs",
"../../../rtc_base:rtc_base_approved",
"../../../test:test_support",
"//testing/gtest",

View File

@ -14,7 +14,7 @@
#ifndef MODULES_AUDIO_PROCESSING_UTILITY_DELAY_ESTIMATOR_H_
#define MODULES_AUDIO_PROCESSING_UTILITY_DELAY_ESTIMATOR_H_
#include "typedefs.h" // NOLINT(build/include)
#include <stdint.h>
static const int32_t kMaxBitCountsQ9 = (32 << 9); // 32 matching bits in Q9.

View File

@ -14,7 +14,6 @@
#define MODULES_AUDIO_PROCESSING_UTILITY_DELAY_ESTIMATOR_INTERNAL_H_
#include "modules/audio_processing/utility/delay_estimator.h"
#include "typedefs.h" // NOLINT(build/include)
typedef union {
float float_;

View File

@ -12,7 +12,6 @@
#include "modules/audio_processing/utility/delay_estimator_internal.h"
#include "modules/audio_processing/utility/delay_estimator_wrapper.h"
#include "test/gtest.h"
#include "typedefs.h" // NOLINT(build/include)
namespace {

View File

@ -14,7 +14,7 @@
#ifndef MODULES_AUDIO_PROCESSING_UTILITY_DELAY_ESTIMATOR_WRAPPER_H_
#define MODULES_AUDIO_PROCESSING_UTILITY_DELAY_ESTIMATOR_WRAPPER_H_
#include "typedefs.h" // NOLINT(build/include)
#include <stdint.h>
// Releases the memory allocated by WebRtc_CreateDelayEstimatorFarend(...)
void WebRtc_FreeDelayEstimatorFarend(void* handle);

View File

@ -26,8 +26,8 @@
#include <math.h>
#include "modules/audio_processing/utility/ooura_fft_tables_common.h"
#include "rtc_base/system/arch.h"
#include "system_wrappers/include/cpu_features_wrapper.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -11,7 +11,7 @@
#ifndef MODULES_AUDIO_PROCESSING_UTILITY_OOURA_FFT_H_
#define MODULES_AUDIO_PROCESSING_UTILITY_OOURA_FFT_H_
#include "typedefs.h" // NOLINT(build/include)
#include "rtc_base/system/arch.h"
namespace webrtc {

View File

@ -11,7 +11,6 @@
#include "modules/audio_processing/utility/ooura_fft.h"
#include "modules/audio_processing/utility/ooura_fft_tables_common.h"
#include "typedefs.h" // NOLINT(build/include)
namespace webrtc {

View File

@ -14,6 +14,7 @@
#include "modules/audio_processing/utility/ooura_fft_tables_common.h"
#include "modules/audio_processing/utility/ooura_fft_tables_neon_sse2.h"
#include "rtc_base/system/arch.h"
namespace webrtc {

View File

@ -12,6 +12,7 @@
#define MODULES_AUDIO_PROCESSING_UTILITY_OOURA_FFT_TABLES_NEON_SSE2_H_
#include "modules/audio_processing/utility/ooura_fft.h"
#include "rtc_base/system/arch.h"
#ifdef _MSC_VER /* visual c++ */
#define ALIGN16_BEG __declspec(align(16))