Win: some fixes to the sensor data fetcher.
[chromium-blink-merge.git] / content / DEPS
blobdd0a7d6b0362a7e2686cbc0388e8632e0f373014
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/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   # If you want to use any of these files, move them to src/base first.
21   "-cc/base/hash_pair.h",
22   "-cc/base/scoped_ptr_algorithm.h",
23   "-cc/base/scoped_ptr_deque.h",
24   "-cc/base/scoped_ptr_vector.h",
26   "+crypto",
27   "+grit/blink_resources.h",
28   "+grit/content_resources.h",
29   "+grit/ui_resources.h",
30   "+grit/ui_strings.h",
31   "+grit/webkit_resources.h",
32   "+grit/webkit_strings.h",
33   "+grit/webui_resources.h",
34   "+grit/webui_resources_map.h",
36   "+dbus",
37   "+gpu",
38   "+net",
39   "+ppapi",
40   "+printing",
41   "+sandbox",
42   "+skia",
44   # In general, content/ should not rely on google_apis, since URLs
45   # and access tokens should usually be provided by the
46   # embedder.
47   #
48   # There are a couple of specific parts of content that are excepted
49   # from this rule, see content/browser/speech/DEPS and
50   # content/browser/geolocation/DEPS.  Both of these are cases of
51   # implementations that are strongly tied to Google servers, i.e. we
52   # don't expect alternate implementations to be provided by the
53   # embedder.
54   "-google_apis",
56   # Don't allow inclusion of these other libs we shouldn't be calling directly.
57   "-v8",
58   "-tools",
60   # Allow inclusion of third-party code:
61   "+third_party/angle_dx11",
62   "+third_party/flac",
63   "+third_party/gpsd",
64   "+third_party/libjingle",
65   "+third_party/mozilla",
66   "+third_party/npapi/bindings",
67   "+third_party/skia",
68   "+third_party/sqlite",
69   "+third_party/tcmalloc",
70   "+third_party/khronos",
71   "+third_party/webrtc",
72   "+third_party/zlib/google",
73   "+third_party/WebKit/public/platform",
74   "+third_party/WebKit/public/web",
76   "+ui/android",
77   # Aura is analogous to Win32 or a Gtk, so it is allowed.
78   "+ui/aura",
79   "+ui/base",
80   "+ui/compositor",
81   "+ui/events",
82   "+ui/gfx",
83   "+ui/gl",
84   "+ui/native_theme",
85   "+ui/shell_dialogs",
86   "+ui/snapshot",
87   "+ui/surface",
88   # Content knows about grd files, but the specifics of how to get a resource
89   # given its id is left to the embedder.
90   "-ui/base/l10n",
91   "-ui/base/resource",
92   # This file isn't related to grd, so it's fine.
93   "+ui/base/l10n/l10n_util_win.h",
95   # Content shouldn't depend on views. While we technically don't need this
96   # line, since the top level DEPS doesn't allow it, we add it to make this
97   # explicit.
98   "-ui/views",
100   "+webkit",
102   # For generated JNI includes.
103   "+jni",