| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 "+ppapi", | 46 "+ppapi", |
| 47 "+printing", | 47 "+printing", |
| 48 "+sandbox", | 48 "+sandbox", |
| 49 "+skia", | 49 "+skia", |
| 50 | 50 |
| 51 # In general, content/ should not rely on google_apis, since URLs | 51 # In general, content/ should not rely on google_apis, since URLs |
| 52 # and access tokens should usually be provided by the | 52 # and access tokens should usually be provided by the |
| 53 # embedder. | 53 # embedder. |
| 54 # | 54 # |
| 55 # There are a couple of specific parts of content that are excepted | 55 # There are a couple of specific parts of content that are excepted |
| 56 # from this rule, see content/browser/speech/DEPS and | 56 # from this rule, e.g. content/browser/speech/DEPS. These are cases of |
| 57 # content/browser/geolocation/DEPS. Both of these are cases of | |
| 58 # implementations that are strongly tied to Google servers, i.e. we | 57 # implementations that are strongly tied to Google servers, i.e. we |
| 59 # don't expect alternate implementations to be provided by the | 58 # don't expect alternate implementations to be provided by the |
| 60 # embedder. | 59 # embedder. |
| 61 "-google_apis", | 60 "-google_apis", |
| 62 | 61 |
| 63 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 62 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
| 64 "-v8", | 63 "-v8", |
| 65 "-tools", | 64 "-tools", |
| 66 | 65 |
| 67 # Allow inclusion of third-party code: | 66 # Allow inclusion of third-party code: |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 "+jni", | 121 "+jni", |
| 123 ] | 122 ] |
| 124 | 123 |
| 125 # content -> content/shell dependency is not allowed, except for browser tests. | 124 # content -> content/shell dependency is not allowed, except for browser tests. |
| 126 specific_include_rules = { | 125 specific_include_rules = { |
| 127 ".*_browsertest[a-z_]*\.(cc|h)": [ | 126 ".*_browsertest[a-z_]*\.(cc|h)": [ |
| 128 "+content/shell/browser", | 127 "+content/shell/browser", |
| 129 "+content/shell/common", | 128 "+content/shell/common", |
| 130 ], | 129 ], |
| 131 } | 130 } |
| OLD | NEW |