Add google_apis_unittests, midi_unittests to GN swarming.
[chromium-blink-merge.git] / content / DEPS
blobda7660ab91e6e681cd592fd75fd83f594cf5c9fa
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/message_pump",
37   "+net",
38   "+ppapi",
39   "+printing",
40   "+sandbox",
41   "+skia",
43   # In general, content/ should not rely on google_apis, since URLs
44   # and access tokens should usually be provided by the
45   # embedder.
46   #
47   # There are a couple of specific parts of content that are excepted
48   # from this rule, see content/browser/speech/DEPS and
49   # content/browser/geolocation/DEPS.  Both of these are cases of
50   # implementations that are strongly tied to Google servers, i.e. we
51   # don't expect alternate implementations to be provided by the
52   # embedder.
53   "-google_apis",
55   # Don't allow inclusion of these other libs we shouldn't be calling directly.
56   "-v8",
57   "-tools",
59   # Allow inclusion of third-party code:
60   "+third_party/angle",
61   "+third_party/flac",
62   "+third_party/libjingle",
63   "+third_party/mojo/src/mojo/edk/embedder",
64   "+third_party/mojo/src/mojo/edk/js",
65   "+third_party/mojo/src/mojo/edk/test",
66   "+third_party/mojo/src/mojo/public",
67   "+third_party/mozilla",
68   "+third_party/npapi/bindings",
69   "+third_party/ocmock",
70   "+third_party/re2",
71   "+third_party/skia",
72   "+third_party/sqlite",
73   "+third_party/tcmalloc",
74   "+third_party/khronos",
75   "+third_party/webrtc",
76   "+third_party/zlib/google",
77   "+third_party/WebKit/public/platform",
78   "+third_party/WebKit/public/web",
80   "+ui/accelerated_widget_mac",
81   "+ui/accessibility",
82   "+ui/android",
83   # Aura is analogous to Win32 or a Gtk, so it is allowed.
84   "+ui/aura",
85   "+ui/base",
86   "+ui/compositor",
87   "+ui/events",
88   "+ui/gfx",
89   "+ui/gl",
90   "+ui/native_theme",
91   "+ui/ozone/public",
92   "+ui/resources/grit/ui_resources.h",
93   "+ui/resources/grit/webui_resources.h",
94   "+ui/resources/grit/webui_resources_map.h",
95   "+ui/shell_dialogs",
96   "+ui/snapshot",
97   "+ui/strings/grit/ui_strings.h",
98   "+ui/surface",
99   "+ui/touch_selection",
100   "+ui/wm",
101   # Content knows about grd files, but the specifics of how to get a resource
102   # given its id is left to the embedder.
103   "-ui/base/l10n",
104   "-ui/base/resource",
105   # These files aren't related to grd, so they're fine.
106   "+ui/base/l10n/l10n_util_android.h",
107   "+ui/base/l10n/l10n_util_win.h",
109   # Content shouldn't depend on views. While we technically don't need this
110   # line, since the top level DEPS doesn't allow it, we add it to make this
111   # explicit.
112   "-ui/views",
114   "+storage/browser",
115   "+storage/common",
117   # For generated JNI includes.
118   "+jni",