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 24 matching lines...) Expand all Loading... |
35 "+media", | 35 "+media", |
36 "+mojo/common", | 36 "+mojo/common", |
37 "+mojo/edk/embedder", | 37 "+mojo/edk/embedder", |
38 "+mojo/edk/js", | 38 "+mojo/edk/js", |
39 "+mojo/message_pump", | 39 "+mojo/message_pump", |
40 "+mojo/public", | 40 "+mojo/public", |
41 "+net", | 41 "+net", |
42 "+ppapi", | 42 "+ppapi", |
43 "+printing", | 43 "+printing", |
44 "+sandbox", | 44 "+sandbox", |
45 "+services/service_manager/embedder", | |
46 "+skia", | 45 "+skia", |
47 | 46 |
48 # In general, content/ should not rely on google_apis, since URLs | 47 # In general, content/ should not rely on google_apis, since URLs |
49 # and access tokens should usually be provided by the | 48 # and access tokens should usually be provided by the |
50 # embedder. | 49 # embedder. |
51 # | 50 # |
52 # There are a couple of specific parts of content that are excepted | 51 # There are a couple of specific parts of content that are excepted |
53 # from this rule, e.g. content/browser/speech/DEPS. These are cases of | 52 # from this rule, e.g. content/browser/speech/DEPS. These are cases of |
54 # implementations that are strongly tied to Google servers, i.e. we | 53 # implementations that are strongly tied to Google servers, i.e. we |
55 # don't expect alternate implementations to be provided by the | 54 # don't expect alternate implementations to be provided by the |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 "+jni", | 116 "+jni", |
118 ] | 117 ] |
119 | 118 |
120 # content -> content/shell dependency is not allowed, except for browser tests. | 119 # content -> content/shell dependency is not allowed, except for browser tests. |
121 specific_include_rules = { | 120 specific_include_rules = { |
122 ".*_browsertest[a-z_]*\.(cc|h)": [ | 121 ".*_browsertest[a-z_]*\.(cc|h)": [ |
123 "+content/shell/browser", | 122 "+content/shell/browser", |
124 "+content/shell/common", | 123 "+content/shell/common", |
125 ], | 124 ], |
126 } | 125 } |
OLD | NEW |