| load("//tools/bzl:genrule2.bzl", "genrule2") |
| load("//tools/bzl:js.bzl", "polygerrit_plugin") |
| load("//tools/bzl:plugin.bzl", "gerrit_plugin") |
| name = "codemirror-editor", |
| srcs = ["java/com/googlesource/gerrit/plugins/codemirror/CodemirrorModule.java"], |
| "Gerrit-PluginName: codemirror-editor", |
| "Gerrit-Module: com.googlesource.gerrit.plugins.codemirror.CodemirrorModule", |
| "Implementation-Title: Codemirror Editor plugin", |
| resource_jars = [":cm-static"], |
| outs = ["cm-static.jar"], |
| "cp -rp $(locations :cm) $$TMP/static", |
| "zip -Drq $$ROOT/$@ -g .", |
| srcs = glob(["**/*.html", "**/*.js"]), |
| deps = ["//lib/js:codemirror-minified"], |