load( "//ts:vendor.bzl", "copy_css_browser_selector", "copy_jquery", "copy_jquery_ui", "copy_protobufjs", "copy_bootstrap_js", ) copy_jquery(name = "jquery") copy_jquery_ui(name = "jquery-ui") copy_protobufjs(name = "protobufjs") copy_css_browser_selector(name = "css-browser-selector") copy_bootstrap_js(name = "bootstrap") files = [ "jquery", "jquery-ui", "protobufjs", "css-browser-selector", "bootstrap", ] 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__"], )