summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/DEPS
blob: 1d612c4622902eafb2bd0962279953015dfcf087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
include_rules = [
  "+cc/switches.h", # For cc command line switches.
  "+media/base",  # For media command line switches.
  "+media/audio/audio_util.h",  # For audio hardware sample-rate.
  "+third_party/zlib",
  "+third_party/libyuv",

  # The renderer_host files should only call upwards in the layering via the
  # delegate interfaces.
  "-content/browser/frame_host",
  "-content/browser/web_contents",
  "-content/public/browser/web_contents.h",
  "-content/public/browser/web_contents_delegate.h",
  "-content/public/browser/web_contents_view.h",
]

specific_include_rules = {
  ".*_(unit|browser)test\.cc": [
    "+content/browser/frame_host",
    "+content/browser/web_contents",
    "+content/public/browser/web_contents.h",
    "+content/public/browser/web_contents_view.h",
    "+media/filters",
  ],
  "render_sandbox_host_linux\.cc": [
    "+third_party/WebKit/public/platform/linux/WebFontInfo.h",
    "+third_party/WebKit/public/web/WebKit.h",
  ],
  "render_process_host_impl\.cc": [
    "+content/browser/frame_host/render_frame_message_filter.h",
  ],
  # TODO(nasko): Remove these exceptions once we've untangled the dependency
  # of RenderViewHost on the FrameTree.
  "render_view_host_impl\.(cc|h)": [
    "+content/browser/frame_host/frame_tree.h",
    "+content/browser/frame_host/render_frame_host_factory.h",
    "+content/browser/frame_host/render_frame_host_impl.h",
  ],
}