Anki/qt/aqt/data/web/js/vendor/BUILD.bazel
2020-12-31 16:15:25 +01:00

37 lines
740 B
Text

load("//ts:jquery.bzl", "copy_jquery")
load("//ts:jquery-ui.bzl", "copy_jquery_ui")
load("//ts:protobufjs.bzl", "copy_protobufjs")
copy_jquery(
name = "jquery",
visibility = ["//visibility:public"],
)
copy_jquery_ui(
name = "jquery-ui",
visibility = ["//visibility:public"],
)
copy_protobufjs(
name = "protobufjs",
visibility = ["//visibility:public"],
)
files = [
"jquery",
"jquery-ui",
"protobufjs",
]
directories = [
"mathjax",
]
filegroup(
name = "vendor",
srcs = glob(["*.js"])
+ ["//qt/aqt/data/web/js/vendor:{}".format(file) for file in files]
+ ["//qt/aqt/data/web/js/vendor/{}".format(dir) for dir in directories],
visibility = ["//qt:__subpackages__"],
)