Disable ContentSettingBubbleModelTest.RPHAllow which is flaky.
[chromium-blink-merge.git] / content / DEPS
blobfae46cff45bb3b5f49ce037315044042b06026e4
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   # The subdirectories in content/ will manually allow their own include
5   # directories in content/ so we disallow all of them.
6   "-content",
7   "+content/common",
8   "+content/port/common",
9   "+content/public/common",
10   "+content/public/test",
11   "+content/shell",  # for content_browsertests
12   "+content/test",
14   # content isn't tied to prefs so that other embedders are able to pick
15   # different ways of storing their preferences. Also, this is to avoid prefs
16   # being used as a parallel API to the Content API.
17   "-base/prefs",
19   "+cc",
20   "+crypto",
21   "+grit/content_resources.h",
22   "+grit/ui_resources.h",
23   "+grit/ui_strings.h",
24   "+grit/webkit_chromium_resources.h",
25   "+grit/webkit_resources.h",
26   "+grit/webkit_strings.h",
27   "+grit/webui_resources_map.h",
29   "+dbus",
30   "+gpu",
31   "+net",
32   "+ppapi",
33   "+printing",
34   "+sandbox",
35   "+skia",
37   # In general, content/ should not rely on google_apis, since URLs
38   # and access tokens should usually be provided by the
39   # embedder.
40   #
41   # There are a couple of specific parts of content that are excepted
42   # from this rule, see content/browser/speech/DEPS and
43   # content/browser/geolocation/DEPS.  Both of these are cases of
44   # implementations that are strongly tied to Google servers, i.e. we
45   # don't expect alternate implementations to be provided by the
46   # embedder.
47   "-google_apis",
49   # Don't allow inclusion of these other libs we shouldn't be calling directly.
50   "-v8",
51   "-tools",
53   # Allow inclusion of third-party code:
54   "+third_party/angle",
55   "+third_party/flac",
56   "+third_party/gpsd",
57   "+third_party/libjingle",
58   "+third_party/mozilla",
59   "+third_party/npapi/bindings",
60   "+third_party/skia",
61   "+third_party/sqlite",
62   "+third_party/tcmalloc",
63   "+third_party/khronos",
64   "+third_party/webrtc",
65   "+third_party/WebKit/Source/Platform/chromium",
66   "+third_party/WebKit/Source/WebKit/chromium",
68   "+ui/android",
69   # Aura is analogous to Win32 or a Gtk, so it is allowed.
70   "+ui/aura",
71   "+ui/base",
72   "+ui/compositor",
73   "+ui/gfx",
74   "+ui/gl",
75   "+ui/native_theme",
76   "+ui/shell_dialogs",
77   "+ui/snapshot",
78   "+ui/surface",
79   # Content knows about grd files, but the specifics of how to get a resource
80   # given its id is left to the embedder.
81   "-ui/base/l10n",
82   "-ui/base/resource",
83   # This file isn't related to grd, so it's fine.
84   "+ui/base/l10n/l10n_util_win.h",
86   # Content shouldn't depend on views. While we technically don't need this
87   # line, since the top level DEPS doesn't allow it, we add it to make this
88   # explicit.
89   "-ui/views",
91   "+webkit",
92   "-webkit/dom_storage",
93   "+webkit/dom_storage/dom_storage_types.h",
95   # For generated JNI includes.
96   "+jni",