2d3afab63f
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>
22 lines
440 B
Python
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'],
|
|
)
|