| OLD | NEW |
| 1 # Do NOT add chrome or components to the list below. We shouldn't be | 1 # Do NOT add chrome or components to the list below. We shouldn't be |
| 2 # including files from src/chrome or src/components in src/content. | 2 # including files from src/chrome or src/components 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 15 matching lines...) Expand all Loading... |
| 26 "-cc/base/scoped_ptr_deque.h", | 26 "-cc/base/scoped_ptr_deque.h", |
| 27 "-cc/base/scoped_ptr_vector.h", | 27 "-cc/base/scoped_ptr_vector.h", |
| 28 | 28 |
| 29 "+crypto", | 29 "+crypto", |
| 30 "+grit/blink_resources.h", | 30 "+grit/blink_resources.h", |
| 31 "+grit/content_strings.h", | 31 "+grit/content_strings.h", |
| 32 | 32 |
| 33 "+dbus", | 33 "+dbus", |
| 34 "+gpu", | 34 "+gpu", |
| 35 "+mojo/common", | 35 "+mojo/common", |
| 36 "+mojo/edk/embedder", | |
| 37 "+mojo/edk/js", | |
| 38 "+mojo/edk/test", | |
| 39 "+mojo/public", | |
| 40 "+net", | 36 "+net", |
| 41 "+ppapi", | 37 "+ppapi", |
| 42 "+printing", | 38 "+printing", |
| 43 "+sandbox", | 39 "+sandbox", |
| 44 "+skia", | 40 "+skia", |
| 45 | 41 |
| 46 # In general, content/ should not rely on google_apis, since URLs | 42 # In general, content/ should not rely on google_apis, since URLs |
| 47 # and access tokens should usually be provided by the | 43 # and access tokens should usually be provided by the |
| 48 # embedder. | 44 # embedder. |
| 49 # | 45 # |
| 50 # There are a couple of specific parts of content that are excepted | 46 # There are a couple of specific parts of content that are excepted |
| 51 # from this rule, see content/browser/speech/DEPS and | 47 # from this rule, see content/browser/speech/DEPS and |
| 52 # content/browser/geolocation/DEPS. Both of these are cases of | 48 # content/browser/geolocation/DEPS. Both of these are cases of |
| 53 # implementations that are strongly tied to Google servers, i.e. we | 49 # implementations that are strongly tied to Google servers, i.e. we |
| 54 # don't expect alternate implementations to be provided by the | 50 # don't expect alternate implementations to be provided by the |
| 55 # embedder. | 51 # embedder. |
| 56 "-google_apis", | 52 "-google_apis", |
| 57 | 53 |
| 58 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 54 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
| 59 "-v8", | 55 "-v8", |
| 60 "-tools", | 56 "-tools", |
| 61 | 57 |
| 62 # Allow inclusion of third-party code: | 58 # Allow inclusion of third-party code: |
| 63 "+third_party/angle", | 59 "+third_party/angle", |
| 64 "+third_party/flac", | 60 "+third_party/flac", |
| 65 "+third_party/libjingle", | 61 "+third_party/libjingle", |
| 62 "+third_party/mojo/src/mojo/edk/embedder", |
| 63 "+third_party/mojo/src/mojo/edk/js", |
| 64 "+third_party/mojo/src/mojo/edk/test", |
| 65 "+third_party/mojo/src/mojo/public", |
| 66 "+third_party/mozilla", | 66 "+third_party/mozilla", |
| 67 "+third_party/npapi/bindings", | 67 "+third_party/npapi/bindings", |
| 68 "+third_party/re2", | 68 "+third_party/re2", |
| 69 "+third_party/skia", | 69 "+third_party/skia", |
| 70 "+third_party/sqlite", | 70 "+third_party/sqlite", |
| 71 "+third_party/tcmalloc", | 71 "+third_party/tcmalloc", |
| 72 "+third_party/khronos", | 72 "+third_party/khronos", |
| 73 "+third_party/webrtc", | 73 "+third_party/webrtc", |
| 74 "+third_party/zlib/google", | 74 "+third_party/zlib/google", |
| 75 "+third_party/WebKit/public/platform", | 75 "+third_party/WebKit/public/platform", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 # explicit. | 110 # explicit. |
| 111 "-ui/views", | 111 "-ui/views", |
| 112 | 112 |
| 113 "+storage/browser", | 113 "+storage/browser", |
| 114 "+storage/common", | 114 "+storage/common", |
| 115 "+webkit", | 115 "+webkit", |
| 116 | 116 |
| 117 # For generated JNI includes. | 117 # For generated JNI includes. |
| 118 "+jni", | 118 "+jni", |
| 119 ] | 119 ] |
| OLD | NEW |