gerrit/gerrit-gwtui-common/BUCK
David Ostrovsky 520f8a9e23 Introduce Gerrit gwtui common project
The new project hosts code that is reused between Gerrit core and GWT
based plugins.

Change-Id: I1a6e4352f681266c2ce664881a64d35bd2639299
2014-02-17 22:54:00 +01:00

31 lines
638 B
Python

SRC = 'src/main/java/com/google/gerrit/'
gwt_module(
name = 'client',
srcs = glob([SRC + 'client/**/*.java']),
gwtxml = SRC + 'GerritGwtUICommon.gwt.xml',
compile_deps = ['//lib/gwt:user'],
visibility = ['PUBLIC'],
)
java_library(
name = 'client-lib',
exported_deps = [':client-lib2'],
visibility = ['PUBLIC'],
)
java_library2(
name = 'client-lib2',
srcs = glob(['src/main/**/*.java']),
resources = glob(['src/main/**/*']),
compile_deps = ['//lib/gwt:user'],
visibility = ['PUBLIC'],
)
java_library(
name = 'client-src-lib',
srcs = [],
resources = glob(['src/main/**/*']),
visibility = ['PUBLIC'],
)