java_library( | |
name = 'http', | |
srcs = glob(['src/main/java/**/*.java']), | |
provided_deps = ['//lib:servlet-api-3_1'], | |
visibility = ['PUBLIC'], | |
) | |
java_test( | |
name = 'http_tests', | |
srcs = glob(['src/test/java/**/*.java']), | |
deps = [ | |
':http', | |
'//lib:junit', | |
'//lib:servlet-api-3_1', | |
'//lib/easymock:easymock', | |
], | |
source_under_test = [':http'], | |
# TODO(sop) Remove after Buck supports Eclipse | |
visibility = ['//tools/eclipse:classpath'], | |
) |