Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: Fix loading font-roboto-local in the ui Change-Id: Iedabf7dea6502a3a77183d489f5d17cb00a7215e
diff --git a/polygerrit-ui/app/rules.bzl b/polygerrit-ui/app/rules.bzl index 3012f7f..ca8c402 100644 --- a/polygerrit-ui/app/rules.bzl +++ b/polygerrit-ui/app/rules.bzl
@@ -90,6 +90,8 @@ # we extract from the zip, but depend on the component for license checking. "@webcomponentsjs//:zipfile", "//lib/js:webcomponentsjs", + "@font-roboto-local//:zipfile", + "//lib/js:font-roboto-local", ], outs = outs, cmd = " && ".join([ @@ -101,6 +103,7 @@ "for f in $(locations " + name + "_theme_sources); do cp $$f $$TMP/polygerrit_ui/styles/themes; done", "for f in $(locations //lib/js:highlightjs_files); do cp $$f $$TMP/polygerrit_ui/bower_components/highlightjs/ ; done", "unzip -qd $$TMP/polygerrit_ui/bower_components $(location @webcomponentsjs//:zipfile) webcomponentsjs/webcomponents-lite.js", + "unzip -qd $$TMP/polygerrit_ui/bower_components $(location @font-roboto-local//:zipfile) font-roboto-local/fonts/\*/\*.ttf", "cd $$TMP", "find . -exec touch -t 198001010000 '{}' ';'", "zip -qr $$ROOT/$@ *",