| 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/bind.h", |
| "+base/bind_helpers.h", |
| "+base/bit_cast.h", |
| "+base/compiler_specific.h", |
| "+base/cpu.h", |
| "+base/feature_list.h", |
| "+base/files", |
| "+base/containers/adapters.h", |
| "+base/containers/flat_map.h", |
| "+base/guid.h", |
| "+base/json", |
| "+base/location.h", |
| "+base/logging.h", |
| "+base/mac/mac_util.h", |
| "+base/memory", |
| "+base/observer_list.h", |
| "+base/memory/shared_memory.h", |
| "+base/message_loop/message_loop.h", |
| "+base/metrics/histogram.h", |
| "+base/metrics/histogram_base.h", |
| "+base/metrics/histogram_functions.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/strings/pattern.h", |
| "+base/strings/string_util.h", |
| "+base/strings/stringprintf.h", |
| "+base/synchronization/waitable_event.h", |
| "+base/android/sys_utils.h", |
| "+base/system/sys_info.h", |
| "+base/task/sequence_manager/task_time_observer.h", |
| "+base/test", |
| "+base/test/fuzzed_data_provider.h", |
| "+base/threading/thread_task_runner_handle.h", |
| "+base/time", |
| "+base/timer", |
| "+base/trace_event", |
| "+base/unguessable_token.h", |
| "+base/values.h", |
| "+base/lazy_instance.h", |
| "+cc/paint/text_holder.h", |
| "+net/base/filename_util.h", |
| "+net/http/http_util.h", |
| "+net/http/http_request_headers.h", |
| "+net/http/http_response_headers.h", |
| "+device", |
| "+gpu/GLES2", |
| "+mojo/public", |
| "+mozilla", |
| "+services/metrics/public/cpp/ukm_entry_builder.h", |
| "+services/metrics/public/cpp/ukm_recorder.h", |
| "+services/viz/public/interfaces/compositing/compositor_frame_sink.mojom-blink.h", |
| "+skia/ext", |
| #TODO(nverne): remove this |
| "+third_party/blink/public/web/blink.h", |
| "+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", |
| "-third_party/blink/renderer/bindings", |
| "-third_party/blink/renderer/core", |
| "-third_party/blink/renderer/modules", |
| ] |
| |
| specific_include_rules = { |
| "crypto\.(cc|h)": [ |
| "+crypto", |
| "+third_party/boringssl/src/include", |
| ], |
| "web_url_error\.cc": [ |
| "+net/base/net_errors.h" |
| ], |
| "ukm_time_aggregator_test.cc" : [ |
| "+components/ukm/test_ukm_recorder.h" |
| ], |
| "data_resource_helper.cc" : [ |
| "+third_party/zlib/google/compression_utils.h", |
| "+ui/base/resource", |
| ], |
| } |