chromium/components/viz/DEPS

# Please consult components/viz/README.md about allowable dependencies.

include_rules = [
  "+components/startup_metric_utils",
  "-components/viz",
  "+components/viz/common",
  "+ui/base",
  "+ui/gfx",
]

specific_include_rules = {
  ".*_(unittest|perftest|perf_test|fuzzer)\.cc": [
    "+components/viz",
  ],

  # Dependencies specific for fuzz targets and other fuzzing-related code.
  ".*fuzz.*": [
    "+third_party/libFuzzer/src/utils",  # This contains FuzzedDataProvider.
  ],

  # Exceptionally allow viz debugger header inclusion.
  "gpu_host_impl.h": [
    "+components/viz/service/debugger/mojom",
  ],
}