1include_rules = [
2  "+cc/switches.h", # For cc command line switches.
3  "+media/base",  # For media command line switches.
4  "+media/audio/audio_util.h",  # For audio hardware sample-rate.
5  "+third_party/zlib",
6  "+third_party/libyuv",
7
8  # The renderer_host files should only call upwards in the layering via the
9  # delegate interfaces.
10  "-content/browser/frame_host",
11  "-content/browser/web_contents",
12  "-content/public/browser/web_contents.h",
13  "-content/public/browser/web_contents_delegate.h",
14  "-content/public/browser/web_contents_view.h",
15]
16
17specific_include_rules = {
18  ".*_(unit|browser)test\.cc": [
19    "+content/browser/frame_host",
20    "+content/browser/web_contents",
21    "+content/public/browser/web_contents.h",
22    "+content/public/browser/web_contents_view.h",
23    "+media/filters",
24  ],
25  "sandbox_ipc_linux\.cc": [
26    "+third_party/WebKit/public/platform/linux/WebFontInfo.h",
27    "+third_party/WebKit/public/web/WebKit.h",
28  ],
29  "sandbox_ipc_linux\.h": [
30    "+content/child/blink_platform_impl.h",
31  ],
32  "render_process_host_impl\.cc": [
33    "+content/browser/frame_host/render_frame_message_filter.h",
34  ],
35  "render_widget_host_view_mac\.mm": [
36    "+content/browser/frame_host",
37    "+content/public/browser/web_contents.h",
38  ],
39  "ime_adapter_android\.cc": [
40    "+content/browser/frame_host",
41    "+content/public/browser/web_contents.h",
42  ],
43  # TODO(nasko): Remove these exceptions once we've untangled the dependency
44  # of RenderViewHost on the FrameTree.
45  "render_view_host_impl\.(cc|h)": [
46    "+content/browser/frame_host/frame_tree.h",
47  ],
48  "render_widget_host_view_aura\.cc": [
49    "+content/browser/frame_host",
50  ],
51}
52