From 44933877154811001ffb6dbef28f260d0e09bac8 Mon Sep 17 00:00:00 2001 From: David Ostrovsky <david@ostrovsky.org> Date: Thu, 9 Jan 2020 08:00:48 +0100 Subject: [PATCH] Bazel: Fix issues flagged by buildifier Use the -lint=fix option to automatically format files. buildifier version: 0.29.0 buildifier scm revision: 19db42aa7a206a52b67bc66477c069ca83d092f4 Change-Id: I50a31fe96d3acd49b2674df8ce5a8c9c3ec455e1 --- BUILD | 4 ++-- polygerrit-ui/app/rules.bzl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILD b/BUILD index 907441efdd..10162beddd 100644 --- a/BUILD +++ b/BUILD @@ -1,8 +1,8 @@ -package(default_visibility = ["//visibility:public"]) - load("//tools/bzl:genrule2.bzl", "genrule2") load("//tools/bzl:pkg_war.bzl", "pkg_war") +package(default_visibility = ["//visibility:public"]) + config_setting( name = "java9", values = { diff --git a/polygerrit-ui/app/rules.bzl b/polygerrit-ui/app/rules.bzl index 075e34a39d..98387a02c8 100644 --- a/polygerrit-ui/app/rules.bzl +++ b/polygerrit-ui/app/rules.bzl @@ -104,7 +104,7 @@ def polygerrit_bundle(name, srcs, outs, app): "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", + "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/$@ *",