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