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

ios / DEPS [blame]

include_rules = [
  # The subdirectories in ios/ will manually allow their own include
  # directories in ios/ so we disallow all of them.
  "-ios",

  # To avoid ODR violation, direct import of these libraries is forbidden in
  # ios/DEPS and code should instead use import as if they were in a framework
  # (i.e. #import <OCHamcrest/OCHamcrest.h>).
  # TODO(crbug.com/40138188): Disallow direct import of eg2 headers.
  "-ios/third_party/ochamcrest",

  # For unit tests.
  "+ios/testing",
  "+third_party/ocmock",

  # To avoid includes from web::HttpServer since it is deprecated. Reference
  # to crbug.com/708307.
  "-ios/web/public/test/http_server/http_server.h",
]

specific_include_rules = {
  ".*test\.mm": [
    "+services/network/public/cpp",
    "+services/network/test",
  ],
}