mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-19 00:27:51 +01:00

First batch of applying iwyu to the repo. Done with: > ./tools_webrtc/iwyu/apply-iwyu api > git add api/[a-s]* > python3 gn_autodeps.py ~/local/webrtc/src out/Default Last step is a custom script I wrote to automatically apply new required dependencies for target in gn, which saved tons of time manually going over the files and fixing. If this is something that interest others, I can submit it as well. Bug: webrtc:42226242 Change-Id: Id109e77f50835827495bc4512880c4ec9ae175f6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/343680 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Dor Hen <dorhen@meta.com> Cr-Commit-Position: refs/heads/main@{#42512}
77 lines
2.6 KiB
Text
77 lines
2.6 KiB
Text
# Copyright 2021 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//third_party/grpc/grpc_library.gni")
|
|
import("../../webrtc.gni")
|
|
|
|
grpc_library("signaling_grpc_proto") {
|
|
testonly = true
|
|
sources = [ "peer_connection_signaling.proto" ]
|
|
}
|
|
|
|
rtc_library("signaling_interface") {
|
|
sources = [ "signaling_interface.h" ]
|
|
deps = [ "../../api:libjingle_peerconnection_api" ]
|
|
}
|
|
|
|
rtc_library("grpc_signaling") {
|
|
testonly = true
|
|
sources = [
|
|
"grpc_signaling.cc",
|
|
"grpc_signaling.h",
|
|
]
|
|
deps = [
|
|
":signaling_grpc_proto",
|
|
":signaling_interface",
|
|
"../../api:libjingle_peerconnection_api",
|
|
"../../rtc_base:threading",
|
|
"//third_party/grpc:grpc++",
|
|
]
|
|
|
|
defines = [ "GPR_FORBID_UNREACHABLE_CODE=0" ]
|
|
}
|
|
|
|
rtc_executable("data_channel_benchmark") {
|
|
testonly = true
|
|
sources = [
|
|
"data_channel_benchmark.cc",
|
|
"peer_connection_client.cc",
|
|
"peer_connection_client.h",
|
|
]
|
|
deps = [
|
|
":grpc_signaling",
|
|
":signaling_interface",
|
|
"../../api:create_peerconnection_factory",
|
|
"../../api:libjingle_peerconnection_api",
|
|
"../../api:rtc_error",
|
|
"../../api:scoped_refptr",
|
|
"../../api/audio:audio_device",
|
|
"../../api/audio:audio_mixer_api",
|
|
"../../api/audio:audio_processing",
|
|
"../../api/audio_codecs:builtin_audio_decoder_factory",
|
|
"../../api/audio_codecs:builtin_audio_encoder_factory",
|
|
"../../api/video_codecs:video_codecs_api",
|
|
"../../api/video_codecs:video_codecs_api",
|
|
"../../api/video_codecs:video_decoder_factory_template",
|
|
"../../api/video_codecs:video_decoder_factory_template_dav1d_adapter",
|
|
"../../api/video_codecs:video_decoder_factory_template_libvpx_vp8_adapter",
|
|
"../../api/video_codecs:video_decoder_factory_template_libvpx_vp9_adapter",
|
|
"../../api/video_codecs:video_decoder_factory_template_open_h264_adapter",
|
|
"../../api/video_codecs:video_encoder_factory_template",
|
|
"../../api/video_codecs:video_encoder_factory_template_libaom_av1_adapter",
|
|
"../../api/video_codecs:video_encoder_factory_template_libvpx_vp8_adapter",
|
|
"../../api/video_codecs:video_encoder_factory_template_libvpx_vp9_adapter",
|
|
"../../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
|
"../../rtc_base:checks",
|
|
"../../rtc_base:logging",
|
|
"../../rtc_base:refcount",
|
|
"../../rtc_base:rtc_event",
|
|
"../../rtc_base:ssl_adapter",
|
|
"../../rtc_base:threading",
|
|
"../../system_wrappers:field_trial",
|
|
"//third_party/abseil-cpp/absl/cleanup:cleanup",
|
|
"//third_party/abseil-cpp/absl/flags:flag",
|
|
"//third_party/abseil-cpp/absl/flags:parse",
|
|
]
|
|
}
|