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 "+app", | 4 "+app", |
5 | 5 |
6 # TEMPORARY ONLY WHILE WE REDUCE THE DEPENDENCIES. | 6 # TEMPORARY ONLY WHILE WE REDUCE THE DEPENDENCIES. |
7 # When the src\content refactoring is complete, this will be unnecessary (and | 7 # When the src\content refactoring is complete, this will be unnecessary (and |
8 # in fact, a layering violation). | 8 # in fact, a layering violation). |
9 "+chrome", | 9 "+chrome", |
| 10 |
| 11 # The subdirectories in content/ will manually allow their own include |
| 12 # directories in content/ so we disallow all of them. |
| 13 "-content", |
| 14 "+content/common", |
10 | 15 |
11 "+grit", | 16 "+grit", |
12 "+gpu", | 17 "+gpu", |
13 "+media", | 18 "+media", |
14 "+net", | 19 "+net", |
15 "+ppapi", | 20 "+ppapi", |
16 "+printing", | 21 "+printing", |
17 "+sandbox", | 22 "+sandbox", |
18 "+skia", | 23 "+skia", |
19 | 24 |
20 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 25 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
21 "-v8", | 26 "-v8", |
22 "-tools", | 27 "-tools", |
23 | 28 |
24 "+third_party/gpsd", | 29 "+third_party/gpsd", |
25 "+third_party/npapi/bindings", | 30 "+third_party/npapi/bindings", |
26 "+third_party/sqlite", | 31 "+third_party/sqlite", |
27 # Allow inclusion of WebKit API files. | 32 # Allow inclusion of WebKit API files. |
28 "+third_party/WebKit/Source/WebKit/chromium", | 33 "+third_party/WebKit/Source/WebKit/chromium", |
29 | 34 |
30 "+ui", | 35 "+ui", |
31 "+views", | 36 "+views", |
32 "+webkit", | 37 "+webkit", |
33 ] | 38 ] |
OLD | NEW |