blob: a78a9a2fe1e5184d375d640571e5757d603210dc [file] [log] [blame]
include_rules = [
# To only allow a subset of base/ in Blink, we explicitly list all
# directories and files instead of writing 'base/'.
"+base/atomic_ref_count.h",
"+base/auto_reset.h",
"+base/bind.h",
"+base/bits.h",
"+base/compiler_specific.h",
"+base/logging.h",
"+base/mac/foundation_util.h",
"+base/mac/scoped_cftyperef.h",
"+base/memory/ptr_util.h",
"+base/memory/ref_counted.h",
"+base/memory/weak_ptr.h",
"+base/metrics/histogram_macros.h",
"+base/no_destructor.h",
"+base/numerics",
"+base/process/process_metrics.h",
"+base/rand_util.h",
"+base/stl_util.h",
"+base/strings",
"+base/third_party/double_conversion",
"+base/template_util.h",
"+base/test/metrics/histogram_tester.h",
"+base/thread_annotations.h",
"+base/threading",
"+base/time/time.h",
"+base/tuple.h",
"+base/win/windows_types.h",
# To avoid recursive dependency, we impose a blanket ban on using other
# platform files. Think carefully if you want to relax this restriction.
"-third_party/blink/renderer/platform",
"+third_party/blink/renderer/platform/wtf",
"-v8",
# Allow pulling in cppgc for Oilpan use.
"+v8/include/cppgc",
]