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. Also, we may only depend on files in |
| 3 # src/components that are shared with the mojo html_viewer. |
3 include_rules = [ | 4 include_rules = [ |
4 # For permission mojo interfaces. | |
5 "+components/permissions", | |
6 | |
7 # The subdirectories in content/ will manually allow their own include | 5 # The subdirectories in content/ will manually allow their own include |
8 # directories in content/ so we disallow all of them. | 6 # directories in content/ so we disallow all of them. |
9 "-content", | 7 "-content", |
10 "+content/app/resources/grit/content_resources.h", | 8 "+content/app/resources/grit/content_resources.h", |
11 "+content/common", | 9 "+content/common", |
12 "+content/grit", | 10 "+content/grit", |
13 "+content/public/common", | 11 "+content/public/common", |
14 "+content/public/test", | 12 "+content/public/test", |
15 "+content/test", | 13 "+content/test", |
16 | 14 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 # Content shouldn't depend on views. While we technically don't need this | 103 # Content shouldn't depend on views. While we technically don't need this |
106 # line, since the top level DEPS doesn't allow it, we add it to make this | 104 # line, since the top level DEPS doesn't allow it, we add it to make this |
107 # explicit. | 105 # explicit. |
108 "-ui/views", | 106 "-ui/views", |
109 | 107 |
110 "+storage/browser", | 108 "+storage/browser", |
111 "+storage/common", | 109 "+storage/common", |
112 | 110 |
113 # For generated JNI includes. | 111 # For generated JNI includes. |
114 "+jni", | 112 "+jni", |
115 | |
116 ] | 113 ] |
117 | 114 |
118 # content -> content/shell dependency is not allowed, except for browser tests. | 115 # content -> content/shell dependency is not allowed, except for browser tests. |
119 specific_include_rules = { | 116 specific_include_rules = { |
120 ".*_browsertest[a-z_]*\.(cc|h)": [ | 117 ".*_browsertest[a-z_]*\.(cc|h)": [ |
121 "+content/shell/browser", | 118 "+content/shell/browser", |
122 "+content/shell/common", | 119 "+content/shell/common", |
123 ], | 120 ], |
124 } | 121 } |
OLD | NEW |