38 lines
841 B
Python
38 lines
841 B
Python
package(
|
|
default_visibility=["//visibility:public"]
|
|
)
|
|
|
|
load("//tools/bzl:js.bzl", "bower_component_bundle")
|
|
load('//tools/bzl:genrule2.bzl', 'genrule2')
|
|
|
|
bower_component_bundle(
|
|
name = "polygerrit_components",
|
|
deps = [
|
|
'//lib/js:es6-promise',
|
|
'//lib/js:fetch',
|
|
'//lib/js:highlightjs',
|
|
'//lib/js:iron-autogrow-textarea',
|
|
'//lib/js:iron-dropdown',
|
|
'//lib/js:iron-input',
|
|
'//lib/js:iron-overlay-behavior',
|
|
'//lib/js:iron-selector',
|
|
'//lib/js:moment',
|
|
'//lib/js:page',
|
|
'//lib/js:polymer',
|
|
'//lib/js:promise-polyfill',
|
|
])
|
|
|
|
|
|
genrule2(
|
|
name = 'fonts',
|
|
cmd = ' && '.join([
|
|
'cd $$TMP; for file in $(SRCS); do unzip -q $$ROOT/$$file; done',
|
|
'zip -q $$ROOT/$@ *',
|
|
]),
|
|
srcs = [
|
|
'//lib/fonts:sourcecodepro.zip',
|
|
],
|
|
out = 'fonts.zip',
|
|
visibility = ['//visibility:public'],
|
|
)
|