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