[M120 Migration][WebRTC] Tbm mapping buffer support in webrtc video sink
[platform/framework/web/chromium-efl.git] / content / DEPS
1 # Do NOT add chrome to the list below. We shouldn't be including files
2 # from 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/app/strings/grit",  # For generated headers
8   "+content/common",
9   "+content/grit",
10   "+content/public/common",
11   "+content/public/test",
12   "+content/services/auction_worklet/public",
13   "+content/test",
14   "+blink/public/resources/grit",
15   "+cc",
16
17   "-components",
18   # Content can depend on components that are:
19   #   1) related to the implementation of the web platform, or,
20   #   2) shared code between third_party/blink and content
21   # It should not depend on chrome features or implementation details, i.e. the
22   # original components/ directories which was code split out from chrome/ to be
23   # shared with iOS. This includes, but isn't limited to, browser features such
24   # as autofill or extensions, and chrome implementation details such as
25   # settings, packaging details, installation or crash reporting.
26
27   "+components/attribution_reporting",
28   "+components/browsing_topics/common",
29   "+components/memory_pressure",
30   "+components/ml/mojom",
31   "+components/services/filesystem",
32   "+components/services/font/public",
33   "+components/startup_metric_utils",
34   "+components/variations",
35   "+components/value_store",
36
37   "+crypto",
38   "+grit/blink_resources.h",
39
40   "+dbus",
41   "+gpu",
42   "+media",
43   "+mojo/core/embedder",
44   "+mojo/public",
45   "+net",
46   "+ppapi",
47   "+printing",
48   "+sandbox",
49   "+services/proxy_resolver/public/mojom",
50   "+services/service_manager/zygote",
51   "+skia",
52
53   # In general, content/ should not rely on google_apis, since URLs
54   # and access tokens should usually be provided by the
55   # embedder.
56   #
57   # There are a couple of specific parts of content that are excepted
58   # from this rule, e.g. content/browser/speech/DEPS. These are cases of
59   # implementations that are strongly tied to Google servers, i.e. we
60   # don't expect alternate implementations to be provided by the
61   # embedder.
62   "-google_apis",
63
64   # Don't allow inclusion of these other libs we shouldn't be calling directly.
65   "-v8",
66   "-tools",
67
68   # Allow inclusion of third-party code:
69   "+third_party/angle",
70   "+third_party/boringssl/src/include",
71   "+third_party/flac",
72   "+third_party/mozilla",
73   "+third_party/ocmock",
74   "+third_party/re2",
75   "+third_party/skia",
76   "+third_party/sqlite",
77   "+third_party/khronos",
78   "+third_party/webrtc",
79   "+third_party/webrtc_overrides",
80   "+third_party/zlib/google",
81   "+third_party/blink/public",
82
83   "+ui/accelerated_widget_mac",
84   "+ui/accessibility",
85   "+ui/android",
86   # Aura is analogous to Win32 or a Gtk, so it is allowed.
87   "+ui/aura",
88   "+ui/base",
89   "+ui/color",
90   "+ui/compositor",
91   "+ui/display",
92   "+ui/events",
93   "+ui/gfx",
94   "+ui/gl",
95   "+ui/latency",
96   "+ui/native_theme",
97   "+ui/resources/grit/ui_resources.h",
98   "+ui/resources/grit/webui_resources.h",
99   "+ui/resources/grit/webui_resources_map.h",
100   "+ui/shell_dialogs",
101   "+ui/snapshot",
102   "+ui/strings/grit/ui_strings.h",
103   "+ui/surface",
104   "+ui/touch_selection",
105   "+ui/wm",
106   # Content knows about grd files, but the specifics of how to get a resource
107   # given its id is left to the embedder.
108   "-ui/base/l10n",
109   "-ui/base/resource",
110   # These files aren't related to grd, so they're fine.
111   "+ui/base/l10n/l10n_util_android.h",
112   "+ui/base/l10n/l10n_util_win.h",
113   "+ui/base/resource/resource_scale_factor.h",
114
115   # Content shouldn't depend on views. While we technically don't need this
116   # line, since the top level DEPS doesn't allow it, we add it to make this
117   # explicit.
118   "-ui/views",
119
120   "+storage/browser",
121   "+storage/common",
122
123   # For generated JNI includes.
124   "+content/public/android/content_jni_headers",
125   "+content/public/android/content_main_dex_jni",
126   "+content/public/android/jar_jni",
127 ]
128
129 specific_include_rules = {
130   ".*_browsertest[a-z_]*\.(cc|h|mm)": [
131     # content -> content/shell dependency is disallowed, except browser tests.
132     "+content/shell/browser",
133     "+content/shell/common",
134   ],
135 }