| 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. Also, we may only depend on files in | 2 # from src/chrome in src/content. Also, we may only depend on files in |
| 3 # src/components that are shared with the mojo html_viewer. | 3 # src/components that are shared with the mojo html_viewer. |
| 4 include_rules = [ | 4 include_rules = [ |
| 5 # The subdirectories in content/ will manually allow their own include | 5 # The subdirectories in content/ will manually allow their own include |
| 6 # directories in content/ so we disallow all of them. | 6 # directories in content/ so we disallow all of them. |
| 7 "-content", | 7 "-content", |
| 8 "+content/app/resources/grit/content_resources.h", | 8 "+content/app/resources/grit/content_resources.h", |
| 9 "+content/common", | 9 "+content/common", |
| 10 "+content/grit", | 10 "+content/grit", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 "-cc/base/scoped_ptr_vector.h", | 28 "-cc/base/scoped_ptr_vector.h", |
| 29 | 29 |
| 30 "+crypto", | 30 "+crypto", |
| 31 "+grit/blink_resources.h", | 31 "+grit/blink_resources.h", |
| 32 "+grit/content_strings.h", | 32 "+grit/content_strings.h", |
| 33 | 33 |
| 34 "+dbus", | 34 "+dbus", |
| 35 "+gpu", | 35 "+gpu", |
| 36 "+mojo/common", | 36 "+mojo/common", |
| 37 "+mojo/message_pump", | 37 "+mojo/message_pump", |
| 38 "+mojo/public", |
| 38 "+net", | 39 "+net", |
| 39 "+ppapi", | 40 "+ppapi", |
| 40 "+printing", | 41 "+printing", |
| 41 "+sandbox", | 42 "+sandbox", |
| 42 "+skia", | 43 "+skia", |
| 43 | 44 |
| 44 # In general, content/ should not rely on google_apis, since URLs | 45 # In general, content/ should not rely on google_apis, since URLs |
| 45 # and access tokens should usually be provided by the | 46 # and access tokens should usually be provided by the |
| 46 # embedder. | 47 # embedder. |
| 47 # | 48 # |
| 48 # There are a couple of specific parts of content that are excepted | 49 # There are a couple of specific parts of content that are excepted |
| 49 # from this rule, see content/browser/speech/DEPS and | 50 # from this rule, see content/browser/speech/DEPS and |
| 50 # content/browser/geolocation/DEPS. Both of these are cases of | 51 # content/browser/geolocation/DEPS. Both of these are cases of |
| 51 # implementations that are strongly tied to Google servers, i.e. we | 52 # implementations that are strongly tied to Google servers, i.e. we |
| 52 # don't expect alternate implementations to be provided by the | 53 # don't expect alternate implementations to be provided by the |
| 53 # embedder. | 54 # embedder. |
| 54 "-google_apis", | 55 "-google_apis", |
| 55 | 56 |
| 56 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 57 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
| 57 "-v8", | 58 "-v8", |
| 58 "-tools", | 59 "-tools", |
| 59 | 60 |
| 60 # Allow inclusion of third-party code: | 61 # Allow inclusion of third-party code: |
| 61 "+third_party/angle", | 62 "+third_party/angle", |
| 62 "+third_party/flac", | 63 "+third_party/flac", |
| 63 "+third_party/libjingle", | 64 "+third_party/libjingle", |
| 64 "+third_party/mojo/src/mojo/edk/embedder", | 65 "+third_party/mojo/src/mojo/edk/embedder", |
| 65 "+third_party/mojo/src/mojo/edk/js", | 66 "+third_party/mojo/src/mojo/edk/js", |
| 66 "+third_party/mojo/src/mojo/edk/test", | 67 "+third_party/mojo/src/mojo/edk/test", |
| 67 "+third_party/mojo/src/mojo/public", | |
| 68 "+third_party/mozilla", | 68 "+third_party/mozilla", |
| 69 "+third_party/npapi/bindings", | 69 "+third_party/npapi/bindings", |
| 70 "+third_party/ocmock", | 70 "+third_party/ocmock", |
| 71 "+third_party/re2", | 71 "+third_party/re2", |
| 72 "+third_party/skia", | 72 "+third_party/skia", |
| 73 "+third_party/sqlite", | 73 "+third_party/sqlite", |
| 74 "+third_party/tcmalloc", | 74 "+third_party/tcmalloc", |
| 75 "+third_party/khronos", | 75 "+third_party/khronos", |
| 76 "+third_party/webrtc", | 76 "+third_party/webrtc", |
| 77 "+third_party/zlib/google", | 77 "+third_party/zlib/google", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 # line, since the top level DEPS doesn't allow it, we add it to make this | 111 # line, since the top level DEPS doesn't allow it, we add it to make this |
| 112 # explicit. | 112 # explicit. |
| 113 "-ui/views", | 113 "-ui/views", |
| 114 | 114 |
| 115 "+storage/browser", | 115 "+storage/browser", |
| 116 "+storage/common", | 116 "+storage/common", |
| 117 | 117 |
| 118 # For generated JNI includes. | 118 # For generated JNI includes. |
| 119 "+jni", | 119 "+jni", |
| 120 ] | 120 ] |
| OLD | NEW |