Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / DEPS
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",
12
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",
17
18   "+blink",
19
20   "+cc",
21   # If you want to use any of these files, move them to src/base first.
22   "-cc/base/scoped_ptr_algorithm.h",
23   "-cc/base/scoped_ptr_deque.h",
24   "-cc/base/scoped_ptr_vector.h",
25
26   "+crypto",
27   "+grit/blink_resources.h",
28   "+grit/content_resources.h",
29   "+grit/content_strings.h",
30   "+grit/ui_resources.h",
31   "+grit/ui_strings.h",
32   "+grit/webkit_resources.h",
33   "+grit/webui_resources.h",
34   "+grit/webui_resources_map.h",
35
36   "+dbus",
37   "+gpu",
38   "+mojo/application_manager",
39   "+mojo/bindings/js",
40   "+mojo/common",
41   "+mojo/embedder",
42   "+mojo/public",
43   "+net",
44   "+ppapi",
45   "+printing",
46   "+sandbox",
47   "+skia",
48
49   # In general, content/ should not rely on google_apis, since URLs
50   # and access tokens should usually be provided by the
51   # embedder.
52   #
53   # There are a couple of specific parts of content that are excepted
54   # from this rule, see content/browser/speech/DEPS and
55   # content/browser/geolocation/DEPS.  Both of these are cases of
56   # implementations that are strongly tied to Google servers, i.e. we
57   # don't expect alternate implementations to be provided by the
58   # embedder.
59   "-google_apis",
60
61   # Don't allow inclusion of these other libs we shouldn't be calling directly.
62   "-v8",
63   "-tools",
64
65   # Allow inclusion of third-party code:
66   "+third_party/angle",
67   "+third_party/flac",
68   "+third_party/libjingle",
69   "+third_party/mozilla",
70   "+third_party/npapi/bindings",
71   "+third_party/re2",
72   "+third_party/skia",
73   "+third_party/sqlite",
74   "+third_party/tcmalloc",
75   "+third_party/khronos",
76   "+third_party/webrtc",
77   "+third_party/zlib/google",
78   "+third_party/WebKit/public/platform",
79   "+third_party/WebKit/public/web",
80
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/gpu",
92   "+ui/ozone/public",
93   "+ui/shell_dialogs",
94   "+ui/snapshot",
95   "+ui/surface",
96   "+ui/wm",
97   # Content knows about grd files, but the specifics of how to get a resource
98   # given its id is left to the embedder.
99   "-ui/base/l10n",
100   "-ui/base/resource",
101   # This file isn't related to grd, so it's fine.
102   "+ui/base/l10n/l10n_util_win.h",
103
104   # Content shouldn't depend on views. While we technically don't need this
105   # line, since the top level DEPS doesn't allow it, we add it to make this
106   # explicit.
107   "-ui/views",
108
109   "+webkit",
110
111   # For generated JNI includes.
112   "+jni",
113 ]