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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 "-google_apis", | 56 "-google_apis", |
57 | 57 |
58 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 58 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
59 "-v8", | 59 "-v8", |
60 "-tools", | 60 "-tools", |
61 | 61 |
62 # Allow inclusion of third-party code: | 62 # Allow inclusion of third-party code: |
63 "+third_party/angle", | 63 "+third_party/angle", |
64 "+third_party/boringssl/src/include", | 64 "+third_party/boringssl/src/include", |
65 "+third_party/flac", | 65 "+third_party/flac", |
66 "+third_party/libjingle", | |
67 "+third_party/mozilla", | 66 "+third_party/mozilla", |
68 "+third_party/ocmock", | 67 "+third_party/ocmock", |
69 "+third_party/re2", | 68 "+third_party/re2", |
70 "+third_party/skia", | 69 "+third_party/skia", |
71 "+third_party/sqlite", | 70 "+third_party/sqlite", |
72 "+third_party/khronos", | 71 "+third_party/khronos", |
73 "+third_party/webrtc", | 72 "+third_party/webrtc", |
74 "+third_party/webrtc_overrides", | 73 "+third_party/webrtc_overrides", |
75 "+third_party/zlib/google", | 74 "+third_party/zlib/google", |
76 "+third_party/WebKit/public", | 75 "+third_party/WebKit/public", |
(...skipping 40 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 |