Autogenerate BUILD files

This commit is contained in:
Jeff Grafton
2017-08-09 15:45:29 -07:00
parent cce84c3e19
commit cf55f9ed45
197 changed files with 2140 additions and 591 deletions

View File

@@ -11,26 +11,31 @@ go_library(
name = "go_default_library",
srcs = [
"addr.go",
"addr_linux.go",
"filter.go",
"filter_linux.go",
"link.go",
"link_linux.go",
"neigh.go",
"neigh_linux.go",
"netlink.go",
"netlink_unspecified.go",
"protinfo.go",
"protinfo_linux.go",
"qdisc.go",
"qdisc_linux.go",
"route.go",
"route_linux.go",
"xfrm.go",
"xfrm_policy.go",
"xfrm_policy_linux.go",
"xfrm_state.go",
"xfrm_state_linux.go",
],
] + select({
"@io_bazel_rules_go//go/platform:linux_amd64": [
"addr_linux.go",
"filter_linux.go",
"link_linux.go",
"neigh_linux.go",
"protinfo_linux.go",
"qdisc_linux.go",
"route_linux.go",
"xfrm_policy_linux.go",
"xfrm_state_linux.go",
],
"//conditions:default": [],
}),
tags = ["automanaged"],
deps = ["//vendor/github.com/vishvananda/netlink/nl:go_default_library"],
)

View File

@@ -9,16 +9,19 @@ load(
go_library(
name = "go_default_library",
srcs = [
"addr_linux.go",
"link_linux.go",
"nl_linux.go",
"route_linux.go",
"tc_linux.go",
"xfrm_linux.go",
"xfrm_policy_linux.go",
"xfrm_state_linux.go",
],
srcs = select({
"@io_bazel_rules_go//go/platform:linux_amd64": [
"addr_linux.go",
"link_linux.go",
"nl_linux.go",
"route_linux.go",
"tc_linux.go",
"xfrm_linux.go",
"xfrm_policy_linux.go",
"xfrm_state_linux.go",
],
"//conditions:default": [],
}),
tags = ["automanaged"],
)