Creating webrtc:video_stream_api
This target keeps track of .h the files under webrtc/ that are not part of any target. If a .h file is not part of a target the 'gn check' utility is not able to spot if a target is missing a dependency because even if it parses '#include' directives it is not able to find a target that contains these headers. BUG=webrtc:7512 NOTRY=True Review-Url: https://codereview.webrtc.org/2841873002 Cr-Commit-Position: refs/heads/master@{#17874}
This commit is contained in:
parent
dc2fcdd87d
commit
81c79f51aa
@ -224,6 +224,13 @@ config("common_objc") {
|
||||
libs = [ "Foundation.framework" ]
|
||||
}
|
||||
|
||||
rtc_source_set("video_stream_api") {
|
||||
sources = [
|
||||
"video_receive_stream.h",
|
||||
"video_send_stream.h",
|
||||
]
|
||||
}
|
||||
|
||||
if (!build_with_chromium) {
|
||||
# Target to build all the WebRTC production code.
|
||||
rtc_static_library("webrtc") {
|
||||
|
||||
@ -21,6 +21,7 @@ rtc_source_set("call_interfaces") {
|
||||
"syncable.h",
|
||||
]
|
||||
deps = [
|
||||
"..:video_stream_api",
|
||||
"..:webrtc_common",
|
||||
"../api:audio_mixer_api",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
|
||||
@ -27,6 +27,7 @@ rtc_source_set("rtc_event_log_api") {
|
||||
"rtc_event_log/rtc_event_log.h",
|
||||
]
|
||||
deps = [
|
||||
"..:video_stream_api",
|
||||
"../base:rtc_base_approved",
|
||||
"../call:call_interfaces",
|
||||
]
|
||||
@ -94,6 +95,7 @@ if (rtc_enable_protobuf) {
|
||||
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
||||
}
|
||||
deps = [
|
||||
"..:video_stream_api",
|
||||
"../base:protobuf_utils",
|
||||
"../base:rtc_base_approved",
|
||||
]
|
||||
|
||||
@ -267,6 +267,7 @@ if (rtc_include_tests) {
|
||||
include_dirs = []
|
||||
public_deps = []
|
||||
deps = [
|
||||
"..:video_stream_api",
|
||||
"../modules/audio_coding:rent_a_codec",
|
||||
"../modules/audio_processing:audio_processing",
|
||||
"../p2p:rtc_p2p",
|
||||
|
||||
@ -94,6 +94,7 @@ rtc_static_library("video_coding") {
|
||||
":webrtc_i420",
|
||||
":webrtc_vp8",
|
||||
":webrtc_vp9",
|
||||
"../..:video_stream_api",
|
||||
"../..:webrtc_common",
|
||||
"../../base:rtc_base",
|
||||
"../../base:rtc_base_approved",
|
||||
|
||||
@ -205,6 +205,7 @@ if (rtc_enable_protobuf) {
|
||||
}
|
||||
defines = [ "ENABLE_RTC_EVENT_LOG" ]
|
||||
deps = [
|
||||
"..:video_stream_api",
|
||||
"../base:rtc_base_approved",
|
||||
"../call:call_interfaces",
|
||||
"../logging:rtc_event_log_impl",
|
||||
|
||||
@ -54,6 +54,7 @@ rtc_static_library("video") {
|
||||
}
|
||||
|
||||
deps = [
|
||||
"..:video_stream_api",
|
||||
"..:webrtc_common",
|
||||
"../api:transport_api",
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
@ -249,6 +250,7 @@ if (rtc_include_tests) {
|
||||
]
|
||||
deps = [
|
||||
":video",
|
||||
"..:video_stream_api",
|
||||
"../api:video_frame_api",
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
"../base:rtc_base_approved",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user