OLD | NEW |
1 include_rules = [ | 1 include_rules = [ |
2 "+ash", | 2 "+ash", |
3 "+crypto", | 3 "+crypto", |
4 "+gpu", | 4 "+gpu", |
5 "+net", | 5 "+net", |
6 "+printing", | 6 "+printing", |
7 "+sql", | 7 "+sql", |
| 8 # Browser, renderer, common and tests access V8 for various purposes. |
| 9 "-v8", |
| 10 "+v8/include", |
8 | 11 |
9 # The subdirectories in chrome/ will manually allow their own include | 12 # The subdirectories in chrome/ will manually allow their own include |
10 # directories in chrome/ so we disallow all of them. | 13 # directories in chrome/ so we disallow all of them. |
11 "-chrome", | 14 "-chrome", |
12 "+chrome/common", | 15 "+chrome/common", |
13 "+chrome/test", | 16 "+chrome/test", |
14 "-content", | 17 "-content", |
15 # 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 |
16 # public headers. | 19 # public headers. |
17 "+content/common", | 20 "+content/common", |
18 "+content/public/common", | 21 "+content/public/common", |
19 "+content/test", | 22 "+content/test", |
20 | 23 |
21 # TODO(ben): remove this | 24 # TODO(ben): remove this |
22 "+content/public/browser/native_web_keyboard_event.h", | 25 "+content/public/browser/native_web_keyboard_event.h", |
23 | 26 |
24 # 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. |
25 "-v8", | |
26 "-webkit", | 28 "-webkit", |
27 "-tools", | 29 "-tools", |
28 | 30 |
29 "-crypto/third_party", | 31 "-crypto/third_party", |
30 | 32 |
31 # Allow inclusion of WebKit API files. | 33 # Allow inclusion of WebKit API files. |
32 "+third_party/WebKit/Source/WebKit/chromium", | 34 "+third_party/WebKit/Source/WebKit/chromium", |
33 "+webkit/appcache", | 35 "+webkit/appcache", |
34 "+webkit/blob", | 36 "+webkit/blob", |
35 "+webkit/chromeos/fileapi", | 37 "+webkit/chromeos/fileapi", |
36 "+webkit/database", | 38 "+webkit/database", |
37 "+webkit/fileapi", | 39 "+webkit/fileapi", |
38 "+webkit/quota", | 40 "+webkit/quota", |
39 | 41 |
40 # Allow inclusion of third-party code: | 42 # Allow inclusion of third-party code: |
41 "+third_party/icon_family", # IconFamily for Mac. | 43 "+third_party/icon_family", # IconFamily for Mac. |
42 "+third_party/mozilla", # Mozilla interface headers. | 44 "+third_party/mozilla", # Mozilla interface headers. |
43 "+third_party/npapi", # NPAPI interface headers. | 45 "+third_party/npapi", # NPAPI interface headers. |
44 "+third_party/tcmalloc", # tcmallo | 46 "+third_party/tcmalloc", # tcmallo |
45 "+third_party/GTM", # Google Toolbox for Mac. | 47 "+third_party/GTM", # Google Toolbox for Mac. |
46 | 48 |
47 "+ui", | 49 "+ui", |
48 ] | 50 ] |
OLD | NEW |