OLD | NEW |
1 include_rules = [ | 1 include_rules = [ |
2 "+ash", | 2 "+ash", |
3 "+crypto", | 3 "+crypto", |
4 "+gpu", | 4 "+gpu", |
5 "+jni", | 5 "+jni", |
6 "+leveldb", | 6 "+leveldb", |
7 "+net", | 7 "+net", |
8 "+printing", | 8 "+printing", |
9 "+sql", | 9 "+sql", |
10 # Browser, renderer, common and tests access V8 for various purposes. | 10 # Browser, renderer, common and tests access V8 for various purposes. |
11 "-v8", | 11 "-v8", |
12 "+v8/include", | 12 "+v8/include", |
13 | 13 |
14 # Limit what we include from nacl. | 14 # Limit what we include from nacl. |
15 "-native_client", | 15 "-native_client", |
16 "+native_client/src/trusted/service_runtime/osx", | 16 "+native_client/src/trusted/service_runtime/osx", |
17 "+native_client/src/trusted/service_runtime/win", | 17 "+native_client/src/trusted/service_runtime/win", |
18 "+native_client/src/shared/imc", | 18 "+native_client/src/shared/imc", |
19 | 19 |
20 # The subdirectories in chrome/ will manually allow their own include | 20 # The subdirectories in chrome/ will manually allow their own include |
21 # directories in chrome/ so we disallow all of them. | 21 # directories in chrome/ so we disallow all of them. |
22 "-chrome", | 22 "-chrome", |
23 "+chrome/common", | 23 "+chrome/common", |
24 "+chrome/test", | 24 "+chrome/test", |
25 "+content/public/common", | 25 "+content/public/common", |
26 "+content/public/test", | 26 "+content/public/test", |
27 "+content/test/gpu", | 27 "+content/test/gpu", |
28 "+content/test/net", | 28 "+content/test/net", |
29 "+content/test/browser_test_base.h", # http://crbug.com/90448 | |
30 | 29 |
31 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 30 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
32 "-webkit", | 31 "-webkit", |
33 "-tools", | 32 "-tools", |
34 | 33 |
35 "-crypto/third_party", | 34 "-crypto/third_party", |
36 | 35 |
37 # Allow inclusion of WebKit API files. | 36 # Allow inclusion of WebKit API files. |
38 "+third_party/WebKit/Source/Platform/chromium", | 37 "+third_party/WebKit/Source/Platform/chromium", |
39 "+third_party/WebKit/Source/WebKit/chromium", | 38 "+third_party/WebKit/Source/WebKit/chromium", |
40 "+webkit/appcache", | 39 "+webkit/appcache", |
41 "+webkit/blob", | 40 "+webkit/blob", |
42 "+webkit/chromeos/fileapi", | 41 "+webkit/chromeos/fileapi", |
43 "+webkit/database", | 42 "+webkit/database", |
44 "+webkit/fileapi", | 43 "+webkit/fileapi", |
45 "+webkit/quota", | 44 "+webkit/quota", |
46 | 45 |
47 # Allow inclusion of third-party code: | 46 # Allow inclusion of third-party code: |
48 "+third_party/hunspell", | 47 "+third_party/hunspell", |
49 "+third_party/icon_family", # IconFamily for Mac. | 48 "+third_party/icon_family", # IconFamily for Mac. |
50 "+third_party/libxml", | 49 "+third_party/libxml", |
51 "+third_party/mozilla", # Mozilla interface headers. | 50 "+third_party/mozilla", # Mozilla interface headers. |
52 "+third_party/npapi", # NPAPI interface headers. | 51 "+third_party/npapi", # NPAPI interface headers. |
53 "+third_party/skia", | 52 "+third_party/skia", |
54 "+third_party/tcmalloc", | 53 "+third_party/tcmalloc", |
55 "+third_party/GTM", # Google Toolbox for Mac. | 54 "+third_party/GTM", # Google Toolbox for Mac. |
56 | 55 |
57 "+ui", | 56 "+ui", |
58 ] | 57 ] |
OLD | NEW |