gerrit/gerrit-reviewdb/BUCK
Dave Borowitz c3ffacf5c3 Remove LabelId#equals() and hashCode()
Somehow the equals implementation got broken in Ibb162a6a. There
shouldn't have even been an opportunity for a copy-paste error, since
we should have just used the implementations from StringKey.

Add a tiny test to verify key behavior.

Change-Id: Idf91cc7142d160f6abeb5b1365490b73728fde0e
2015-01-27 19:04:12 -08:00

40 lines
831 B
Python

SRC = 'src/main/java/com/google/gerrit/reviewdb/'
TESTS = 'src/test/java/com/google/gerrit/reviewdb/'
gwt_module(
name = 'client',
srcs = glob([SRC + 'client/**/*.java']),
gwt_xml = SRC + 'ReviewDB.gwt.xml',
deps = [
'//gerrit-extension-api:client',
'//lib:gwtorm',
'//lib:gwtorm_src'
],
visibility = ['PUBLIC'],
)
java_library(
name = 'server',
srcs = glob([SRC + '**/*.java']),
resources = glob(['src/main/resources/**/*']),
deps = [
'//gerrit-extension-api:api',
'//lib:gwtorm',
],
visibility = ['PUBLIC'],
)
java_test(
name = 'client_tests',
srcs = glob([TESTS + 'client/**/*.java']),
deps = [
':client',
'//lib:guava',
'//lib:gwtorm',
'//lib:junit',
'//lib:truth',
],
source_under_test = [':client'],
visibility = ['//tools/eclipse:classpath'],
)