1 include_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 17 specific_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 "render_sandbox_host_linux\.cc": [ 26 "+third_party/WebKit/public/platform/linux/WebFontInfo.h", 27 "+third_party/WebKit/public/web/WebKit.h", 28 ], 29 "render_process_host_impl\.cc": [ 30 "+content/browser/frame_host/render_frame_message_filter.h", 31 ], 32 # TODO(nasko): Remove these exceptions once we've untangled the dependency 33 # of RenderViewHost on the FrameTree. 34 "render_view_host_impl\.(cc|h)": [ 35 "+content/browser/frame_host/frame_tree.h", 36 "+content/browser/frame_host/render_frame_host_factory.h", 37 "+content/browser/frame_host/render_frame_host_impl.h", 38 ], 39 } 40