Re-land "Add a media constraint to enable beamforming" (patchset #4 id:60001 of https...
[chromium-blink-merge.git] / content / DEPS
blobfadf694177761bda32504c0462fcf6fcffc99d9f
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.
3 include_rules = [
4   # The subdirectories in content/ will manually allow their own include
5   # directories in content/ so we disallow all of them.
6   "-content",
7   "+content/app/resources/grit/content_resources.h",
8   "+content/common",
9   "+content/grit",
10   "+content/public/common",
11   "+content/public/test",
12   "+content/shell",  # for content_browsertests
13   "+content/test",
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.
18   "-base/prefs",
20   "+blink",
22   "+cc",
23   "-cc/blink",
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",
29   "+crypto",
30   "+grit/blink_resources.h",
31   "+grit/content_strings.h",
33   "+dbus",
34   "+gpu",
35   "+mojo/common",
36   "+mojo/edk/embedder",
37   "+mojo/edk/js",
38   "+mojo/edk/test",
39   "+mojo/public",
40   "+net",
41   "+ppapi",
42   "+printing",
43   "+sandbox",
44   "+skia",
46   # In general, content/ should not rely on google_apis, since URLs
47   # and access tokens should usually be provided by the
48   # embedder.
49   #
50   # There are a couple of specific parts of content that are excepted
51   # from this rule, see content/browser/speech/DEPS and
52   # content/browser/geolocation/DEPS.  Both of these are cases of
53   # implementations that are strongly tied to Google servers, i.e. we
54   # don't expect alternate implementations to be provided by the
55   # embedder.
56   "-google_apis",
58   # Don't allow inclusion of these other libs we shouldn't be calling directly.
59   "-v8",
60   "-tools",
62   # Allow inclusion of third-party code:
63   "+third_party/angle",
64   "+third_party/flac",
65   "+third_party/libjingle",
66   "+third_party/mozilla",
67   "+third_party/npapi/bindings",
68   "+third_party/re2",
69   "+third_party/skia",
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",
79   "+ui/accessibility",
80   "+ui/android",
81   # Aura is analogous to Win32 or a Gtk, so it is allowed.
82   "+ui/aura",
83   "+ui/base",
84   "+ui/compositor",
85   "+ui/events",
86   "+ui/gfx",
87   "+ui/gl",
88   "+ui/native_theme",
89   "+ui/ozone/gpu",
90   "+ui/ozone/public",
91   "+ui/resources/grit/ui_resources.h",
92   "+ui/resources/grit/webui_resources.h",
93   "+ui/resources/grit/webui_resources_map.h",
94   "+ui/shell_dialogs",
95   "+ui/snapshot",
96   "+ui/strings/grit/ui_strings.h",
97   "+ui/surface",
98   "+ui/touch_selection",
99   "+ui/wm",
100   # Content knows about grd files, but the specifics of how to get a resource
101   # given its id is left to the embedder.
102   "-ui/base/l10n",
103   "-ui/base/resource",
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
110   # explicit.
111   "-ui/views",
113   "+storage/browser",
114   "+storage/common",
115   "+webkit",
117   # For generated JNI includes.
118   "+jni",