include_rules = [
  "+base/prefs",
  "+crypto",
  "+gpu",
  "+net",
  "+printing",
  "+sql",
  # Browser, renderer, common and tests access V8 for various purposes.
  "-v8",
  "+v8/include",

  # Limit what we include from nacl.
  "-native_client",

  # The subdirectories in chrome/ will manually allow their own include
  # directories in chrome/ so we disallow all of them.
  "-chrome",
  "+chrome/common",
  "+chrome/test",
  "+components/metrics",
  "+components/url_fixer",
  "+components/variations",
  "+content/public/common",
  "+content/public/test",
  "+mojo/common",
  "+mojo/public",

  # Don't allow inclusion of these other libs we shouldn't be calling directly.
  "-webkit",
  "-tools",

  "-crypto/third_party",

  # Allow inclusion of WebKit API files.
  "+third_party/WebKit/public/platform",
  "+third_party/WebKit/public/web",

  # Allow inclusion of third-party code:
  "+third_party/google_toolbox_for_mac/src",
  "+third_party/hunspell",
  "+third_party/libxml",
  "+third_party/mozilla",     # Mozilla interface headers.
  "+third_party/skia",
  "+third_party/zlib/google",

  "+ui",
]