Minimize deps in gerrit-openid:openid thus maximize truly provided_deps

So that libs such as gerrit-acceptance-framework can depend on this very
one if need be, without growing too much out of unnecessary transitive
deps.

Change-Id: I808af7b09e5a7cf20a578c4740e3a882f7a74e99
This commit is contained in:
Marco Miller 2015-11-03 11:00:23 -05:00
parent 6a86b1bebe
commit 535816a5e8

View File

@ -3,6 +3,9 @@ java_library(
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
deps = [
'//lib/openid:consumer',
],
provided_deps = [
'//gerrit-common:annotations',
'//gerrit-common:server',
'//gerrit-extension-api:api',
@ -12,13 +15,12 @@ java_library(
'//gerrit-server:server',
'//lib:guava',
'//lib:gwtorm',
'//lib:servlet-api-3_1',
'//lib/commons:codec',
'//lib/guice:guice',
'//lib/guice:guice-servlet',
'//lib/jgit:jgit',
'//lib/log:api',
'//lib/openid:consumer',
],
provided_deps = ['//lib:servlet-api-3_1'],
visibility = ['PUBLIC'],
)