include_rules = [
    # To whitelist base/ stuff Blink is allowed to include, we list up all
    # directories and files instead of writing 'base/'.
    "+base/allocator/partition_allocator",
    "+base/atomic_ref_count.h",
    "+base/auto_reset.h",
    "+base/bind.h",
    "+base/bits.h",
    "+base/compiler_specific.h",
    "+base/logging.h",
    "+base/memory/ptr_util.h",
    "+base/memory/ref_counted.h",
    "+base/memory/weak_ptr.h",
    "+base/numerics",
    "+base/optional.h",
    "+base/process/process_metrics.h",
    "+base/rand_util.h",
    "+base/strings",
    "+base/threading/thread_checker.h",
    "+base/time/time.h",
    "+base/tuple.h",
    # To avoid recursive dependency, we impose a blanket ban on using other
    # platform files. Think carefully if you want to relax this restriction.
    "-platform",
    "+platform/wtf",
    "+sandbox/linux/services/resource_limits.h",
    "-v8",
]

specific_include_rules = {
  ".*Test\.cpp": [
    "+base/threading/thread.h"
  ]
}
