Update to gazelle 0.12.0 and run hack/update-bazel.sh
This commit is contained in:
39
vendor/github.com/opencontainers/runc/libcontainer/BUILD
generated
vendored
39
vendor/github.com/opencontainers/runc/libcontainer/BUILD
generated
vendored
@@ -3,34 +3,31 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"capabilities_linux.go",
|
||||
"console_linux.go",
|
||||
"container.go",
|
||||
"container_linux.go",
|
||||
"criu_opts_linux.go",
|
||||
"error.go",
|
||||
"factory.go",
|
||||
"factory_linux.go",
|
||||
"generic_error.go",
|
||||
"init_linux.go",
|
||||
"message_linux.go",
|
||||
"network_linux.go",
|
||||
"notify_linux.go",
|
||||
"process.go",
|
||||
"process_linux.go",
|
||||
"restored_process.go",
|
||||
"rootfs_linux.go",
|
||||
"setns_init_linux.go",
|
||||
"standard_init_linux.go",
|
||||
"state_linux.go",
|
||||
"stats.go",
|
||||
"stats_linux.go",
|
||||
"sync.go",
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"capabilities_linux.go",
|
||||
"console_linux.go",
|
||||
"container_linux.go",
|
||||
"criu_opts_linux.go",
|
||||
"factory_linux.go",
|
||||
"init_linux.go",
|
||||
"message_linux.go",
|
||||
"network_linux.go",
|
||||
"notify_linux.go",
|
||||
"process_linux.go",
|
||||
"restored_process.go",
|
||||
"rootfs_linux.go",
|
||||
"setns_init_linux.go",
|
||||
"standard_init_linux.go",
|
||||
"state_linux.go",
|
||||
"stats_linux.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
38
vendor/github.com/opencontainers/runc/libcontainer/apparmor/BUILD
generated
vendored
38
vendor/github.com/opencontainers/runc/libcontainer/apparmor/BUILD
generated
vendored
@@ -2,42 +2,8 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:darwin": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:dragonfly": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:freebsd": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:nacl": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:netbsd": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:openbsd": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:plan9": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:solaris": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:windows": [
|
||||
"apparmor_disabled.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
srcs = ["apparmor_disabled.go"],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/apparmor",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/apparmor",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
45
vendor/github.com/opencontainers/runc/libcontainer/cgroups/BUILD
generated
vendored
45
vendor/github.com/opencontainers/runc/libcontainer/cgroups/BUILD
generated
vendored
@@ -2,44 +2,13 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:darwin": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:dragonfly": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:freebsd": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"cgroups.go",
|
||||
"stats.go",
|
||||
"utils.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:nacl": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:netbsd": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:openbsd": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:plan9": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:solaris": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:windows": [
|
||||
"cgroups_unsupported.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
srcs = [
|
||||
"cgroups.go",
|
||||
"cgroups_unsupported.go",
|
||||
"stats.go",
|
||||
"utils.go",
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/cgroups",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/cgroups",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = select({
|
||||
|
69
vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs/BUILD
generated
vendored
69
vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs/BUILD
generated
vendored
@@ -2,56 +2,25 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:darwin": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:dragonfly": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:freebsd": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"apply_raw.go",
|
||||
"blkio.go",
|
||||
"cpu.go",
|
||||
"cpuacct.go",
|
||||
"cpuset.go",
|
||||
"devices.go",
|
||||
"freezer.go",
|
||||
"hugetlb.go",
|
||||
"memory.go",
|
||||
"name.go",
|
||||
"net_cls.go",
|
||||
"net_prio.go",
|
||||
"perf_event.go",
|
||||
"pids.go",
|
||||
"utils.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:nacl": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:netbsd": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:openbsd": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:plan9": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:solaris": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:windows": [
|
||||
"fs_unsupported.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
srcs = [
|
||||
"apply_raw.go",
|
||||
"blkio.go",
|
||||
"cpu.go",
|
||||
"cpuacct.go",
|
||||
"cpuset.go",
|
||||
"devices.go",
|
||||
"freezer.go",
|
||||
"fs_unsupported.go",
|
||||
"hugetlb.go",
|
||||
"memory.go",
|
||||
"name.go",
|
||||
"net_cls.go",
|
||||
"net_prio.go",
|
||||
"perf_event.go",
|
||||
"pids.go",
|
||||
"utils.go",
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/cgroups/fs",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = select({
|
||||
|
41
vendor/github.com/opencontainers/runc/libcontainer/cgroups/systemd/BUILD
generated
vendored
41
vendor/github.com/opencontainers/runc/libcontainer/cgroups/systemd/BUILD
generated
vendored
@@ -2,42 +2,11 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:darwin": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:dragonfly": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:freebsd": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"apply_systemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:nacl": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:netbsd": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:openbsd": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:plan9": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:solaris": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:windows": [
|
||||
"apply_nosystemd.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
srcs = [
|
||||
"apply_nosystemd.go",
|
||||
"apply_systemd.go",
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/cgroups/systemd",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/cgroups/systemd",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = select({
|
||||
|
60
vendor/github.com/opencontainers/runc/libcontainer/configs/BUILD
generated
vendored
60
vendor/github.com/opencontainers/runc/libcontainer/configs/BUILD
generated
vendored
@@ -4,64 +4,24 @@ go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"blkio_device.go",
|
||||
"cgroup_linux.go",
|
||||
"cgroup_windows.go",
|
||||
"config.go",
|
||||
"config_linux.go",
|
||||
"device.go",
|
||||
"device_defaults.go",
|
||||
"hugepage_limit.go",
|
||||
"intelrdt.go",
|
||||
"interface_priority_map.go",
|
||||
"mount.go",
|
||||
"namespaces.go",
|
||||
"namespaces_linux.go",
|
||||
"namespaces_syscall.go",
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
"network.go",
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:darwin": [
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:dragonfly": [
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:freebsd": [
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"cgroup_linux.go",
|
||||
"config_linux.go",
|
||||
"device_defaults.go",
|
||||
"namespaces_linux.go",
|
||||
"namespaces_syscall.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:nacl": [
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:netbsd": [
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:openbsd": [
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:plan9": [
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:solaris": [
|
||||
"namespaces_syscall_unsupported.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:windows": [
|
||||
"cgroup_windows.go",
|
||||
"namespaces_unsupported.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/configs",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/configs",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
1
vendor/github.com/opencontainers/runc/libcontainer/configs/validate/BUILD
generated
vendored
1
vendor/github.com/opencontainers/runc/libcontainer/configs/validate/BUILD
generated
vendored
@@ -6,6 +6,7 @@ go_library(
|
||||
"rootless.go",
|
||||
"validator.go",
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/configs/validate",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/configs/validate",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
1
vendor/github.com/opencontainers/runc/libcontainer/criurpc/BUILD
generated
vendored
1
vendor/github.com/opencontainers/runc/libcontainer/criurpc/BUILD
generated
vendored
@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = ["criurpc.pb.go"],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/criurpc",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/criurpc",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"],
|
||||
|
12
vendor/github.com/opencontainers/runc/libcontainer/intelrdt/BUILD
generated
vendored
12
vendor/github.com/opencontainers/runc/libcontainer/intelrdt/BUILD
generated
vendored
@@ -2,13 +2,11 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = select({
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"intelrdt.go",
|
||||
"stats.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
srcs = [
|
||||
"intelrdt.go",
|
||||
"stats.go",
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/intelrdt",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/intelrdt",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = select({
|
||||
|
8
vendor/github.com/opencontainers/runc/libcontainer/keys/BUILD
generated
vendored
8
vendor/github.com/opencontainers/runc/libcontainer/keys/BUILD
generated
vendored
@@ -2,12 +2,8 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = select({
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"keyctl.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
srcs = ["keyctl.go"],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/keys",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/keys",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = select({
|
||||
|
9
vendor/github.com/opencontainers/runc/libcontainer/mount/BUILD
generated
vendored
9
vendor/github.com/opencontainers/runc/libcontainer/mount/BUILD
generated
vendored
@@ -4,13 +4,10 @@ go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"mount.go",
|
||||
"mount_linux.go",
|
||||
"mountinfo.go",
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"mount_linux.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/mount",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/mount",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
39
vendor/github.com/opencontainers/runc/libcontainer/seccomp/BUILD
generated
vendored
39
vendor/github.com/opencontainers/runc/libcontainer/seccomp/BUILD
generated
vendored
@@ -4,42 +4,9 @@ go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"config.go",
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:darwin": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:dragonfly": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:freebsd": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:nacl": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:netbsd": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:openbsd": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:plan9": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:solaris": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:windows": [
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
"seccomp_unsupported.go",
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/seccomp",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/seccomp",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
1
vendor/github.com/opencontainers/runc/libcontainer/stacktrace/BUILD
generated
vendored
1
vendor/github.com/opencontainers/runc/libcontainer/stacktrace/BUILD
generated
vendored
@@ -7,6 +7,7 @@ go_library(
|
||||
"frame.go",
|
||||
"stacktrace.go",
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/stacktrace",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/stacktrace",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
93
vendor/github.com/opencontainers/runc/libcontainer/system/BUILD
generated
vendored
93
vendor/github.com/opencontainers/runc/libcontainer/system/BUILD
generated
vendored
@@ -3,92 +3,17 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"linux.go",
|
||||
"proc.go",
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:darwin": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:dragonfly": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:freebsd": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"linux.go",
|
||||
"sysconfig.go",
|
||||
"sysconfig_notcgo.go",
|
||||
"xattrs_linux.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:nacl": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:netbsd": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:openbsd": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:plan9": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:solaris": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:windows": [
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}) + select({
|
||||
"@io_bazel_rules_go//go/platform:linux_386": [
|
||||
"syscall_linux_32.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_amd64": [
|
||||
"syscall_linux_64.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_arm": [
|
||||
"syscall_linux_32.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_arm64": [
|
||||
"syscall_linux_64.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_mips": [
|
||||
"syscall_linux_64.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_mips64": [
|
||||
"syscall_linux_64.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_mips64le": [
|
||||
"syscall_linux_64.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_mipsle": [
|
||||
"syscall_linux_64.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_ppc64": [
|
||||
"syscall_linux_64.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_ppc64le": [
|
||||
"syscall_linux_64.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_s390x": [
|
||||
"syscall_linux_64.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
"syscall_linux_32.go",
|
||||
"syscall_linux_64.go",
|
||||
"sysconfig.go",
|
||||
"sysconfig_notcgo.go",
|
||||
"unsupported.go",
|
||||
"xattrs_linux.go",
|
||||
],
|
||||
cgo = True,
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/system",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/system",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = select({
|
||||
|
31
vendor/github.com/opencontainers/runc/libcontainer/user/BUILD
generated
vendored
31
vendor/github.com/opencontainers/runc/libcontainer/user/BUILD
generated
vendored
@@ -4,34 +4,11 @@ go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"lookup.go",
|
||||
"lookup_unix.go",
|
||||
"lookup_windows.go",
|
||||
"user.go",
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:darwin": [
|
||||
"lookup_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:dragonfly": [
|
||||
"lookup_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:freebsd": [
|
||||
"lookup_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"lookup_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:netbsd": [
|
||||
"lookup_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:openbsd": [
|
||||
"lookup_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:solaris": [
|
||||
"lookup_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:windows": [
|
||||
"lookup_windows.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/user",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/user",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = select({
|
||||
|
38
vendor/github.com/opencontainers/runc/libcontainer/utils/BUILD
generated
vendored
38
vendor/github.com/opencontainers/runc/libcontainer/utils/BUILD
generated
vendored
@@ -3,41 +3,11 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"cmsg.go",
|
||||
"utils.go",
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"utils_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:darwin": [
|
||||
"utils_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:dragonfly": [
|
||||
"utils_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:freebsd": [
|
||||
"utils_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"cmsg.go",
|
||||
"utils_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:nacl": [
|
||||
"utils_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:netbsd": [
|
||||
"utils_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:openbsd": [
|
||||
"utils_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:plan9": [
|
||||
"utils_unix.go",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:solaris": [
|
||||
"utils_unix.go",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
"utils_unix.go",
|
||||
],
|
||||
importmap = "vendor/github.com/opencontainers/runc/libcontainer/utils",
|
||||
importpath = "github.com/opencontainers/runc/libcontainer/utils",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
Reference in New Issue
Block a user