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. Also, we may only depend on files in | 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 # src/components that are shared with the mojo html_viewer. |
4 include_rules = [ | 4 include_rules = [ |
5 # The subdirectories in content/ will manually allow their own include | 5 # The subdirectories in content/ will manually allow their own include |
6 # directories in content/ so we disallow all of them. | 6 # directories in content/ so we disallow all of them. |
7 "-content", | 7 "-content", |
8 "+content/app/resources/grit/content_resources.h", | 8 "+content/app/resources/grit/content_resources.h", |
9 "+content/common", | 9 "+content/common", |
10 "+content/grit", | 10 "+content/grit", |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 "+storage/browser", | 109 "+storage/browser", |
110 "+storage/common", | 110 "+storage/common", |
111 | 111 |
112 # For generated JNI includes. | 112 # For generated JNI includes. |
113 "+jni", | 113 "+jni", |
114 ] | 114 ] |
115 | 115 |
116 # content -> content/shell dependency is not allowed, except for browser tests. | 116 # content -> content/shell dependency is not allowed, except for browser tests. |
117 specific_include_rules = { | 117 specific_include_rules = { |
118 ".*_browsertest[a-z_]*\.cc": [ | 118 ".*_browsertest[a-z_]*\.(cc|h)": [ |
119 "+content/shell/browser", | 119 "+content/shell/browser", |
120 "+content/shell/common", | 120 "+content/shell/common", |
121 ], | 121 ], |
122 } | 122 } |
123 | 123 |
OLD | NEW |