OLD | NEW |
1 include_rules = [ | 1 include_rules = [ |
2 "+base/prefs", | 2 "+base/prefs", |
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. | 8 # Browser, renderer, common and tests access V8 for various purposes. |
9 "-v8", | 9 "-v8", |
10 "+v8/include", | 10 "+v8/include", |
11 | 11 |
12 # Limit what we include from nacl. | 12 # Limit what we include from nacl. |
13 "-native_client", | 13 "-native_client", |
14 | 14 |
15 # The subdirectories in chrome/ will manually allow their own include | 15 # The subdirectories in chrome/ will manually allow their own include |
16 # directories in chrome/ so we disallow all of them. | 16 # directories in chrome/ so we disallow all of them. |
17 "-chrome", | 17 "-chrome", |
18 "+chrome/common", | 18 "+chrome/common", |
19 "+chrome/test", | 19 "+chrome/test", |
20 "+components/metrics", | 20 "+components/metrics", |
21 "+components/variations", | 21 "+components/variations", |
22 "+content/public/common", | 22 "+content/public/common", |
23 "+content/public/test", | 23 "+content/public/test", |
| 24 "+mojo/common", |
| 25 "+mojo/public", |
24 | 26 |
25 # 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. |
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/public/platform", | 34 "+third_party/WebKit/public/platform", |
33 "+third_party/WebKit/public/web", | 35 "+third_party/WebKit/public/web", |
34 | 36 |
35 # Allow inclusion of third-party code: | 37 # Allow inclusion of third-party code: |
36 "+third_party/google_toolbox_for_mac/src", | 38 "+third_party/google_toolbox_for_mac/src", |
37 "+third_party/hunspell", | 39 "+third_party/hunspell", |
38 "+third_party/libxml", | 40 "+third_party/libxml", |
39 "+third_party/mozilla", # Mozilla interface headers. | 41 "+third_party/mozilla", # Mozilla interface headers. |
40 "+third_party/skia", | 42 "+third_party/skia", |
41 "+third_party/zlib/google", | 43 "+third_party/zlib/google", |
42 | 44 |
43 "+ui", | 45 "+ui", |
44 ] | 46 ] |
OLD | NEW |