gerrit/gerrit-httpd/BUCK
Shawn Pearce 82e66ee4e5 Move Eclipse related stuff into tools/eclipse
Try to reduce the size of the top-level BUCK file by moving
anything that has to do with Eclipse project generation and
classpath management into tools/eclipse.

Change-Id: Id779eaff4fe732908b28a8e3441004e364b59e21
2013-05-10 12:42:54 -07:00

33 lines
766 B
Python

java_library2(
name = 'httpd',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
deps = [
'//gerrit-gwtexpui:linker_server',
'//gerrit-gwtexpui:server',
'//gerrit-prettify:server',
'//gerrit-server:server',
'//lib:gwtjsonrpc',
'//lib:jsr305',
'//lib:mime-util',
'//lib:servlet-api-3_0',
'//lib/jgit:jgit-servlet',
],
visibility = ['PUBLIC'],
)
java_test(
name = 'httpd_tests',
srcs = glob(['src/test/java/**/*.java']),
deps = [
':httpd',
'//lib:easymock',
'//lib:junit',
'//lib:servlet-api-3_0',
'//lib/jgit:junit',
],
source_under_test = [':httpd'],
# TODO(sop) Remove after Buck supports Eclipse
visibility = ['//tools/eclipse:classpath'],
)