520f8a9e23
The new project hosts code that is reused between Gerrit core and GWT based plugins. Change-Id: I1a6e4352f681266c2ce664881a64d35bd2639299
31 lines
638 B
Python
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'],
|
|
)
|