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", |
11 "+content/public/test", | 11 "+content/public/test", |
12 "+content/test", | 12 "+content/test", |
13 | 13 |
14 "+blink/public/resources/grit", | 14 "+blink/public/resources/grit", |
15 | 15 |
16 "+cc", | 16 "+cc", |
17 "-cc/blink", | 17 "-cc/blink", |
18 # If you want to use any of these files, move them to src/base first. | |
19 "-cc/base/scoped_ptr_algorithm.h", | |
20 "-cc/base/scoped_ptr_deque.h", | |
21 "-cc/base/scoped_ptr_vector.h", | |
22 | 18 |
23 "-components", | 19 "-components", |
24 # Content can depend on components that are: | 20 # Content can depend on components that are: |
25 # 1) related to the implementation of the web platform | 21 # 1) related to the implementation of the web platform |
26 # 2) shared code between third_party/WebKit and content | 22 # 2) shared code between third_party/WebKit and content |
27 # It should not depend on chrome features or implementation details, i.e. the | 23 # It should not depend on chrome features or implementation details, i.e. the |
28 # original components/ directories which was code split out from chrome/ to be | 24 # original components/ directories which was code split out from chrome/ to be |
29 # shared with iOS. This includes, but isn't limited to, browser features such | 25 # shared with iOS. This includes, but isn't limited to, browser features such |
30 # as autofill or extensions, and chrome implementation details such as | 26 # as autofill or extensions, and chrome implementation details such as |
31 # settings, packaging details, installation or crash reporting. | 27 # settings, packaging details, installation or crash reporting. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 "+jni", | 118 "+jni", |
123 ] | 119 ] |
124 | 120 |
125 # content -> content/shell dependency is not allowed, except for browser tests. | 121 # content -> content/shell dependency is not allowed, except for browser tests. |
126 specific_include_rules = { | 122 specific_include_rules = { |
127 ".*_browsertest[a-z_]*\.(cc|h)": [ | 123 ".*_browsertest[a-z_]*\.(cc|h)": [ |
128 "+content/shell/browser", | 124 "+content/shell/browser", |
129 "+content/shell/common", | 125 "+content/shell/common", |
130 ], | 126 ], |
131 } | 127 } |
OLD | NEW |