chromium/third_party/blink/renderer/platform/media/DEPS

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

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

  # Dependencies.
  "+base/cancelable_callback.h",
  "+base/containers/circular_deque.h",
  "+base/strings/utf_string_conversions.h",
  "+base/task/task_runner.h",
  "+base/threading/thread.h",
  "+cc/layers",
  "+components/viz/common",
  "+media/audio/null_audio_sink.h",
  "+media/base",
  "+media/capabilities/bucket_utility.h",
  "+media/cdm",
  "+media/filters",
  "+media/formats",
  "+media/learning/common",
  "+media/learning/mojo/public/cpp",
  "+media/media_buildflags.h",
  "+media/mojo/mojom",
  "+media/renderers/paint_canvas_video_renderer.h",
  "+net/base/data_url.h",
  "+net/base/net_errors.h",
  "+net/http/http_byte_range.h",
  "+net/http/http_version.h",
  "+net/url_request/url_request_job.h",
  "+services/device/public/mojom",
  "+services/media_session/public/cpp",
  "+third_party/blink/renderer/platform/allow_discouraged_type.h",
  "+third_party/blink/renderer/platform/platform_export.h",
  "+third_party/blink/renderer/platform/wtf",
]

specific_include_rules = {
  ".*_unittest.*": [
    "+base/task/current_thread.h",
    "+base/threading/thread.h",
    "+components/viz/test",
    "+media/mojo/services",
    "+media/renderers",
    "+media/video/fake_gpu_memory_buffer.h",
    "+gin/v8_initializer.h",

    # Allow test support dependencies.
    "+third_party/blink/renderer/platform/media/testing",
  ],
}