chromium/third_party/blink/renderer/platform/graphics/DEPS

include_rules = [
    # Don't depend on platform/.
    "-third_party/blink/renderer/platform",

    # Module.
    "+third_party/blink/renderer/platform/graphics",

    # Dependencies.
    "+base/memory/post_delayed_memory_reduction_task.h",
    "+base/atomic_sequence_num.h",
    "+base/task/task_traits.h",
    "+base/threading/sequenced_task_runner_handle.h",
    "+cc",
    "+components/paint_preview/common",
    "+components/viz/client",
    "+components/viz/common",
    "+gpu/config",
    "+gpu/command_buffer/client/client_shared_image.h",
    "+gpu/command_buffer/client/context_support.h",
    "+gpu/command_buffer/client/gles2_interface.h",
    "+gpu/command_buffer/client/gpu_memory_buffer_manager.h",
    "+gpu/command_buffer/client/raster_interface.h",
    "+gpu/command_buffer/client/shared_image_interface.h",
    "+gpu/command_buffer/client/test_gpu_memory_buffer_manager.h",
    "+gpu/command_buffer/client/webgpu_interface.h",
    "+gpu/command_buffer/common/gles2_cmd_copy_texture_chromium_utils.h",
    "+gpu/command_buffer/common/gpu_memory_buffer_support.h",
    "+gpu/command_buffer/common/capabilities.h",
    "+gpu/command_buffer/common/mailbox.h",
    "+gpu/command_buffer/common/mailbox_holder.h",
    "+gpu/command_buffer/common/shared_image_capabilities.h",
    "+gpu/command_buffer/common/shared_image_trace_utils.h",
    "+gpu/command_buffer/common/shared_image_usage.h",
    "+gpu/ipc/client/client_shared_image_interface.h",
    "+gpu/ipc/client/gpu_channel_host.h",
    "+gpu/ipc/client/gpu_channel_observer.h",
    "+gpu/ipc/common/mailbox.mojom-blink.h",
    "+media/base/limits.h",
    "+media/base/media_switches.h",
    "+media/base/video_frame.h",
    "+media/base/video_frame_pool.h",
    "+media/base/video_transformation.h",
    "+media/base/video_types.h",
    "+media/base/video_util.h",
    "+media/base/simple_sync_token_client.h",
    "+media/base/wait_and_replace_sync_token_client.h",
    "+media/media_buildflags.h",
    "+media/renderers/paint_canvas_video_renderer.h",
    "+media/renderers/video_resource_updater.h",
    "+media/renderers/video_frame_rgba_to_yuva_converter.h",
    "+media/video/gpu_video_accelerator_factories.h",
    "+media/video/renderable_gpu_memory_buffer_video_frame_pool.h",
    "+perfetto/tracing",
    "+services/viz/public/mojom",
    "+services/viz/public/cpp/gpu/context_provider_command_buffer.h",
    "+skia",
    "+third_party/blink/renderer/platform/bindings/buildflags.h",
    "+third_party/blink/renderer/platform/context_lifecycle_notifier.h",
    "+third_party/blink/renderer/platform/cpu/mips/common_macros_msa.h",
    "+third_party/blink/renderer/platform/disk_data_metadata.h",
    "+third_party/blink/renderer/platform/disk_data_allocator.h",
    "+third_party/blink/renderer/platform/disk_data_allocator_test_utils.h",
    "+third_party/blink/renderer/platform/fonts",
    "+third_party/blink/renderer/platform/geometry",
    "+third_party/blink/renderer/platform/heap",
    "+third_party/blink/renderer/platform/instrumentation/histogram.h",
    "+third_party/blink/renderer/platform/image-decoders",
    "+third_party/blink/renderer/platform/image-encoders",
    "+third_party/blink/renderer/platform/instrumentation",
    "+third_party/blink/renderer/platform/json",
    "+third_party/blink/renderer/platform/mojo/mojo_binding_context.h",
    "+third_party/blink/renderer/platform/mojo/heap_mojo_receiver.h",
    "+third_party/blink/renderer/platform/mojo/heap_mojo_remote.h",
    "+third_party/blink/renderer/platform/mojo/heap_mojo_wrapper_mode.h",
    "+third_party/blink/renderer/platform/platform_export.h",
    "+third_party/blink/renderer/platform/runtime_enabled_features.h",
    "+third_party/blink/renderer/platform/scheduler",
    "+third_party/blink/renderer/platform/scroll",
    "+third_party/blink/renderer/platform/wtf/shared_buffer.h",
    "+third_party/blink/renderer/platform/testing",
    "+third_party/blink/renderer/platform/text",
    "+third_party/blink/renderer/platform/timer.h",
    "+third_party/blink/renderer/platform/region_capture_crop_id.h",
    "+third_party/blink/renderer/platform/restriction_target_id.h",
    "+third_party/blink/renderer/platform/transforms",
    "+third_party/blink/renderer/platform/waitable_event.h",
    "+third_party/blink/renderer/platform/weborigin/kurl.h",
    "+third_party/blink/renderer/platform/web_task_runner.h",
    "+third_party/blink/renderer/platform/wtf",
]

specific_include_rules = {
  ".*_test.cc": [
    "+components/viz/test",
  ],
  "(graphics_context|skia_utils)\.cc" : [ "+ui/base/ui_base_features.h" ],
  "graphics_context.h": [
    "+third_party/blink/public/mojom/frame/frame_owner_properties.mojom-blink.h",
  ],
  "image_frame_generator_test.cc": [
    "+base/features.h",
  ],
  "video_frame_image_util_test.cc": [
    "+media/renderers/shared_image_video_frame_test_utils.h",
  ],
  "web_graphics_context_3d_video_frame_pool.h": [
    "+base/cancelable_callback.h",
  ],
}