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'], )