Files
gerrit/gerrit-pgm/BUCK
Shawn Pearce bd5629718f Update buck build for strict dependencies
java_library() targets must now list every dependency they need for
an import. This permits buck to run more targets in parallel as it
has a better view of the dependency graph, and opens the door for
buck to make even more optimizations in the future.

Change-Id: I132bf47a725e44ba5950ba6ca76bfa72c3876906
2013-05-16 01:14:27 +00:00

55 lines
1.3 KiB
Python

java_library2(
name = 'pgm',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
deps = [
'//gerrit-cache-h2:cache-h2',
'//gerrit-common:server',
'//gerrit-extension-api:api',
'//gerrit-httpd:httpd',
'//gerrit-openid:openid',
'//gerrit-server:common_rules',
'//gerrit-reviewdb:server',
'//gerrit-server:server',
'//gerrit-sshd:sshd',
'//gerrit-util-cli:cli',
'//lib:args4j',
'//lib:guava',
'//lib:gwtorm',
'//lib:gwtjsonrpc',
'//lib:h2',
'//lib:jsr305',
'//lib:servlet-api-3_0',
'//lib/commons:dbcp',
'//lib/guice:guice',
'//lib/guice:guice-assistedinject',
'//lib/guice:guice-servlet',
'//lib/jetty:server',
'//lib/jetty:servlet',
'//lib/jgit:jgit',
'//lib/log:api',
'//lib/log:log4j',
'//lib/mina:sshd',
'//lib/prolog:prolog-cafe',
],
compile_deps = ['//gerrit-launcher:launcher'],
visibility = [
'//:',
'//gerrit-acceptance-tests:',
'//tools/eclipse:classpath',
'//Documentation:licenses.txt',
],
)
java_test(
name = 'pgm_tests',
srcs = glob(['src/test/java/**/*.java']),
deps = [
':pgm',
'//lib:junit',
'//lib:easymock',
'//lib/jgit:junit',
],
source_under_test = [':pgm'],
)