Factor out common modules from Reindex

As far as programs go, Reindex has about the most complicated
injection stack. This will be useful for future programs, for example
a Reindex analogue for notedb, so move them to the util package.

Change-Id: I7f980c0918b6893e4d421f0ba8a12e96bb01d20d
This commit is contained in:
Dave Borowitz
2014-07-25 10:27:12 -07:00
parent 3fe8a076ed
commit 5236477f04
5 changed files with 223 additions and 119 deletions

View File

@@ -61,8 +61,11 @@ java_library(
name = 'util',
srcs = glob([SRCS + 'util/*.java']),
deps = [
'//gerrit-cache-h2:cache-h2',
'//gerrit-common:client',
'//gerrit-common:server',
'//gerrit-extension-api:api',
'//gerrit-reviewdb:server',
'//gerrit-server:server',
'//gerrit-util-cli:cli',
'//lib:args4j',