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 | 18 |
19 "-components", | 19 "-components", |
20 # Content can depend on components that are: | 20 # Content can depend on components that are: |
21 # 1) related to the implementation of the web platform | 21 # 1) related to the implementation of the web platform |
22 # 2) shared code between third_party/WebKit and content | 22 # 2) shared code between third_party/WebKit and content |
23 # 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 |
24 # 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 |
25 # 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 |
26 # as autofill or extensions, and chrome implementation details such as | 26 # as autofill or extensions, and chrome implementation details such as |
27 # settings, packaging details, installation or crash reporting. | 27 # settings, packaging details, installation or crash reporting. |
| 28 "+components/variations", |
28 | 29 |
29 "+crypto", | 30 "+crypto", |
30 "+grit/blink_resources.h", | 31 "+grit/blink_resources.h", |
31 "+grit/content_strings.h", | 32 "+grit/content_strings.h", |
32 | 33 |
33 "+dbus", | 34 "+dbus", |
34 "+gpu", | 35 "+gpu", |
35 "+media", | 36 "+media", |
36 "+mojo/common", | 37 "+mojo/common", |
37 "+mojo/edk/embedder", | 38 "+mojo/edk/embedder", |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 "+jni", | 119 "+jni", |
119 ] | 120 ] |
120 | 121 |
121 # content -> content/shell dependency is not allowed, except for browser tests. | 122 # content -> content/shell dependency is not allowed, except for browser tests. |
122 specific_include_rules = { | 123 specific_include_rules = { |
123 ".*_browsertest[a-z_]*\.(cc|h)": [ | 124 ".*_browsertest[a-z_]*\.(cc|h)": [ |
124 "+content/shell/browser", | 125 "+content/shell/browser", |
125 "+content/shell/common", | 126 "+content/shell/common", |
126 ], | 127 ], |
127 } | 128 } |
OLD | NEW |