Fix plugin references to moved :plugin-api

The plugin api moved into the gerrit-plugin-api package.
Change the reference created by gerrit_plugin() to match.

Change-Id: I390a22f512835847367ae2993a7a9bddf9d11b5c
This commit is contained in:
Shawn Pearce
2013-11-24 13:42:47 -08:00
parent 8d2ceb78ad
commit 154d4181a8
3 changed files with 5 additions and 5 deletions

View File

@@ -10,12 +10,12 @@ gwt_module(
java_binary(
name = 'extension-api',
deps = [':extension-lib'],
deps = [':lib'],
visibility = ['PUBLIC'],
)
java_library(
name = 'extension-lib',
name = 'lib',
deps = [
':api',
'//lib/guice:guice',
@@ -23,7 +23,7 @@ java_library(
'//lib:servlet-api-3_0',
],
export_deps = True,
visibility = [],
visibility = ['PUBLIC'],
)
java_library2(

View File

@@ -21,7 +21,7 @@ java_library(
name = 'lib',
deps = PLUGIN_API + ['//lib:servlet-api-3_0'],
export_deps = True,
visibility = [],
visibility = ['PUBLIC'],
)
java_binary(

View File

@@ -162,7 +162,7 @@ def gerrit_plugin(
srcs = srcs,
resources = resources,
deps = deps,
compile_deps = ['//:%s-lib' % type] + gwt_deps,
compile_deps = ['//gerrit-%s-api:lib' % type] + gwt_deps,
)
if gwt_module:
prebuilt_jar(