| OLD | NEW |
| 1 include_rules = [ | 1 include_rules = [ |
| 2 "+ash", | 2 "+ash", |
| 3 "+crypto", | 3 "+crypto", |
| 4 "+gpu", | 4 "+gpu", |
| 5 "+native_client", | 5 "+native_client", |
| 6 "+net", | 6 "+net", |
| 7 "+printing", | 7 "+printing", |
| 8 "+sql", | 8 "+sql", |
| 9 # Browser, renderer, common and tests access V8 for various purposes. | 9 # Browser, renderer, common and tests access V8 for various purposes. |
| 10 "-v8", | 10 "-v8", |
| 11 "+v8/include", | 11 "+v8/include", |
| 12 | 12 |
| 13 # The subdirectories in chrome/ will manually allow their own include | 13 # The subdirectories in chrome/ will manually allow their own include |
| 14 # directories in chrome/ so we disallow all of them. | 14 # directories in chrome/ so we disallow all of them. |
| 15 "-chrome", | 15 "-chrome", |
| 16 "+chrome/common", | 16 "+chrome/common", |
| 17 "+chrome/test", | 17 "+chrome/test", |
| 18 # TODO(jam): remove me once chrome only consumes content/common through its | 18 # TODO(jam): remove me once chrome only consumes content/common through its |
| 19 # public headers. | 19 # public headers. |
| 20 "+content/common", | 20 "+content/common", |
| 21 "+content/public/common", | 21 "+content/public/common", |
| 22 "+content/public/test", | 22 "+content/public/test", |
| 23 "+content/test/gpu", | 23 "+content/test/gpu", |
| 24 "+content/test/net", | 24 "+content/test/net", |
| 25 "+content/test/browser_test_base.h", # http://crbug.com/90448 | 25 "+content/test/browser_test_base.h", # http://crbug.com/90448 |
| 26 | 26 |
| 27 # TODO(ben): remove this | |
| 28 "+content/public/browser/native_web_keyboard_event.h", | |
| 29 | |
| 30 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 27 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
| 31 "-webkit", | 28 "-webkit", |
| 32 "-tools", | 29 "-tools", |
| 33 | 30 |
| 34 "-crypto/third_party", | 31 "-crypto/third_party", |
| 35 | 32 |
| 36 # Allow inclusion of WebKit API files. | 33 # Allow inclusion of WebKit API files. |
| 37 "+third_party/WebKit/Source/Platform/chromium", | 34 "+third_party/WebKit/Source/Platform/chromium", |
| 38 "+third_party/WebKit/Source/WebKit/chromium", | 35 "+third_party/WebKit/Source/WebKit/chromium", |
| 39 "+webkit/appcache", | 36 "+webkit/appcache", |
| 40 "+webkit/blob", | 37 "+webkit/blob", |
| 41 "+webkit/chromeos/fileapi", | 38 "+webkit/chromeos/fileapi", |
| 42 "+webkit/database", | 39 "+webkit/database", |
| 43 "+webkit/fileapi", | 40 "+webkit/fileapi", |
| 44 "+webkit/quota", | 41 "+webkit/quota", |
| 45 | 42 |
| 46 # Allow inclusion of third-party code: | 43 # Allow inclusion of third-party code: |
| 47 "+third_party/hunspell", | 44 "+third_party/hunspell", |
| 48 "+third_party/icon_family", # IconFamily for Mac. | 45 "+third_party/icon_family", # IconFamily for Mac. |
| 49 "+third_party/libxml", | 46 "+third_party/libxml", |
| 50 "+third_party/mozilla", # Mozilla interface headers. | 47 "+third_party/mozilla", # Mozilla interface headers. |
| 51 "+third_party/npapi", # NPAPI interface headers. | 48 "+third_party/npapi", # NPAPI interface headers. |
| 52 "+third_party/skia", | 49 "+third_party/skia", |
| 53 "+third_party/tcmalloc", # tcmallo | 50 "+third_party/tcmalloc", # tcmallo |
| 54 "+third_party/GTM", # Google Toolbox for Mac. | 51 "+third_party/GTM", # Google Toolbox for Mac. |
| 55 | 52 |
| 56 "+ui", | 53 "+ui", |
| 57 ] | 54 ] |
| OLD | NEW |