chromium/content/test/DEPS

include_rules = [
  # Allow inclusion of specific components that we depend on.
  # See comment in content/DEPS for which components are allowed.
  "+components/network_session_configurator/common",
  "+components/scheduler/renderer",
  "+components/scheduler/test",
  "+components/viz/common",
  "+components/viz/host",
  "+components/viz/service",
  "+components/viz/test",
  "+services/viz/public/mojom",

  # For WebRTC tests.
  "+chromeos/ash/components/dbus/audio",
  "+chromeos/ash/components/network/network_handler.h",
  "+chromeos/ash/components/network/network_state.h",
  "+chromeos/ash/components/network/network_state_handler.h",
  # Testing utilities can access anything in content/
  "+content",
  "+device/bluetooth", # For WebBluetooth tests
  "+device/gamepad/public/cpp",
  # For loading V8's initial snapshot from external files.
  "+gin/v8_initializer.h",
  "+services/device/public/cpp/generic_sensor",
  "+services/metrics/public/cpp",
  "+services/network/public/cpp",
  "+services/network/public/mojom",
  "+services/network/test",
  "+services/network/mock_mojo_dhcp_wpad_url_client.h",
  "+services/network/url_request_context_builder_mojo.h",
  "+services/proxy_resolver",
  "+services/service_manager/public",
  "+tools/v8_context_snapshot/buildflags.h",
  "+ui/base/resource/data_pack.h",
  "+ui/base/resource/resource_bundle.h",
  "+ui/base/resource/resource_bundle_android.h",
  "+ui/base/resource/resource_handle.h",
  "!v8/include/v8.h",

  # For TestMojoProxyResolverFactory. Remove once it moves to the network
  # service.
  "+services/service_manager/public/cpp/service_context_ref.h",

  # For ProxyServiceMojoTest. Remove once it moves to the network service.
  "+services/network/proxy_service_mojo.h",
]

specific_include_rules = {
  "attribution_simulator_impl.cc": [
    "+components/attribution_reporting",
  ],
  "attribution_simulator_input_parser.cc": [
    "+components/attribution_reporting",
  ],
  "attribution_simulator_input_parser_unittest.cc": [
    "+components/aggregation_service",
    "+components/attribution_reporting",
  ],
  "gpu_browsertest_helpers.cc": [
    "+services/viz/public/cpp/gpu/command_buffer_metrics.h",
    "+services/viz/public/cpp/gpu/context_provider_command_buffer.h",
  ],
  "content_browser_test_test.cc": [
    "+ui/ozone/public/ozone_switches.h",
  ],
}