| OLD | NEW |
| 1 # Do NOT add chrome to the list below. We shouldn't be including files from | 1 # Do NOT add chrome to the list below. We shouldn't be including files from |
| 2 # src/chrome in src/content. | 2 # src/chrome in src/content. |
| 3 include_rules = [ | 3 include_rules = [ |
| 4 "+crypto", | 4 "+crypto", |
| 5 | 5 |
| 6 "-chrome", | 6 "-chrome", |
| 7 # Until we move most of our testing infrastructure in a way that content can | 7 # Until we move most of our testing infrastructure in a way that content can |
| 8 # make use of it. | 8 # make use of it. |
| 9 "+chrome/test", | 9 "+chrome/test", |
| 10 | 10 |
| 11 # The following directories have been refactored, so no new dependencies | 11 # The following directories have been refactored, so no new dependencies |
| 12 # should be added from these directories. | 12 # should be added from these directories. |
| 13 "-chrome/browser/printing", | 13 "-chrome/browser/printing", |
| 14 "-chrome/browser/extensions", | 14 "-chrome/browser/extensions", |
| 15 "-chrome/common/extensions", | 15 "-chrome/common/extensions", |
| 16 "-chrome/renderer/extensions", | 16 "-chrome/renderer/extensions", |
| 17 | 17 |
| 18 # The subdirectories in content/ will manually allow their own include | 18 # The subdirectories in content/ will manually allow their own include |
| 19 # directories in content/ so we disallow all of them. | 19 # directories in content/ so we disallow all of them. |
| 20 "-content", | 20 "-content", |
| 21 "+content/common", | 21 "+content/common", |
| 22 "+content/test", | 22 "+content/test", |
| 23 | 23 |
| 24 "+dbus", |
| 24 "+grit", | 25 "+grit", |
| 25 "+gpu", | 26 "+gpu", |
| 26 "+net", | 27 "+net", |
| 27 "+ppapi", | 28 "+ppapi", |
| 28 "+printing", | 29 "+printing", |
| 29 "+sandbox", | 30 "+sandbox", |
| 30 "+skia", | 31 "+skia", |
| 31 | 32 |
| 32 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 33 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
| 33 "-v8", | 34 "-v8", |
| 34 "-tools", | 35 "-tools", |
| 35 | 36 |
| 36 "+third_party/gpsd", | 37 "+third_party/gpsd", |
| 37 "+third_party/npapi/bindings", | 38 "+third_party/npapi/bindings", |
| 38 "+third_party/sqlite", | 39 "+third_party/sqlite", |
| 39 "+third_party/tcmalloc", | 40 "+third_party/tcmalloc", |
| 40 # Allow inclusion of WebKit API files. | 41 # Allow inclusion of WebKit API files. |
| 41 "+third_party/WebKit/Source/WebKit/chromium", | 42 "+third_party/WebKit/Source/WebKit/chromium", |
| 42 | 43 |
| 43 "+ui/base", | 44 "+ui/base", |
| 44 "+ui/gfx", | 45 "+ui/gfx", |
| 45 # Content knows about grd files, but the specifics of how to get a resource | 46 # Content knows about grd files, but the specifics of how to get a resource |
| 46 # given its id is left to the embedder. | 47 # given its id is left to the embedder. |
| 47 "-ui/base/l10n", | 48 "-ui/base/l10n", |
| 48 "-ui/base/resource", | 49 "-ui/base/resource", |
| 49 | 50 |
| 50 "+views", | 51 "+views", |
| 51 "+webkit", | 52 "+webkit", |
| 52 ] | 53 ] |
| OLD | NEW |