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 16 matching lines...) Expand all Loading... |
27 "-cc/base/scoped_ptr_deque.h", | 27 "-cc/base/scoped_ptr_deque.h", |
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/edk/embedder", |
| 38 "+mojo/edk/js", |
| 39 "+mojo/edk/test", |
37 "+mojo/message_pump", | 40 "+mojo/message_pump", |
38 "+mojo/public", | 41 "+mojo/public", |
39 "+net", | 42 "+net", |
40 "+ppapi", | 43 "+ppapi", |
41 "+printing", | 44 "+printing", |
42 "+sandbox", | 45 "+sandbox", |
43 "+skia", | 46 "+skia", |
44 | 47 |
45 # In general, content/ should not rely on google_apis, since URLs | 48 # In general, content/ should not rely on google_apis, since URLs |
46 # and access tokens should usually be provided by the | 49 # and access tokens should usually be provided by the |
47 # embedder. | 50 # embedder. |
48 # | 51 # |
49 # There are a couple of specific parts of content that are excepted | 52 # There are a couple of specific parts of content that are excepted |
50 # from this rule, see content/browser/speech/DEPS and | 53 # from this rule, see content/browser/speech/DEPS and |
51 # content/browser/geolocation/DEPS. Both of these are cases of | 54 # content/browser/geolocation/DEPS. Both of these are cases of |
52 # implementations that are strongly tied to Google servers, i.e. we | 55 # implementations that are strongly tied to Google servers, i.e. we |
53 # don't expect alternate implementations to be provided by the | 56 # don't expect alternate implementations to be provided by the |
54 # embedder. | 57 # embedder. |
55 "-google_apis", | 58 "-google_apis", |
56 | 59 |
57 # Don't allow inclusion of these other libs we shouldn't be calling directly. | 60 # Don't allow inclusion of these other libs we shouldn't be calling directly. |
58 "-v8", | 61 "-v8", |
59 "-tools", | 62 "-tools", |
60 | 63 |
61 # Allow inclusion of third-party code: | 64 # Allow inclusion of third-party code: |
62 "+third_party/angle", | 65 "+third_party/angle", |
63 "+third_party/flac", | 66 "+third_party/flac", |
64 "+third_party/libjingle", | 67 "+third_party/libjingle", |
65 "+third_party/mojo/src/mojo/edk/embedder", | |
66 "+third_party/mojo/src/mojo/edk/js", | |
67 "+third_party/mojo/src/mojo/edk/test", | |
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 |