blob: 953d6241d5b00a43840e7d5fdaed34b5583ceeea [file] [log] [blame]
include_rules = [
"+crypto",
"+ios/shared/chrome/common",
"+ios/third_party",
"+net",
"+services/network/test",
"+services/network/public/cpp",
"+sql",
"+ui/base",
"+ui/gfx",
# Only parts of skia are compiled on iOS, so we explicitly list the
# files that can be included to avoid bringing in more code.
"+skia/ext/skia_utils_ios.h",
"+third_party/skia/include/core/SkBitmap.h",
"+third_party/skia/include/core/SkColor.h",
"+third_party/skia/include/core/SkGraphics.h",
# The subdirectories in ios/chrome/ will manually allow their own include
# directories in ios/chrome/ so we disallow all of them.
"-ios/chrome",
"+ios/chrome/common",
"+ios/chrome/test",
"+ios/web/common",
"+ios/web/public",
# Chrome cannot use any ios/web APIs inside ios/web/public that are
# designed only for ios/web_view.
"-ios/web/public/web_view_only",
# All code in ios/chrome assumes that web::BrowserState* can be safely
# casted to ios::ChromeBrowserState*. This mean that no code should use
# web::TestBrowserState in ios/chrome.
"-ios/web/public/test/fakes/test_browser_state.h",
# web::HttpServer is deprecated in favor of net::EmbeddedTestServer.
# See crbug.com/891834.
"-ios/web/public/test/http_server",
]