OLD | NEW |
1 # Do NOT add chrome to the list below. We shouldn't be including files | 1 # Do NOT add chrome to the list below. We shouldn't be including files |
2 # from src/chrome in src/content. | 2 # from src/chrome in src/content. |
3 include_rules = [ | 3 include_rules = [ |
4 # The subdirectories in content/ will manually allow their own include | 4 # The subdirectories in content/ will manually allow their own include |
5 # directories in content/ so we disallow all of them. | 5 # directories in content/ so we disallow all of them. |
6 "-content", | 6 "-content", |
7 "+content/app/resources/grit/content_resources.h", | 7 "+content/app/resources/grit/content_resources.h", |
8 "+content/common", | 8 "+content/common", |
9 "+content/grit", | 9 "+content/grit", |
10 "+content/public/common", | 10 "+content/public/common", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 "+ppapi", | 46 "+ppapi", |
47 "+printing", | 47 "+printing", |
48 "+sandbox", | 48 "+sandbox", |
49 "+skia", | 49 "+skia", |
50 | 50 |
51 # In general, content/ should not rely on google_apis, since URLs | 51 # In general, content/ should not rely on google_apis, since URLs |
52 # and access tokens should usually be provided by the | 52 # and access tokens should usually be provided by the |
53 # embedder. | 53 # embedder. |
54 # | 54 # |
55 # There are a couple of specific parts of content that are excepted | 55 # There are a couple of specific parts of content that are excepted |
56 # from this rule, e.g. content/browser/speech/DEPS. These are cases of | 56 # from this rule, see content/browser/speech/DEPS and |
| 57 # content/browser/geolocation/DEPS. Both of these are cases of |
57 # implementations that are strongly tied to Google servers, i.e. we | 58 # implementations that are strongly tied to Google servers, i.e. we |
58 # don't expect alternate implementations to be provided by the | 59 # don't expect alternate implementations to be provided by the |
59 # embedder. | 60 # embedder. |
60 "-google_apis", | 61 "-google_apis", |
61 | 62 |
62 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 63 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
63 "-v8", | 64 "-v8", |
64 "-tools", | 65 "-tools", |
65 | 66 |
66 # Allow inclusion of third-party code: | 67 # Allow inclusion of third-party code: |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 "+jni", | 122 "+jni", |
122 ] | 123 ] |
123 | 124 |
124 # content -> content/shell dependency is not allowed, except for browser tests. | 125 # content -> content/shell dependency is not allowed, except for browser tests. |
125 specific_include_rules = { | 126 specific_include_rules = { |
126 ".*_browsertest[a-z_]*\.(cc|h)": [ | 127 ".*_browsertest[a-z_]*\.(cc|h)": [ |
127 "+content/shell/browser", | 128 "+content/shell/browser", |
128 "+content/shell/common", | 129 "+content/shell/common", |
129 ], | 130 ], |
130 } | 131 } |
OLD | NEW |