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 "+cc", | 4 "+cc", |
5 | 5 |
6 "+crypto", | 6 "+crypto", |
7 | 7 |
8 # The subdirectories in content/ will manually allow their own include | 8 # The subdirectories in content/ will manually allow their own include |
9 # directories in content/ so we disallow all of them. | 9 # directories in content/ so we disallow all of them. |
10 "-content", | 10 "-content", |
11 "+content/common", | 11 "+content/common", |
12 "+content/port/common", | 12 "+content/port/common", |
13 "+content/public/common", | 13 "+content/public/common", |
14 "+content/public/test", | 14 "+content/public/test", |
15 "+content/shell", # for content_browsertests | 15 "+content/shell", # for content_browsertests |
16 "+content/test", | 16 "+content/test", |
17 | 17 |
18 "+google_apis", | |
19 | |
20 "+grit/content_resources.h", | 18 "+grit/content_resources.h", |
21 "+grit/ui_resources.h", | 19 "+grit/ui_resources.h", |
22 "+grit/webkit_chromium_resources.h", | 20 "+grit/webkit_chromium_resources.h", |
23 "+grit/webkit_resources.h", | 21 "+grit/webkit_resources.h", |
24 "+grit/webkit_strings.h", | 22 "+grit/webkit_strings.h", |
25 | 23 |
26 "+dbus", | 24 "+dbus", |
27 "+gpu", | 25 "+gpu", |
28 "+net", | 26 "+net", |
29 "+ppapi", | 27 "+ppapi", |
30 "+printing", | 28 "+printing", |
31 "+sandbox", | 29 "+sandbox", |
32 "+skia", | 30 "+skia", |
33 | 31 |
| 32 # In general, content/ should not rely on google_apis, since URLs |
| 33 # and access tokens should usually be provided by the |
| 34 # embedder. |
| 35 # |
| 36 # There are a couple of specific parts of content that are excepted |
| 37 # from this rule, see content/browser/speech/DEPS and |
| 38 # content/browser/geolocation/DEPS. Both of these are cases of |
| 39 # implementations that are strongly tied to Google servers, i.e. we |
| 40 # don't expect alternate implementations to be provided by the |
| 41 # embedder. |
| 42 "-google_apis", |
| 43 |
34 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 44 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
35 "-v8", | 45 "-v8", |
36 "-tools", | 46 "-tools", |
37 | 47 |
38 # Allow inclusion of third-party code: | 48 # Allow inclusion of third-party code: |
39 "+third_party/angle", | 49 "+third_party/angle", |
40 "+third_party/flac", | 50 "+third_party/flac", |
41 "+third_party/gpsd", | 51 "+third_party/gpsd", |
42 "+third_party/mozilla", | 52 "+third_party/mozilla", |
43 "+third_party/npapi/bindings", | 53 "+third_party/npapi/bindings", |
(...skipping 27 matching lines...) Expand all Loading... |
71 # explicit. | 81 # explicit. |
72 "-ui/views", | 82 "-ui/views", |
73 | 83 |
74 "+webkit", | 84 "+webkit", |
75 "-webkit/dom_storage", | 85 "-webkit/dom_storage", |
76 "+webkit/dom_storage/dom_storage_types.h", | 86 "+webkit/dom_storage/dom_storage_types.h", |
77 | 87 |
78 # For generated JNI includes. | 88 # For generated JNI includes. |
79 "+jni", | 89 "+jni", |
80 ] | 90 ] |
OLD | NEW |