Commit 25c65ff5 authored by Sylvain Defresne's avatar Sylvain Defresne Committed by Commit Bot

[ios] Prevent direct uses of libraries composing MaterialComponents

Those libraries will soon be build as a framework bundle so prevent
direct uses from ios/chrome before the migration is over.

Bug: 1017165
Change-Id: I2b40e5aeb6050e6fa6ab87c03aae96d446bde09f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948935
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: default avatarDavid Jean <djean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721448}
parent e56ac0ce
...@@ -34,6 +34,17 @@ include_rules = [ ...@@ -34,6 +34,17 @@ include_rules = [
# web::TestBrowserState in ios/chrome. # web::TestBrowserState in ios/chrome.
"-ios/web/public/test/fakes/test_browser_state.h", "-ios/web/public/test/fakes/test_browser_state.h",
# Disallow direct uses of libraries that compose MaterialComponents.
"+ios/third_party/material_components_ios",
"-ios/third_party/material_font_disk_loader_ios",
"-ios/third_party/material_internationalization_ios",
"-ios/third_party/material_roboto_font_loader_ios",
"-ios/third_party/material_sprited_animation_view_ios",
"-ios/third_party/material_text_accessibility_ios",
"-ios/third_party/motion_animator_objc",
"-ios/third_party/motion_interchange_objc",
"-ios/third_party/motion_transitioning_objc",
# web::HttpServer is deprecated in favor of net::EmbeddedTestServer. # web::HttpServer is deprecated in favor of net::EmbeddedTestServer.
# See crbug.com/891834. # See crbug.com/891834.
"-ios/web/public/test/http_server", "-ios/web/public/test/http_server",
......
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