| 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/oom.h", |
| "+base/bind.h", |
| "+base/bind_helpers.h", |
| "+base/bit_cast.h", |
| "+base/feature_list.h", |
| "+base/files", |
| "+base/guid.h", |
| "+base/json", |
| "+base/location.h", |
| "+base/memory", |
| "+base/message_loop/message_loop.h", |
| "+base/metrics/histogram.h", |
| "+base/metrics/histogram_base.h", |
| "+base/metrics/histogram_macros.h", |
| "+base/metrics/histogram_samples.h", |
| "+base/metrics/sparse_histogram.h", |
| "+base/numerics/checked_math.h", |
| "+base/numerics/safe_conversions.h", |
| "+base/rand_util.h", |
| "+base/run_loop.h", |
| "+base/single_thread_task_runner.h", |
| "+base/strings/string_util.h", |
| "+base/strings/stringprintf.h", |
| "+base/synchronization/waitable_event.h", |
| "+base/sys_info.h", |
| "+base/android/sys_utils.h", |
| "+base/test", |
| "+base/test/fuzzed_data_provider.h", |
| "+base/threading/thread_task_runner_handle.h", |
| "+base/time", |
| "+base/timer", |
| "+base/trace_event", |
| "+base/values.h", |
| "+base/lazy_instance.h", |
| "+net/base/escape.h", |
| "+net/http/http_util.h", |
| "+net/http/http_request_headers.h", |
| "+net/http/http_response_headers.h", |
| "+device", |
| "+gpu/GLES2", |
| "+mojo/public", |
| "+mozilla", |
| "+platform", |
| "+public/platform", |
| #TODO(nverne): remove this |
| "+public/web/WebKit.h", |
| "+services/network/public/interfaces/data_pipe_getter.mojom-blink.h", |
| "+services/viz/public/interfaces/compositing/compositor_frame_sink.mojom-blink.h", |
| "+skia/ext", |
| "+third_party/ced/src/compact_enc_det/compact_enc_det.h", |
| "+third_party/khronos", |
| "+third_party/skia", |
| "+ui/gfx", |
| "+url", |
| "+webp", |
| "+build/mac", |
| "+build/win", |
| "-bindings", |
| "-core", |
| "-modules", |
| ] |
| |
| specific_include_rules = { |
| "WebURLError\.cpp": [ |
| "+net/base/net_errors.h" |
| ] |
| } |