2018-10-26 13:17:47 +02:00
|
|
|
# This is supposed to be a complete list of top-level directories,
|
|
|
|
|
# excepting only api/ itself.
|
2016-03-17 12:05:36 +01:00
|
|
|
include_rules = [
|
2018-10-24 13:57:25 +02:00
|
|
|
"-audio",
|
|
|
|
|
"-base",
|
|
|
|
|
"-build",
|
|
|
|
|
"-buildtools",
|
|
|
|
|
"-build_overrides",
|
|
|
|
|
"-call",
|
|
|
|
|
"-common_audio",
|
|
|
|
|
"-common_video",
|
|
|
|
|
"-data",
|
|
|
|
|
"-examples",
|
2018-10-24 15:53:33 +02:00
|
|
|
"-ios",
|
2018-10-24 13:57:25 +02:00
|
|
|
"-infra",
|
|
|
|
|
"-logging",
|
|
|
|
|
"-media",
|
|
|
|
|
"-modules",
|
|
|
|
|
"-out",
|
|
|
|
|
"-p2p",
|
|
|
|
|
"-pc",
|
|
|
|
|
"-resources",
|
|
|
|
|
"-rtc_base",
|
|
|
|
|
"-rtc_tools",
|
|
|
|
|
"-sdk",
|
|
|
|
|
"-stats",
|
|
|
|
|
"-style-guide",
|
|
|
|
|
"-system_wrappers",
|
|
|
|
|
"-test",
|
|
|
|
|
"-testing",
|
|
|
|
|
"-third_party",
|
|
|
|
|
"-tools",
|
|
|
|
|
"-tools_webrtc",
|
|
|
|
|
"-video",
|
|
|
|
|
"-external/webrtc/webrtc", # Android platform build.
|
|
|
|
|
"-libyuv",
|
|
|
|
|
"-common_types.h",
|
|
|
|
|
"-WebRTC",
|
2016-03-17 12:05:36 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
specific_include_rules = {
|
2018-10-24 13:57:25 +02:00
|
|
|
# Some internal headers are allowed even in API headers:
|
|
|
|
|
".*\.h": [
|
|
|
|
|
"+rtc_base/checks.h",
|
|
|
|
|
"+rtc_base/system/rtc_export.h",
|
2018-11-19 11:17:12 +01:00
|
|
|
"+rtc_base/units/unit_base.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"array_view\.h": [
|
|
|
|
|
"+rtc_base/type_traits.h",
|
|
|
|
|
],
|
|
|
|
|
|
2017-06-30 04:23:22 -07:00
|
|
|
# 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": [
|
2017-09-15 06:47:31 +02:00
|
|
|
"+modules/audio_coding/codecs/opus/audio_encoder_opus.h",
|
2017-06-30 04:23:22 -07:00
|
|
|
],
|
|
|
|
|
|
2018-10-24 13:57:25 +02:00
|
|
|
"asyncresolverfactory\.h": [
|
|
|
|
|
"+rtc_base/asyncresolverinterface.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"candidate\.h": [
|
|
|
|
|
"+rtc_base/network_constants.h",
|
|
|
|
|
"+rtc_base/socketaddress.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"datachannelinterface\.h": [
|
|
|
|
|
"+rtc_base/copyonwritebuffer.h",
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"dtmfsenderinterface\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"fec_controller\.h": [
|
|
|
|
|
"+modules/include/module_fec_types.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"jsep\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"jsepicecandidate\.h": [
|
|
|
|
|
"+rtc_base/constructormagic.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"jsepsessiondescription\.h": [
|
|
|
|
|
"+rtc_base/constructormagic.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"mediastreaminterface\.h": [
|
|
|
|
|
"+modules/audio_processing/include/audio_processing_statistics.h",
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
Add interfaces for using MediaTransport as the transport for data channels.
Adds the types and methods required for sending and receiving data
channel messages over the media transport. These are:
- A DataMessageType to distinguish between text, binary, and control
messages
- A parameters struct for sending data messages, which specifies the
channel id, type, and ordering/reliability parameters
- A sink for data-channel related callbacks (receive data, begin
closing procedure, and end closing procedure)
- A method to set the sink for data channels
- Methods to open, close, and send on data channels
These methods, combined with the state sink, allow PeerConnection to
implement the DataChannelProviderInterface using MediaTransport as the
underlying transport.
Change-Id: Iccb2ba374594762a5b4f995564e2a1ff7d8805f5
Bug: webrtc:9719
Reviewed-on: https://webrtc-review.googlesource.com/c/108541
Reviewed-by: Anton Sukhanov <sukhanov@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Reviewed-by: Seth Hampson <shampson@webrtc.org>
Reviewed-by: Peter Slatala <psla@webrtc.org>
Commit-Queue: Bjorn Mellem <mellem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25454}
2018-10-30 15:15:00 -07:00
|
|
|
"media_transport_interface\.h": [
|
|
|
|
|
"+rtc_base/copyonwritebuffer.h", # As used by datachannelinterface.h
|
2018-11-08 07:43:31 -08:00
|
|
|
"+rtc_base/networkroute.h"
|
Add interfaces for using MediaTransport as the transport for data channels.
Adds the types and methods required for sending and receiving data
channel messages over the media transport. These are:
- A DataMessageType to distinguish between text, binary, and control
messages
- A parameters struct for sending data messages, which specifies the
channel id, type, and ordering/reliability parameters
- A sink for data-channel related callbacks (receive data, begin
closing procedure, and end closing procedure)
- A method to set the sink for data channels
- Methods to open, close, and send on data channels
These methods, combined with the state sink, allow PeerConnection to
implement the DataChannelProviderInterface using MediaTransport as the
underlying transport.
Change-Id: Iccb2ba374594762a5b4f995564e2a1ff7d8805f5
Bug: webrtc:9719
Reviewed-on: https://webrtc-review.googlesource.com/c/108541
Reviewed-by: Anton Sukhanov <sukhanov@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Reviewed-by: Seth Hampson <shampson@webrtc.org>
Reviewed-by: Peter Slatala <psla@webrtc.org>
Commit-Queue: Bjorn Mellem <mellem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25454}
2018-10-30 15:15:00 -07:00
|
|
|
],
|
|
|
|
|
|
2018-10-24 13:57:25 +02:00
|
|
|
"peerconnectionfactoryproxy\.h": [
|
|
|
|
|
"+rtc_base/bind.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"refcountedbase\.h": [
|
|
|
|
|
"+rtc_base/constructormagic.h",
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
"+rtc_base/refcounter.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"rtcerror\.h": [
|
|
|
|
|
"+rtc_base/logging.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"rtpreceiverinterface\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"rtpsenderinterface\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"rtptransceiverinterface\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"setremotedescriptionobserverinterface\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"statstypes\.h": [
|
|
|
|
|
"+rtc_base/constructormagic.h",
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
"+rtc_base/stringencode.h",
|
|
|
|
|
"+rtc_base/thread_checker.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"umametrics\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_frame\.h": [
|
|
|
|
|
"+rtc_base/constructormagic.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_mixer\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_decoder\.h": [
|
|
|
|
|
"+rtc_base/buffer.h",
|
|
|
|
|
"+rtc_base/constructormagic.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_decoder_factory\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_decoder_factory_template\.h": [
|
|
|
|
|
"+rtc_base/refcountedobject.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_encoder\.h": [
|
|
|
|
|
"+rtc_base/buffer.h",
|
|
|
|
|
"+rtc_base/deprecation.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_encoder_factory\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_encoder_factory_template\.h": [
|
|
|
|
|
"+rtc_base/refcountedobject.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"builtin_audio_decoder_factory\.h": [
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"builtin_audio_encoder_factory\.h": [
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"framedecryptorinterface\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"frameencryptorinterface\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"ortcfactoryinterface\.h": [
|
|
|
|
|
"+rtc_base/network.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
"+rtc_base/thread.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"udptransportinterface\.h": [
|
|
|
|
|
"+rtc_base/socketaddress.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"rtcstatscollectorcallback\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"rtcstatsreport\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
"+rtc_base/refcountedobject.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audioproc_float\.h": [
|
|
|
|
|
"+modules/audio_processing/include/audio_processing.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"fake_frame_decryptor\.h": [
|
|
|
|
|
"+rtc_base/refcountedobject.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"fake_frame_encryptor\.h": [
|
|
|
|
|
"+rtc_base/refcountedobject.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"fakeconstraints\.h": [
|
|
|
|
|
"+rtc_base/stringencode.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"mock.*\.h": [
|
|
|
|
|
"+test/gmock.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"simulated_network\.h": [
|
|
|
|
|
"+rtc_base/criticalsection.h",
|
|
|
|
|
"+rtc_base/random.h",
|
|
|
|
|
"+rtc_base/thread_annotations.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"test_dependency_factory\.h": [
|
|
|
|
|
"+rtc_base/thread_checker.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"videocodec_test_fixture\.h": [
|
|
|
|
|
"+modules/video_coding/include/video_codec_interface.h"
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"i010_buffer\.h": [
|
|
|
|
|
"+rtc_base/memory/aligned_malloc.h"
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"i420_buffer\.h": [
|
|
|
|
|
"+rtc_base/memory/aligned_malloc.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"video_frame_buffer\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"video_timing\.h": [
|
|
|
|
|
"+rtc_base/numerics/safe_conversions.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"video_encoder_config\.h": [
|
|
|
|
|
"+rtc_base/refcount.h",
|
|
|
|
|
"+rtc_base/scoped_ref_ptr.h",
|
|
|
|
|
],
|
|
|
|
|
|
2018-10-26 13:17:47 +02:00
|
|
|
# .cc files in api/ should not be restricted in what they can #include,
|
|
|
|
|
# so we re-add all the top-level directories here. (That's because .h
|
|
|
|
|
# files leak their #includes to whoever's #including them, but .cc files
|
|
|
|
|
# do not since no one #includes them.)
|
2017-02-10 08:15:44 -08:00
|
|
|
".*\.cc": [
|
2018-10-24 13:57:25 +02:00
|
|
|
"+audio",
|
|
|
|
|
"+call",
|
|
|
|
|
"+common_audio",
|
|
|
|
|
"+common_video",
|
|
|
|
|
"+examples",
|
|
|
|
|
"+logging",
|
|
|
|
|
"+media",
|
|
|
|
|
"+modules",
|
|
|
|
|
"+p2p",
|
|
|
|
|
"+pc",
|
|
|
|
|
"+rtc_base",
|
|
|
|
|
"+rtc_tools",
|
|
|
|
|
"+sdk",
|
|
|
|
|
"+stats",
|
|
|
|
|
"+system_wrappers",
|
|
|
|
|
"+test",
|
|
|
|
|
"+tools",
|
|
|
|
|
"+tools_webrtc",
|
|
|
|
|
"+video",
|
|
|
|
|
"+third_party",
|
2017-01-31 01:48:08 -08:00
|
|
|
],
|
2016-03-17 12:05:36 +01:00
|
|
|
}
|