mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			48 lines
		
	
	
		
			832 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			832 B
		
	
	
	
		
			Python
		
	
	
	
	
	
package(default_visibility = ["//visibility:public"])
 | 
						|
 | 
						|
licenses(["notice"])
 | 
						|
 | 
						|
load(
 | 
						|
    "@io_bazel_rules_go//go:def.bzl",
 | 
						|
    "cgo_genrule",
 | 
						|
    "go_library",
 | 
						|
)
 | 
						|
 | 
						|
cgo_genrule(
 | 
						|
    name = "cgo_codegen",
 | 
						|
    srcs = ["sysconfig.go"],
 | 
						|
    clinkopts = [
 | 
						|
        "-lz",
 | 
						|
        "-lm",
 | 
						|
        "-lpthread",
 | 
						|
        "-ldl",
 | 
						|
    ],
 | 
						|
    tags = ["automanaged"],
 | 
						|
)
 | 
						|
 | 
						|
go_library(
 | 
						|
    name = "go_default_library",
 | 
						|
    srcs = [
 | 
						|
        "linux.go",
 | 
						|
        "proc.go",
 | 
						|
        "setns_linux.go",
 | 
						|
        "syscall_linux_64.go",
 | 
						|
        "xattrs_linux.go",
 | 
						|
    ],
 | 
						|
    library = ":cgo_codegen",
 | 
						|
    tags = ["automanaged"],
 | 
						|
)
 | 
						|
 | 
						|
filegroup(
 | 
						|
    name = "package-srcs",
 | 
						|
    srcs = glob(["**"]),
 | 
						|
    tags = ["automanaged"],
 | 
						|
    visibility = ["//visibility:private"],
 | 
						|
)
 | 
						|
 | 
						|
filegroup(
 | 
						|
    name = "all-srcs",
 | 
						|
    srcs = [":package-srcs"],
 | 
						|
    tags = ["automanaged"],
 | 
						|
)
 |