Broke ContentSettingBubbleModelTest.Plugins on Android.
[chromium-blink-merge.git] / content / DEPS
blob9c3b9a026426de8a4cc6f4f52ccd992c4f501f0e
1 # Do NOT add chrome to the list below.  We shouldn't be including files from
2 # src/chrome in src/content.
3 include_rules = [
4   "+cc",
6   "+crypto",
8   # The subdirectories in content/ will manually allow their own include
9   # directories in content/ so we disallow all of them.
10   "-content",
11   "+content/common",
12   "+content/port/common",
13   "+content/public/common",
14   "+content/public/test",
15   "+content/shell",  # for content_browsertests
16   "+content/test",
18   "+grit/content_resources.h",
19   "+grit/ui_resources.h",
20   "+grit/webkit_chromium_resources.h",
21   "+grit/webkit_resources.h",
22   "+grit/webkit_strings.h",
23   "+grit/webui_resources_map.h",
25   "+dbus",
26   "+gpu",
27   "+net",
28   "+ppapi",
29   "+printing",
30   "+sandbox",
31   "+skia",
33   # In general, content/ should not rely on google_apis, since URLs
34   # and access tokens should usually be provided by the
35   # embedder.
36   #
37   # There are a couple of specific parts of content that are excepted
38   # from this rule, see content/browser/speech/DEPS and
39   # content/browser/geolocation/DEPS.  Both of these are cases of
40   # implementations that are strongly tied to Google servers, i.e. we
41   # don't expect alternate implementations to be provided by the
42   # embedder.
43   "-google_apis",
45   # Don't allow inclusion of these other libs we shouldn't be calling directly.
46   "-v8",
47   "-tools",
49   # Allow inclusion of third-party code:
50   "+third_party/angle",
51   "+third_party/flac",
52   "+third_party/gpsd",
53   "+third_party/mozilla",
54   "+third_party/npapi/bindings",
55   "+third_party/skia",
56   "+third_party/sqlite",
57   "+third_party/tcmalloc",
58   "+third_party/khronos",
59   "+third_party/webrtc",
60   "+third_party/WebKit/Source/Platform/chromium",
61   "+third_party/WebKit/Source/WebKit/chromium",
63   "+ui/android",
64   # Aura is analogous to Win32 or a Gtk, so it is allowed.
65   "+ui/aura",
66   "+ui/base",
67   "+ui/compositor",
68   "+ui/gfx",
69   "+ui/gl",
70   "+ui/native_theme",
71   "+ui/shell_dialogs",
72   "+ui/snapshot",
73   "+ui/surface",
74   # Content knows about grd files, but the specifics of how to get a resource
75   # given its id is left to the embedder.
76   "-ui/base/l10n",
77   "-ui/base/resource",
78   # This file isn't related to grd, so it's fine.
79   "+ui/base/l10n/l10n_util_win.h",
81   # Content shouldn't depend on views. While we technically don't need this
82   # line, since the top level DEPS doesn't allow it, we add it to make this
83   # explicit.
84   "-ui/views",
86   "+webkit",
87   "-webkit/dom_storage",
88   "+webkit/dom_storage/dom_storage_types.h",
90   # For generated JNI includes.
91   "+jni",