| include_rules = [ |
| # In general this directory should not depend on any of components/, |
| # content/ or other third_party/blink directories. |
| "-components", |
| "-content", |
| "-third_party/blink", |
| |
| # It is allowed to depend on common chromium stuff (and itself). |
| "+base", |
| "+build", |
| "+crypto/sha2.h", |
| "+cc/mojom/browser_controls_params.mojom.h", |
| "+net", |
| "+media", |
| "+mojo", |
| "+services/metrics/public/cpp", |
| "+services/metrics/public/mojom/ukm_interface.mojom.h", |
| "+services/network/public/cpp", |
| "+services/network/public/mojom/content_security_policy.mojom.h", |
| "+services/network/public/mojom/fetch_api.mojom-shared.h", |
| "+services/network/public/mojom/parsed_headers.mojom.h", |
| "+services/network/public/mojom/referrer_policy.mojom.h", |
| "+services/network/public/mojom/web_sandbox_flags.mojom-shared.h", |
| "+services/network/public/mojom/early_hints.mojom.h", |
| "+services/network/public/mojom/url_loader.mojom.h", |
| "+services/network/public/mojom/url_loader_factory.mojom.h", |
| "+services/network/public/mojom/url_response_head.mojom.h", |
| "+services/network/public/mojom/url_response_head.mojom-forward.h", |
| "+services/viz/public/mojom/compositing/local_surface_id.mojom.h", |
| "+skia/public/mojom/bitmap_skbitmap_mojom_traits.h", |
| "+testing/gmock/include/gmock", |
| "+testing/gtest/include/gtest", |
| "+third_party/blink/common", |
| "+third_party/blink/public/common", |
| "+third_party/blink/public/mojom", |
| "+third_party/icu/source/common/unicode/unistr.h", |
| "+ui/base/page_transition_types.h", |
| "+ui/base/ui_base_switches_util.h", |
| "+ui/base/dragdrop/mojom", |
| "+ui/display", |
| "+ui/events/base_event_utils.h", |
| "+ui/gfx/presentation_feedback.h", |
| "+ui/gfx/transform.h", |
| "+ui/gfx/geometry", |
| "+ui/gfx/mojom/color_space.mojom.h", |
| "+ui/gfx/mojom/display_color_spaces.mojom.h", |
| "+ui/gfx/win/direct_write.h", |
| "+ui/latency/mojom/latency_info_mojom_traits.h", |
| "+url", |
| ] |
| specific_include_rules = { |
| '.*unittest.?.cc': [ "+v8", "+services/network/test" ] |
| } |