Commit b7d6ada4 authored by Mohamed Heikal's avatar Mohamed Heikal Committed by Commit Bot

Make android_deps material design private

Usages in internal repo have been fixed, so we should make the real
material design target private and only allow access to the public
alias.

Bug: 1110346
Change-Id: Id9bf2b705d51ef95eac6b2154c1d796369e4ec7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2347957
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: default avatarPeter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797656}
parent b62c81b3
...@@ -1385,6 +1385,10 @@ android_aar_prebuilt("com_google_android_material_material_java") { ...@@ -1385,6 +1385,10 @@ android_aar_prebuilt("com_google_android_material_material_java") {
# Reduce binary size. https:crbug.com/954584 # Reduce binary size. https:crbug.com/954584
ignore_proguard_configs = true ignore_proguard_configs = true
# Material Design is pulled in via Doubledown, thus this target should not
# be directly depended on. Please use :material_design_java instead.
visibility = [ ":*" ]
} }
# This is generated, do not edit. Update BuildConfigGenerator.groovy instead. # This is generated, do not edit. Update BuildConfigGenerator.groovy instead.
......
...@@ -344,6 +344,10 @@ class BuildConfigGenerator extends DefaultTask { ...@@ -344,6 +344,10 @@ class BuildConfigGenerator extends DefaultTask {
sb.append('\n') sb.append('\n')
sb.append(' # Reduce binary size. https:crbug.com/954584\n') sb.append(' # Reduce binary size. https:crbug.com/954584\n')
sb.append(' ignore_proguard_configs = true\n') sb.append(' ignore_proguard_configs = true\n')
sb.append('\n')
sb.append(' # Material Design is pulled in via Doubledown, thus this target should not\n')
sb.append(' # be directly depended on. Please use :material_design_java instead.\n')
sb.append(' visibility = [ ":*" ]\n')
break break
case 'com_android_support_support_annotations': case 'com_android_support_support_annotations':
sb.append(' # https://crbug.com/989505\n') sb.append(' # https://crbug.com/989505\n')
......
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