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.
4 # The subdirectories in content/ will manually allow their own include
5 # directories in content/ so we disallow all of them.
7 "+content/app/resources/grit/content_resources.h",
10 "+content/public/common",
11 "+content/public/test",
12 "+content/shell", # for content_browsertests
15 # content isn't tied to prefs so that other embedders are able to pick
16 # different ways of storing their preferences. Also, this is to avoid prefs
17 # being used as a parallel API to the Content API.
24 # If you want to use any of these files, move them to src/base first.
25 "-cc/base/scoped_ptr_algorithm.h",
26 "-cc/base/scoped_ptr_deque.h",
27 "-cc/base/scoped_ptr_vector.h",
30 "+grit/blink_resources.h",
31 "+grit/content_strings.h",
42 # In general, content/ should not rely on google_apis, since URLs
43 # and access tokens should usually be provided by the
46 # There are a couple of specific parts of content that are excepted
47 # from this rule, see content/browser/speech/DEPS and
48 # content/browser/geolocation/DEPS. Both of these are cases of
49 # implementations that are strongly tied to Google servers, i.e. we
50 # don't expect alternate implementations to be provided by the
54 # Don't allow inclusion of these other libs we shouldn't be calling directly.
58 # Allow inclusion of third-party code:
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",
67 "+third_party/npapi/bindings",
70 "+third_party/sqlite",
71 "+third_party/tcmalloc",
72 "+third_party/khronos",
73 "+third_party/webrtc",
74 "+third_party/zlib/google",
75 "+third_party/WebKit/public/platform",
76 "+third_party/WebKit/public/web",
78 "+ui/accelerated_widget_mac",
81 # Aura is analogous to Win32 or a Gtk, so it is allowed.
91 "+ui/resources/grit/ui_resources.h",
92 "+ui/resources/grit/webui_resources.h",
93 "+ui/resources/grit/webui_resources_map.h",
96 "+ui/strings/grit/ui_strings.h",
98 "+ui/touch_selection",
100 # Content knows about grd files, but the specifics of how to get a resource
101 # given its id is left to the embedder.
104 # These files aren't related to grd, so they're fine.
105 "+ui/base/l10n/l10n_util_android.h",
106 "+ui/base/l10n/l10n_util_win.h",
108 # Content shouldn't depend on views. While we technically don't need this
109 # line, since the top level DEPS doesn't allow it, we add it to make this
117 # For generated JNI includes.