1 include_rules = [ 2 "+crypto", 3 "+gpu", 4 "+net", 5 "+printing", 6 "+sql", 7 # Browser, renderer, common and tests access V8 for various purposes. 8 "-v8", 9 "+v8/include", 10 11 # Limit what we include from nacl. 12 "-native_client", 13 14 # The subdirectories in chrome/ will manually allow their own include 15 # directories in chrome/ so we disallow all of them. 16 "-chrome", 17 "+chrome/common", 18 "+chrome/test", 19 "+components/content_settings/core/common", 20 "+components/url_fixer", 21 "+components/variations", 22 "+content/public/common", 23 "+content/public/test", 24 "+mojo/common", 25 "+mojo/public", 26 27 # Don't allow inclusion of these other libs we shouldn't be calling directly. 28 "-webkit", 29 "-tools", 30 31 "-crypto/third_party", 32 33 # Allow inclusion of WebKit API files. 34 "+third_party/WebKit/public/platform", 35 "+third_party/WebKit/public/web", 36 37 # Allow inclusion of third-party code: 38 "+third_party/hunspell", 39 "+third_party/libxml", 40 "+third_party/skia", 41 42 "+ui", 43 ] 44