| include_rules = [ |
| # To whitelist base/ stuff Blink is allowed to include, we list up all |
| # directories and files instead of writing 'base/'. |
| "+base/allocator/oom.h", |
| "+base/allocator/partition_allocator", |
| "+base/auto_reset.h", |
| "+base/bind.h", |
| "+base/bits.h", |
| "+base/compiler_specific.h", |
| "+base/debug", |
| "+base/logging.h", |
| "+base/memory/ptr_util.h", |
| "+base/memory/weak_ptr.h", |
| "+base/numerics", |
| "+base/optional.h", |
| "+base/rand_util.h", |
| "+base/strings", |
| "+base/threading/thread_checker.h", |
| "+base/time/time.h", |
| "+base/tuple.h", |
| "+build", |
| # Allow redirection to platform/wtf. See crbug.com/691465. |
| "+platform/wtf", |
| "-v8", |
| ] |