include_rules = [
# Don't depend on platform/.
"-third_party/blink/renderer/platform",
# Module.
"+third_party/blink/renderer/platform/p2p",
"+third_party/blink/renderer/platform/peerconnection",
"+third_party/blink/renderer/platform/media_capabilities",
"+third_party/blink/renderer/platform/mediastream",
"+third_party/blink/renderer/platform/webrtc",
"+third_party/blink/renderer/platform/graphics",
# Dependencies.
"+base/containers/circular_deque.h",
"+base/task/bind_post_task.h",
"+base/task/task_traits.h",
"+components/viz/common/resources/shared_image_format_utils.h",
"+media/base",
"+media/capture/capture_switches.h",
"+media/capture/video/video_capture_feedback.h",
"+media/filters/decoder_stream.h",
"+media/filters/resolution_monitor.h",
"+media/media_buildflags.h",
"+media/mojo/clients/mojo_video_encoder_metrics_provider.h",
"+media/parsers/h264_parser.h",
"+media/parsers/vp8_parser.h",
"+media/parsers/vp9_parser.h",
# This is only needed for a cast to DecoderFactory.
"+media/renderers/default_decoder_factory.h",
"+media/video/gpu_video_accelerator_factories.h",
"+media/video/video_decode_accelerator.h",
"+media/video/video_encode_accelerator.h",
"+media/webrtc/webrtc_features.h",
"+third_party/blink/renderer/platform/allow_discouraged_type.h",
"+third_party/blink/renderer/platform/bindings/script_wrappable.h",
"+third_party/blink/renderer/platform/heap",
"+third_party/blink/renderer/platform/network/parsed_content_type.h",
"+third_party/blink/renderer/platform/platform_export.h",
"+third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h",
"+third_party/blink/renderer/platform/wtf",
]
specific_include_rules = {
".*_test(_base)?\.(cc|h)": [
"+base/threading/thread.h",
"+components/webrtc/thread_wrapper.h",
"+gpu/command_buffer/common/mailbox.h",
"+media/video/fake_gpu_memory_buffer.h",
"+media/video/mock_gpu_video_accelerator_factories.h",
"+media/video/mock_video_encode_accelerator.h",
"+media/mojo/clients/mock_mojo_video_encoder_metrics_provider_factory.h",
"+media/mojo/clients/mojo_video_encoder_metrics_provider.h",
"+third_party/blink/renderer/platform/testing/video_frame_utils.h",
],
"resolution_monitor_unittest.cc" : [
"+media/parsers/ivf_parser.h",
],
"h265_parameter_sets_tracker_fuzzer.cc" : [
"+third_party/blink/renderer/platform/testing/blink_fuzzer_test_support.h",
"+third_party/blink/renderer/platform/testing/task_environment.h",
"+third_party/blink/renderer/platform/testing/fuzzed_data_provider.h",
]
}