1 include_rules = [ 2 "+ash", 3 "+base/prefs", 4 "+crypto", 5 "+gpu", 6 "+jni", 7 "+leveldb", 8 "+net", 9 "+printing", 10 "+sql", 11 # Browser, renderer, common and tests access V8 for various purposes. 12 "-v8", 13 "+v8/include", 14 15 # chrome only needs switches from cc. All usage of the compositor is from 16 # content. Definitely don't include generic stuff from cc/base here, if this 17 # is needed these files need to move to base/ 18 "+cc/base/switches.h", 19 20 # Limit what we include from nacl. 21 "-native_client", 22 "+native_client/src/trusted/service_runtime/osx", 23 "+native_client/src/trusted/service_runtime/win", 24 "+native_client/src/shared/imc", 25 26 # The subdirectories in chrome/ will manually allow their own include 27 # directories in chrome/ so we disallow all of them. 28 "-chrome", 29 "+chrome/common", 30 "+chrome/test", 31 "+components/sessions", 32 "+components/visitedlink/common", 33 "+content/public/common", 34 "+content/public/test", 35 "+content/test/gpu", 36 "+content/test/net", 37 38 # Don't allow inclusion of these other libs we shouldn't be calling directly. 39 "-webkit", 40 "-tools", 41 42 "-crypto/third_party", 43 44 # Allow inclusion of WebKit API files. 45 "+third_party/WebKit/public/platform", 46 "+third_party/WebKit/public/web", 47 48 # Allow inclusion of third-party code: 49 "+third_party/hunspell", 50 "+third_party/libxml", 51 "+third_party/mozilla", # Mozilla interface headers. 52 "+third_party/npapi", # NPAPI interface headers. 53 "+third_party/skia", 54 "+third_party/tcmalloc", 55 "+third_party/zlib/google", 56 "+third_party/GTM", # Google Toolbox for Mac. 57 58 "+ui", 59 ] 60