1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66

content / test / DEPS [blame]

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",
  ],
}