Extract test peer creation into separate file to simplify code and increase readability. Also it is 1st step in bigger refactoring of PC level test fixture implementation to make it more granular and reusable. Change-Id: I687a17bda33a8eebc1ef0ddc0d54572e095fd709 Bug: webrtc:11479 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172628 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30980}
74 lines
1.7 KiB
Python
74 lines
1.7 KiB
Python
include_rules = [
|
|
"+third_party/libjpeg",
|
|
"+third_party/libjpeg_turbo",
|
|
"+call",
|
|
"+common_audio",
|
|
"+common_video",
|
|
"+logging/rtc_event_log",
|
|
"+media/base",
|
|
"+media/engine",
|
|
"+modules/audio_coding",
|
|
"+modules/congestion_controller",
|
|
"+modules/audio_device",
|
|
"+modules/audio_mixer",
|
|
"+modules/audio_processing",
|
|
"+modules/congestion_controller/bbr",
|
|
"+modules/rtp_rtcp",
|
|
"+modules/utility",
|
|
"+modules/video_capture",
|
|
"+modules/video_coding",
|
|
"+sdk",
|
|
"+system_wrappers",
|
|
"+third_party/libyuv",
|
|
]
|
|
|
|
specific_include_rules = {
|
|
"gmock\.h": [
|
|
"+testing/gmock/include/gmock",
|
|
],
|
|
"gtest\.h": [
|
|
"+testing/gtest/include/gtest",
|
|
],
|
|
".*congestion_controller_feedback_fuzzer\.cc": [
|
|
"+modules/congestion_controller/include/receive_side_congestion_controller.h",
|
|
"+modules/pacing/packet_router.h",
|
|
"+modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h",
|
|
],
|
|
".*mdns_parser_fuzzer\.cc": [
|
|
"+p2p/base/mdns_message.h",
|
|
],
|
|
".*pseudotcp_parser_fuzzer\.cc": [
|
|
"+p2p/base/pseudo_tcp.h",
|
|
],
|
|
".*stun_parser_fuzzer\.cc": [
|
|
"+p2p/base/stun.h",
|
|
],
|
|
".*stun_validator_fuzzer\.cc": [
|
|
"+p2p/base/stun.h",
|
|
],
|
|
".*test_main\.cc": [
|
|
"+absl/debugging/failure_signal_handler.h",
|
|
"+absl/debugging/symbolize.h",
|
|
],
|
|
".*test_peer\.(h|cc)": [
|
|
"+pc",
|
|
"+p2p",
|
|
],
|
|
".*test_peer_factory\.(h|cc)": [
|
|
"+pc",
|
|
"+p2p",
|
|
],
|
|
".*network_emulation_pc_unittest\.cc": [
|
|
"+pc/peer_connection_wrapper.h",
|
|
"+pc/test/mock_peer_connection_observers.h",
|
|
"+p2p/client/basic_port_allocator.h",
|
|
],
|
|
".*peer_connection_quality_test\.(h|cc)": [
|
|
"+pc",
|
|
],
|
|
".*sdp_changer\.(h|cc)": [
|
|
"+pc",
|
|
"+p2p",
|
|
],
|
|
}
|