gerrit/lib/js/BUILD
Dmitrii Filippov d97c843ccf Cleanup unused bower components and rules
All unused bower components and rules are removed. Some rules
are not removed because they are used by plugins. We should keep them
until all core plugins get rid of bower components.

Change-Id: I6e6b5a3805fd68e7e438135c9b60e9d732cb8092
2020-02-12 15:42:46 +00:00

37 lines
959 B
Python

load("//tools/bzl:js.bzl", "bower_component", "js_component")
package(default_visibility = ["//visibility:public"])
js_component(
name = "highlightjs",
srcs = ["//lib/highlightjs:highlight.min.js"],
license = "//lib:LICENSE-highlightjs",
)
# TODO(dmfilippov) - rename to "highlightjs" after removing js_component
# license-map.py uses rule name to extract package name; everything after
# double underscore are removed.
filegroup(
name = "highlightjs__files",
srcs = ["//lib/highlightjs:highlight.min.js"],
data = ["//lib:LICENSE-highlightjs"],
)
js_component(
name = "ba-linkify",
srcs = ["//lib/ba-linkify:ba-linkify.js"],
license = "//lib:LICENSE-ba-linkify",
)
##TODO: remove after plugins migration to npm
bower_component(
name = "codemirror-minified",
license = "//lib:LICENSE-codemirror-minified",
)
bower_component(
name = "resemblejs",
license = "//lib:LICENSE-resemblejs",
)
#End of removal