| include_rules = [ |
| # To whitelist base/ stuff Blink is allowed to include, we list up all |
| # directories and files instead of writing 'base/'. |
| "+base/bind.h", |
| "+base/callback.h", |
| "+base/compiler_specific.h", |
| "+base/message_loop", |
| "+base/threading/thread.h", |
| "+base/threading/thread_checker.h", |
| "+cc", |
| "-cc/blink", |
| "+components/viz/common", |
| "+components/viz/test/fake_external_begin_frame_source.h", |
| "+gpu/command_buffer/client/gles2_interface.h", |
| "+gpu/command_buffer/client/gpu_memory_buffer_manager.h", |
| "+gpu/command_buffer/common/gpu_memory_buffer_support.h", |
| "+gpu/command_buffer/common/capabilities.h", |
| "+gpu/command_buffer/common/mailbox.h", |
| "+gpu/command_buffer/common/sync_token.h", |
| "+media/base/media_switches.h", |
| "+media/base/video_frame.h", |
| "+services/viz/public/interfaces", |
| "+public/web/WebSettings.h", |
| ] |
| |
| specific_include_rules = { |
| ".*Test.cpp": [ |
| "+components/viz/test", |
| ], |
| } |