OLD | NEW |
1 include_rules = [ | 1 include_rules = [ |
2 "+crypto", | 2 "+crypto", |
3 "+gpu", | 3 "+gpu", |
4 "+net", | 4 "+net", |
5 "+printing", | 5 "+printing", |
6 "+sql", | 6 "+sql", |
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 "-content", | 14 "-content", |
15 "+content/common", | 15 "+content/common", |
16 "+content/public/browser", | |
17 "+content/public/common", | 16 "+content/public/common", |
18 "+content/test", | 17 "+content/test", |
| 18 |
| 19 # TODO(ben): remove this |
| 20 "+content/public/browser/native_web_keyboard_event.h", |
19 | 21 |
20 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 22 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
21 "-v8", | 23 "-v8", |
22 "-webkit", | 24 "-webkit", |
23 "-tools", | 25 "-tools", |
24 | 26 |
25 "-crypto/third_party", | 27 "-crypto/third_party", |
26 | 28 |
27 # Allow inclusion of WebKit API files. | 29 # Allow inclusion of WebKit API files. |
28 "+third_party/WebKit/Source/WebKit/chromium", | 30 "+third_party/WebKit/Source/WebKit/chromium", |
29 "+webkit/appcache", | 31 "+webkit/appcache", |
30 "+webkit/blob", | 32 "+webkit/blob", |
31 "+webkit/database", | 33 "+webkit/database", |
32 "+webkit/fileapi", | 34 "+webkit/fileapi", |
33 "+webkit/quota", | 35 "+webkit/quota", |
34 | 36 |
35 # Allow inclusion of third-party code: | 37 # Allow inclusion of third-party code: |
36 "+third_party/mozilla", # Mozilla interface headers. | 38 "+third_party/mozilla", # Mozilla interface headers. |
37 "+third_party/npapi", # NPAPI interface headers. | 39 "+third_party/npapi", # NPAPI interface headers. |
38 "+third_party/tcmalloc", # tcmallo | 40 "+third_party/tcmalloc", # tcmallo |
39 "+third_party/GTM", # Google Toolbox for Mac. | 41 "+third_party/GTM", # Google Toolbox for Mac. |
40 | 42 |
41 "+ui", | 43 "+ui", |
42 ] | 44 ] |
OLD | NEW |