Convert go_binary linkstamp to x_defs

This commit is contained in:
Jeff Grafton
2017-06-05 16:37:19 -07:00
parent 14e1889372
commit 64bd79fad7
14 changed files with 73 additions and 10 deletions

View File

@@ -7,6 +7,7 @@ load(
"go_binary",
"go_library",
)
load("//pkg/version:def.bzl", "version_x_defs")
go_binary(
name = "kube-scheduler",
@@ -17,8 +18,8 @@ go_binary(
"-static",
],
library = ":go_default_library",
linkstamp = "k8s.io/kubernetes/pkg/version",
tags = ["automanaged"],
x_defs = version_x_defs(),
)
go_library(