[M108 Migration][MM] Migrate AudioIO related patches
[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/browsing_topics/common",
28   "+components/memory_pressure",
29   "+components/ml/mojom",
30   "+components/power_scheduler",
31   "+components/services/filesystem",
32   "+components/services/font/public",
33   "+components/variations",
34   "+components/value_store",
35
36   "+crypto",
37   "+grit/blink_resources.h",
38
39   "+dbus",
40   "+gpu",
41   "+media",
42   "+mojo/core/embedder",
43   "+mojo/public",
44   "+net",
45   "+ppapi",
46   "+printing",
47   "+sandbox",
48   "+services/proxy_resolver/public/mojom",
49   "+services/service_manager/zygote",
50   "+skia",
51
52   # In general, content/ should not rely on google_apis, since URLs
53   # and access tokens should usually be provided by the
54   # embedder.
55   #
56   # There are a couple of specific parts of content that are excepted
57   # from this rule, e.g. content/browser/speech/DEPS. These are cases of
58   # implementations that are strongly tied to Google servers, i.e. we
59   # don't expect alternate implementations to be provided by the
60   # embedder.
61   "-google_apis",
62
63   # Don't allow inclusion of these other libs we shouldn't be calling directly.
64   "-v8",
65   "-tools",
66
67   # Allow inclusion of third-party code:
68   "+third_party/angle",
69   "+third_party/boringssl/src/include",
70   "+third_party/flac",
71   "+third_party/mozilla",
72   "+third_party/ocmock",
73   "+third_party/re2",
74   "+third_party/skia",
75   "+third_party/sqlite",
76   "+third_party/khronos",
77   "+third_party/webrtc",
78   "+third_party/webrtc_overrides",
79   "+third_party/zlib/google",
80   "+third_party/blink/public",
81
82   "+ui/accelerated_widget_mac",
83   "+ui/accessibility",
84   "+ui/android",
85   # Aura is analogous to Win32 or a Gtk, so it is allowed.
86   "+ui/aura",
87   "+ui/base",
88   "+ui/color",
89   "+ui/compositor",
90   "+ui/display",
91   "+ui/events",
92   "+ui/gfx",
93   "+ui/gl",
94   "+ui/latency",
95   "+ui/native_theme",
96   "+ui/resources/grit/ui_resources.h",
97   "+ui/resources/grit/webui_generated_resources.h",
98   "+ui/resources/grit/webui_generated_resources_map.h",
99   "+ui/shell_dialogs",
100   "+ui/snapshot",
101   "+ui/strings/grit/ui_strings.h",
102   "+ui/surface",
103   "+ui/touch_selection",
104   "+ui/wm",
105   # Content knows about grd files, but the specifics of how to get a resource
106   # given its id is left to the embedder.
107   "-ui/base/l10n",
108   "-ui/base/resource",
109   # These files aren't related to grd, so they're fine.
110   "+ui/base/l10n/l10n_util_android.h",
111   "+ui/base/l10n/l10n_util_win.h",
112
113   # Content shouldn't depend on views. While we technically don't need this
114   # line, since the top level DEPS doesn't allow it, we add it to make this
115   # explicit.
116   "-ui/views",
117
118   "+storage/browser",
119   "+storage/common",
120
121   # For generated JNI includes.
122   "+content/public/android/content_jni_headers",
123   "+content/public/android/jar_jni",
124 ]
125
126 specific_include_rules = {
127   ".*_browsertest[a-z_]*\.(cc|h|mm)": [
128     # content -> content/shell dependency is disallowed, except browser tests.
129     "+content/shell/browser",
130     "+content/shell/common",
131   ],
132 }