blob: 520629fd47c476e00f5432204490c57c6a651d9a [file] [log] [blame]
include_rules = [
"+ash",
"+base/prefs",
"+crypto",
"+gpu",
"+jni",
"+leveldb",
"+net",
"+printing",
"+sql",
# Browser, renderer, common and tests access V8 for various purposes.
"-v8",
"+v8/include",
# chrome only needs switches from cc. All usage of the compositor is from
# content. Definitely don't include generic stuff from cc/base here, if this
# is needed these files need to move to base/
"+cc/base/switches.h",
# Limit what we include from nacl.
"-native_client",
"+native_client/src/trusted/service_runtime/osx",
"+native_client/src/trusted/service_runtime/win",
"+native_client/src/shared/imc",
# 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/sessions",
"+components/visitedlink/common",
"+content/public/common",
"+content/public/test",
"+content/test/gpu",
"+content/test/net",
# 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/hunspell",
"+third_party/libxml",
"+third_party/mozilla", # Mozilla interface headers.
"+third_party/npapi", # NPAPI interface headers.
"+third_party/skia",
"+third_party/tcmalloc",
"+third_party/zlib/google",
"+third_party/GTM", # Google Toolbox for Mac.
"+ui",
]