Added more detailed result codes for CreateViewCommandBuffer.
[chromium-blink-merge.git] / content / DEPS
blob6fd07fe07d347f1f87f86229453a74ac54342997
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/common",
8   "+content/public/common",
9   "+content/public/test",
10   "+content/shell",  # for content_browsertests
11   "+content/test",
13   # content isn't tied to prefs so that other embedders are able to pick
14   # different ways of storing their preferences. Also, this is to avoid prefs
15   # being used as a parallel API to the Content API.
16   "-base/prefs",
18   "+cc",
19   # If you want to use any of these files, move them to src/base first.
20   "-cc/base/scoped_ptr_algorithm.h",
21   "-cc/base/scoped_ptr_deque.h",
22   "-cc/base/scoped_ptr_vector.h",
24   "+crypto",
25   "+grit/blink_resources.h",
26   "+grit/content_resources.h",
27   "+grit/ui_resources.h",
28   "+grit/ui_strings.h",
29   "+grit/webkit_resources.h",
30   "+grit/webkit_strings.h",
31   "+grit/webui_resources.h",
32   "+grit/webui_resources_map.h",
34   "+dbus",
35   "+gpu",
36   "+mojo/public",
37   "+mojo/bindings/js",
38   "+mojo/common",
39   "+mojo/embedder",
40   "+mojo/service_manager",
41   "+net",
42   "+ppapi",
43   "+printing",
44   "+sandbox",
45   "+skia",
47   # In general, content/ should not rely on google_apis, since URLs
48   # and access tokens should usually be provided by the
49   # embedder.
50   #
51   # There are a couple of specific parts of content that are excepted
52   # from this rule, see content/browser/speech/DEPS and
53   # content/browser/geolocation/DEPS.  Both of these are cases of
54   # implementations that are strongly tied to Google servers, i.e. we
55   # don't expect alternate implementations to be provided by the
56   # embedder.
57   "-google_apis",
59   # Don't allow inclusion of these other libs we shouldn't be calling directly.
60   "-v8",
61   "-tools",
63   # Allow inclusion of third-party code:
64   "+third_party/angle",
65   "+third_party/flac",
66   "+third_party/libjingle",
67   "+third_party/mozilla",
68   "+third_party/npapi/bindings",
69   "+third_party/re2",
70   "+third_party/skia",
71   "+third_party/sqlite",
72   "+third_party/tcmalloc",
73   "+third_party/khronos",
74   "+third_party/webrtc",
75   "+third_party/zlib/google",
76   "+third_party/WebKit/public/platform",
77   "+third_party/WebKit/public/web",
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/public",
90   "+ui/shell_dialogs",
91   "+ui/snapshot",
92   "+ui/surface",
93   "+ui/wm",
94   # Content knows about grd files, but the specifics of how to get a resource
95   # given its id is left to the embedder.
96   "-ui/base/l10n",
97   "-ui/base/resource",
98   # This file isn't related to grd, so it's fine.
99   "+ui/base/l10n/l10n_util_win.h",
101   # Content shouldn't depend on views. While we technically don't need this
102   # line, since the top level DEPS doesn't allow it, we add it to make this
103   # explicit.
104   "-ui/views",
106   "+webkit",
108   # For generated JNI includes.
109   "+jni",