| OLD | NEW |
| 1 include_rules = [ | 1 include_rules = [ |
| 2 "+app", | 2 "+app", |
| 3 "+gfx", | 3 "+gfx", |
| 4 "+gpu", | 4 "+gpu", |
| 5 "+net", | 5 "+net", |
| 6 "+printing", | 6 "+printing", |
| 7 "+views", | 7 "+views", |
| 8 | 8 |
| 9 # The subdirectories in chrome/ will manually allow their own include | 9 # The subdirectories in chrome/ will manually allow their own include |
| 10 # directories in chrome/ so we disallow all of them. | 10 # directories in chrome/ so we disallow all of them. |
| 11 "-chrome", | 11 "-chrome", |
| 12 "+chrome/common", | 12 "+chrome/common", |
| 13 "+chrome/test", | 13 "+chrome/test", |
| 14 | 14 |
| 15 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 15 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
| 16 "-v8", | 16 "-v8", |
| 17 "-webkit", | 17 "-webkit", |
| 18 "-tools", | 18 "-tools", |
| 19 | 19 |
| 20 # Allow inclusion of WebKit API files. | 20 # Allow inclusion of WebKit API files. |
| 21 "+third_party/WebKit/WebKit/chromium", | 21 "+third_party/WebKit/WebKit/chromium", |
| 22 | |
| 23 # Allow inclusion of the appcache library. | |
| 24 "+webkit/appcache", | 22 "+webkit/appcache", |
| 25 | |
| 26 # Allow inclusion of the blob library. | |
| 27 "+webkit/blob", | 23 "+webkit/blob", |
| 28 | |
| 29 # Allow inclusion of the database library. | |
| 30 "+webkit/database", | 24 "+webkit/database", |
| 31 | |
| 32 # Allow inclusion of the fileapi library. | |
| 33 "+webkit/fileapi", | 25 "+webkit/fileapi", |
| 34 | 26 |
| 35 # Allow Apple code ImageAndTextCell. | 27 # Allow inclusion of third-party code: |
| 36 "+third_party/apple", | 28 "+third_party/mozilla", # Mozilla interface headers. |
| 37 | 29 "+third_party/npapi", # NPAPI interface headers. |
| 38 # Allow inclusion of Mozilla interface headers. | 30 "+third_party/tcmalloc", # tcmallo |
| 39 "+third_party/mozilla", | 31 "+third_party/GTM", # Google Toolbox for Mac. |
| 40 | |
| 41 # Allow inclusion of NPAPI interface headers. | |
| 42 "+third_party/npapi", | |
| 43 | |
| 44 # Allow inclusion of tcmalloc header. | |
| 45 "+third_party/tcmalloc", | |
| 46 | |
| 47 # Allow usage of Google Toolbox for Mac. | |
| 48 "+third_party/GTM", | |
| 49 | |
| 50 # Allow usage of the libjingle library. | |
| 51 "+third_party/libjingle", | |
| 52 | |
| 53 # Our Skia extensions. | |
| 54 "+skia/ext", | |
| 55 | |
| 56 # On Linux, we include some breakpad headers | |
| 57 "+breakpad/linux", | |
| 58 | |
| 59 # On Linux, the zygote needs to access sandbox headers | |
| 60 "+sandbox/linux" | |
| 61 ] | 32 ] |
| OLD | NEW |