gerrit/gerrit-extension-api/BUCK
Dariusz Luksza 2d3afab63f Create enum containing all Gerrit top menu items
Instead of relying on string names for Gerrit's top menu items,
provide an enumeration that contains definitions of all top items.

It also adds GWT Extensions module to fulfill compilation dependency
for gwtui.

Change-Id: I7a109885b9a65b132e7119851cd76be527f75364
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
2013-10-16 11:19:29 -07:00

22 lines
440 B
Python

SRC = 'src/main/java/com/google/gerrit/extensions/'
gwt_module(
name = 'client',
srcs = glob([SRC + 'webui/GerritTopMenu.java']),
gwtxml = SRC + 'Extensions.gwt.xml',
visibility = ['PUBLIC'],
)
java_library2(
name = 'api',
srcs = glob([SRC + '**/*.java']),
compile_deps = ['//lib/guice:guice'],
visibility = ['PUBLIC'],
)
java_sources(
name = 'api-src',
srcs = glob([SRC + '**/*.java']),
visibility = ['PUBLIC'],
)