| include_defs('//bucklets/gerrit_plugin.bucklet') | |
| gerrit_plugin( | |
| name = 'labelui', | |
| srcs = glob(['src/main/java/**/*.java']), | |
| resources = glob(['src/main/**/*']), | |
| gwt_module = 'com.googlesource.gerrit.plugins.labelui.LabelUI', | |
| manifest_entries = [ | |
| 'Gerrit-PluginName: labelui', | |
| 'Gerrit-ApiType: plugin', | |
| 'Gerrit-ApiVersion: 2.12-SNAPSHOT', | |
| 'Gerrit-Module: com.googlesource.gerrit.plugins.labelui.Module', | |
| 'Gerrit-HttpModule: com.googlesource.gerrit.plugins.labelui.HttpModule', | |
| ], | |
| ) | |
| # this is required for bucklets/tools/eclipse/project.py to work | |
| java_library( | |
| name = 'classpath', | |
| deps = [':labelui__plugin'], | |
| ) | |