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",
|
2019-03-06 16:58:18 +01:00
|
|
|
"+rtc_base/deprecation.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
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"async_resolver_factory\.h": [
|
|
|
|
|
"+rtc_base/async_resolver_interface.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"candidate\.h": [
|
|
|
|
|
"+rtc_base/network_constants.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/socket_address.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"data_channel_interface\.h": [
|
|
|
|
|
"+rtc_base/copy_on_write_buffer.h",
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"dtls_transport_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-11-28 16:47:46 +01:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"dtmf_sender_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"fec_controller\.h": [
|
|
|
|
|
"+modules/include/module_fec_types.h",
|
|
|
|
|
],
|
|
|
|
|
|
2019-01-30 14:57:03 +01:00
|
|
|
"ice_transport_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
|
|
|
|
],
|
|
|
|
|
|
2018-10-24 13:57:25 +02:00
|
|
|
"jsep\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"jsep_ice_candidate\.h": [
|
|
|
|
|
"+rtc_base/constructor_magic.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"jsep_session_description\.h": [
|
|
|
|
|
"+rtc_base/constructor_magic.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"media_stream_interface\.h": [
|
2018-10-24 13:57:25 +02:00
|
|
|
"+modules/audio_processing/include/audio_processing_statistics.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
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": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/copy_on_write_buffer.h", # As used by datachannelinterface.h
|
|
|
|
|
"+rtc_base/network_route.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
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"peer_connection_factory_proxy\.h": [
|
2018-10-24 13:57:25 +02:00
|
|
|
"+rtc_base/bind.h",
|
|
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"peer_connection_interface\.h": [
|
2018-12-27 11:15:19 -08:00
|
|
|
"+logging/rtc_event_log/rtc_event_log_factory_interface.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"+media/base/media_config.h",
|
|
|
|
|
"+media/base/media_engine.h",
|
|
|
|
|
"+p2p/base/port_allocator.h",
|
|
|
|
|
"+rtc_base/bitrate_allocation_strategy.h",
|
2018-12-27 11:15:19 -08:00
|
|
|
"+rtc_base/network.h",
|
|
|
|
|
"+rtc_base/platform_file.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/rtc_certificate.h",
|
|
|
|
|
"+rtc_base/rtc_certificate_generator.h",
|
|
|
|
|
"+rtc_base/socket_address.h",
|
|
|
|
|
"+rtc_base/ssl_certificate.h",
|
|
|
|
|
"+rtc_base/ssl_stream_adapter.h",
|
2018-12-27 11:15:19 -08:00
|
|
|
],
|
|
|
|
|
|
2018-11-28 16:47:49 +01:00
|
|
|
"proxy\.h": [
|
2018-12-27 11:15:19 -08:00
|
|
|
"+rtc_base/event.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/message_handler.h", # Inherits from it.
|
|
|
|
|
"+rtc_base/message_queue.h", # Inherits from MessageData.
|
|
|
|
|
"+rtc_base/ref_counted_object.h",
|
2018-12-27 11:15:19 -08:00
|
|
|
"+rtc_base/thread.h",
|
2018-11-28 16:47:49 +01:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"ref_counted_base\.h": [
|
|
|
|
|
"+rtc_base/constructor_magic.h",
|
|
|
|
|
"+rtc_base/ref_count.h",
|
|
|
|
|
"+rtc_base/ref_counter.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtc_error\.h": [
|
2018-10-24 13:57:25 +02:00
|
|
|
"+rtc_base/logging.h",
|
|
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtp_receiver_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtp_sender_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtp_transceiver_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-02-28 07:51:00 +01:00
|
|
|
"sctp_transport_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
|
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"set_remote_description_observer_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"stats_types\.h": [
|
|
|
|
|
"+rtc_base/constructor_magic.h",
|
|
|
|
|
"+rtc_base/ref_count.h",
|
|
|
|
|
"+rtc_base/string_encode.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
"+rtc_base/thread_checker.h",
|
|
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"uma_metrics\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_frame\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/constructor_magic.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_mixer\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_decoder\.h": [
|
|
|
|
|
"+rtc_base/buffer.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/constructor_magic.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_decoder_factory\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_decoder_factory_template\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_counted_object.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_encoder\.h": [
|
|
|
|
|
"+rtc_base/buffer.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_encoder_factory\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audio_encoder_factory_template\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_counted_object.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"frame_decryptor_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"frame_encryptor_interface\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtc_stats_collector_callback\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
2019-01-11 09:11:00 -08:00
|
|
|
"rtc_stats_report\.h": [
|
|
|
|
|
"+rtc_base/ref_count.h",
|
|
|
|
|
"+rtc_base/ref_counted_object.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"audioproc_float\.h": [
|
|
|
|
|
"+modules/audio_processing/include/audio_processing.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"fake_frame_decryptor\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_counted_object.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"fake_frame_encryptor\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_counted_object.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"mock.*\.h": [
|
|
|
|
|
"+test/gmock.h",
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"simulated_network\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/critical_section.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
"+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"
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"video_encoder_config\.h": [
|
2019-01-11 09:11:00 -08:00
|
|
|
"+rtc_base/ref_count.h",
|
2018-10-24 13:57:25 +02:00
|
|
|
],
|
|
|
|
|
|
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
|
|
|
}
|