Skip to content

Commit

Permalink
Use buildozer to delete licenses() rules except under third_party/
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Aug 11, 2017
1 parent 33276f0 commit a7f49c9
Show file tree
Hide file tree
Showing 2,172 changed files with 0 additions and 4,344 deletions.
2 changes: 0 additions & 2 deletions api/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

filegroup(
name = "package-srcs",
srcs = glob(["**"]),
Expand Down
2 changes: 0 additions & 2 deletions build/root/BUILD.root
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load("@io_bazel_rules_go//go:def.bzl", "go_prefix")
load("@io_kubernetes_build//defs:build.bzl", "gcs_upload")

Expand Down
2 changes: 0 additions & 2 deletions cluster/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package(default_visibility = ["//visibility:public"])

load("@io_bazel//tools/build_defs/pkg:pkg.bzl", "pkg_tar")

licenses(["notice"])

filegroup(
name = "package-srcs",
srcs = glob(["**"]),
Expand Down
2 changes: 0 additions & 2 deletions cluster/addons/fluentd-elasticsearch/es-image/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cluster/gce/gci/mounter/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cluster/images/etcd-version-monitor/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cluster/images/etcd/attachlease/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cluster/images/etcd/rollback/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

filegroup(
name = "package-srcs",
srcs = glob(["**"]),
Expand Down
2 changes: 0 additions & 2 deletions cmd/clicheck/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/cloud-controller-manager/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/cloud-controller-manager/app/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/cloud-controller-manager/app/options/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/gendocs/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/genkubedocs/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/genman/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/genslateyaml/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/genswaggertypedocs/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/genutils/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/genyaml/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/gke-certificates-controller/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/gke-certificates-controller/app/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/hyperkube/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/importverifier/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kube-apiserver/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kube-apiserver/app/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kube-apiserver/app/options/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kube-apiserver/app/testing/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kube-controller-manager/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kube-controller-manager/app/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kube-controller-manager/app/options/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kube-proxy/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kube-proxy/app/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/apis/kubeadm/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/apis/kubeadm/fuzzer/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/apis/kubeadm/install/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/apis/kubeadm/v1alpha1/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/apis/kubeadm/validation/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/cmd/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/cmd/features/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/cmd/phases/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/constants/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/discovery/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/discovery/file/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/discovery/https/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/discovery/token/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
2 changes: 0 additions & 2 deletions cmd/kubeadm/app/images/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
Expand Down
Loading

0 comments on commit a7f49c9

Please sign in to comment.