Commit 85aa920b authored by Eugene But's avatar Eugene But Committed by Commit Bot

Disallow certain includes in ios/web_view.

ios/chrome is not allowed as chrome application layer.

ios/web is not allowed as private implementation.
ios/web/public is allowed as public API layer for ios/web

Bug: 872759
Change-Id: I0900bfe2adf740836fdf4572d356913a3901af0e
Reviewed-on: https://chromium-review.googlesource.com/c/1315350
Commit-Queue: Eugene But <eugenebut@chromium.org>
Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605368}
parent 6baa6c81
......@@ -2,4 +2,10 @@ include_rules = [
# The subdirectories in ios/web_view/ will manually allow their own include
# directories in ios/web_view/ so we disallow all of them.
"-ios/web_view",
# includes from application layer are not allowed.
"-ios/chrome"
"+ios/web/public",
"-ios/web/public/test/fakes/test_browser_state.h",
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment