
We want api/peerconnectioninterface.h (and corresponding build target) to not depend on call.h, and generally we treat Call as an internal, non-api, class. But we need CallFactoryInterface in the api in order to enable use of PeerConnection with or without support for media. Making CallConfig a top-level class makes it possible to forward declare it, together with Call, for use in callfactoryinterface.h and peerconnectioninterface.h. Delete the peerconnection_and_implicit_call_api target, replaced by new target callfactory_api, to link between Call and Peerconnection. Bug: webrtc:7504 Change-Id: I5e3978ef89bcd6705e94536f8676bcf89fc82fe1 Reviewed-on: https://webrtc-review.googlesource.com/46201 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22020}
35 lines
959 B
Python
35 lines
959 B
Python
include_rules = [
|
|
"+third_party/libyuv",
|
|
"+common_video",
|
|
"+media",
|
|
"+p2p",
|
|
"+pc",
|
|
"+logging/rtc_event_log/rtc_event_log_factory_interface.h",
|
|
]
|
|
|
|
specific_include_rules = {
|
|
# Needed because AudioEncoderOpus is in the wrong place for
|
|
# backwards compatibilty reasons. See
|
|
# https://bugs.chromium.org/p/webrtc/issues/detail?id=7847
|
|
"audio_encoder_opus\.h": [
|
|
"+modules/audio_coding/codecs/opus/audio_encoder_opus.h",
|
|
],
|
|
|
|
# We allow .cc files in webrtc/api/ to #include a bunch of stuff
|
|
# that's off-limits for the .h files. That's because .h files leak
|
|
# their #includes to whoever's #including them, but .cc files do not
|
|
# since no one #includes them.
|
|
".*\.cc": [
|
|
"+modules/audio_coding",
|
|
],
|
|
|
|
".*i420_buffer\.h": [
|
|
"+system_wrappers/include/aligned_malloc.h",
|
|
],
|
|
|
|
# Needed to use the APM statistics.
|
|
"mediastreaminterface.h": [
|
|
"+modules/audio_processing/include/audio_processing_statistics.h",
|
|
],
|
|
}
|