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:
David Ostrovsky
2014-02-06 22:36:13 +01:00
parent ac2086d183
commit 520f8a9e23
13 changed files with 94 additions and 134 deletions

30
gerrit-gwtui-common/BUCK Normal file
View 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'],
)