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

@@ -23,13 +23,22 @@ cgo_genrule(
go_library(
name = "go_default_library",
srcs = [
"linux.go",
"proc.go",
"setns_linux.go",
"syscall_linux_64.go",
"xattrs_linux.go",
],
library = ":cgo_codegen",
"unsupported.go",
] + select({
"@io_bazel_rules_go//go/platform:linux_amd64": [
"linux.go",
"setns_linux.go",
"syscall_linux_64.go",
"sysconfig.go",
"xattrs_linux.go",
],
"@io_bazel_rules_go//go/platform:windows_amd64": [
"sysconfig_notcgo.go",
],
"//conditions:default": [],
}),
cgo = True,
tags = ["automanaged"],
)