Introduce Gerrit gwtui common project
The new project hosts code that is reused between Gerrit core and GWT based plugins. Change-Id: I1a6e4352f681266c2ce664881a64d35bd2639299
This commit is contained in:
30
gerrit-gwtui-common/BUCK
Normal file
30
gerrit-gwtui-common/BUCK
Normal file
@@ -0,0 +1,30 @@
|
||||
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'],
|
||||
)
|
||||
Reference in New Issue
Block a user