c379ca337c
Change-Id: I1f51abed8e014560730f8684a0db67c4818edff9
60 lines
1.3 KiB
Python
60 lines
1.3 KiB
Python
EXPORTED_DEPS = [
|
|
'//gerrit-common:client',
|
|
'//gerrit-gwtexpui:Clippy',
|
|
'//gerrit-gwtexpui:GlobalKey',
|
|
'//gerrit-gwtexpui:Progress',
|
|
'//gerrit-gwtexpui:SafeHtml',
|
|
'//gerrit-gwtexpui:UserAgent',
|
|
]
|
|
DEPS = ['//lib/gwt:user']
|
|
SRC = 'src/main/java/com/google/gerrit/'
|
|
|
|
gwt_module(
|
|
name = 'client',
|
|
srcs = glob([SRC + 'client/**/*.java']),
|
|
gwt_xml = SRC + 'GerritGwtUICommon.gwt.xml',
|
|
resources = glob(['src/main/**/*']),
|
|
exported_deps = EXPORTED_DEPS,
|
|
provided_deps = DEPS,
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'client-lib',
|
|
srcs = glob(['src/main/**/*.java']),
|
|
resources = glob(['src/main/**/*']),
|
|
exported_deps = EXPORTED_DEPS,
|
|
provided_deps = DEPS,
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'client-src-lib',
|
|
srcs = [],
|
|
resources = glob(['src/main/**/*']),
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'diffy_logo',
|
|
resources = glob(['src/main/resources/com/google/gerrit/client/diffy*.png']),
|
|
deps = [
|
|
'//lib:LICENSE-diffy',
|
|
'//lib:LICENSE-CC-BY3.0-unported',
|
|
],
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
java_test(
|
|
name = 'client_tests',
|
|
srcs = glob(['src/test/java/**/*.java']),
|
|
deps = [
|
|
':client',
|
|
'//lib:junit',
|
|
'//lib/gwt:user',
|
|
'//lib/jgit/org.eclipse.jgit:jgit',
|
|
],
|
|
vm_args = ['-Xmx512m'],
|
|
visibility = ['//tools/eclipse:classpath'],
|
|
)
|