Buck: Export gwtui-common in gwtui-api-lib

Plugins with GWT modules need both:

* gerrit-plugin-gwtui
* gerrit-gwtui-common

Export gerrit-gwtui-common in gwtui-api-lib so that only one dependency
is needed to link against in tree plugin build.

This is the same behaviour as when the plugin is built against published
plugin API (we don't publish gwtui-common as standalone artifact).

Change-Id: If8da90dc1038b6d4145d2e2bab333c2642e3c25f
This commit is contained in:
David Ostrovsky 2014-05-31 11:16:46 +02:00
parent 5dacc8bcc2
commit b4edfabc03
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,7 @@ java_library(
name = 'gwtui-api-lib2',
srcs = SRCS,
resources = glob(['src/main/**/*']),
deps = ['//gerrit-gwtui-common:client-lib2'],
exported_deps = ['//gerrit-gwtui-common:client-lib2'],
provided_deps = DEPS,
visibility = ['PUBLIC'],
)

View File

@ -6,7 +6,6 @@ GWT_COMPILER_ARGS = [
]
GWT_PLUGIN_DEPS = [
'//gerrit-gwtui-common:client',
'//gerrit-plugin-gwtui:gwtui-api-lib',
'//lib/gwt:user',
]