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