Delete unneeded direct includes of common_types.h
And delete corresponding dependencies on :webrtc_common. After this change, common_types.h is included directly only from code in the following directories: api/ api/video/ api/video_codecs/ common_video/libyuv/include/ media/base/ modules/remote_bitrate_estimator/ modules/rtp_rtcp/source/ modules/video_coding/codecs/vp9/ There remains plenty of indirect dependencies on the types declared in common_types.h, but the fewer direct dependencies should make it easier to find the proper place for each type. Bug: webrtc:5876 Change-Id: I93e8f214025ecb613c19fdec2015bd3f96c59aae Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/130501 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27376}
This commit is contained in:
@ -19,7 +19,6 @@
|
||||
#include "api/task_queue/task_queue_base.h"
|
||||
#include "api/video_codecs/sdp_video_format.h"
|
||||
#include "api/video_codecs/video_encoder.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "common_video/h264/h264_bitstream_parser.h"
|
||||
#include "common_video/h264/h264_common.h"
|
||||
#include "common_video/h264/profile_level_id.h"
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
|
||||
#include "api/video_codecs/sdp_video_format.h"
|
||||
#include "api/video_codecs/video_decoder.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/logging.h"
|
||||
#include "sdk/android/generated_video_jni/jni/VideoDecoderFactory_jni.h"
|
||||
#include "sdk/android/native_api/jni/java_types.h"
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
#include "sdk/android/src/jni/video_encoder_factory_wrapper.h"
|
||||
|
||||
#include "api/video_codecs/video_encoder.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/logging.h"
|
||||
#include "sdk/android/generated_video_jni/jni/VideoEncoderFactory_jni.h"
|
||||
#include "sdk/android/native_api/jni/class_loader.h"
|
||||
|
||||
Reference in New Issue
Block a user