-
-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Declare org_golang_x_sys in go_rules_dependencies (#1649)
The newest version of gRPC depends on @org_golang_x_sys. Since we provide other gRPC dependencies, we should declare this one as well. Fixes #1648
- Loading branch information
Showing
12 changed files
with
510 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | ||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = [ | ||
"cpu.go", | ||
"cpu_arm.go", | ||
"cpu_arm64.go", | ||
"cpu_gc_x86.go", | ||
"cpu_mips64x.go", | ||
"cpu_mipsx.go", | ||
"cpu_ppc64x.go", | ||
"cpu_s390x.go", | ||
"cpu_x86.go", | ||
"cpu_x86.s", | ||
], | ||
importpath = "golang.org/x/sys/cpu", | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
go_test( | ||
name = "go_default_test", | ||
srcs = ["cpu_test.go"], | ||
embed = [":go_default_library"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | ||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = [ | ||
"asm.s", | ||
"asm_plan9_386.s", | ||
"asm_plan9_amd64.s", | ||
"asm_plan9_arm.s", | ||
"const_plan9.go", | ||
"dir_plan9.go", | ||
"env_plan9.go", | ||
"errors_plan9.go", | ||
"pwd_go15_plan9.go", | ||
"pwd_plan9.go", | ||
"race.go", | ||
"race0.go", | ||
"str.go", | ||
"syscall.go", | ||
"syscall_plan9.go", | ||
"zsyscall_plan9_386.go", | ||
"zsyscall_plan9_amd64.go", | ||
"zsyscall_plan9_arm.go", | ||
"zsysnum_plan9.go", | ||
], | ||
importpath = "golang.org/x/sys/plan9", | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
go_test( | ||
name = "go_default_test", | ||
srcs = ["syscall_test.go"], | ||
embed = [":go_default_library"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,233 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | ||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = [ | ||
"affinity_linux.go", | ||
"aliases.go", | ||
"asm_darwin_386.s", | ||
"asm_darwin_amd64.s", | ||
"asm_darwin_arm.s", | ||
"asm_darwin_arm64.s", | ||
"asm_dragonfly_amd64.s", | ||
"asm_freebsd_386.s", | ||
"asm_freebsd_amd64.s", | ||
"asm_freebsd_arm.s", | ||
"asm_linux_386.s", | ||
"asm_linux_amd64.s", | ||
"asm_linux_arm.s", | ||
"asm_linux_arm64.s", | ||
"asm_linux_mips64x.s", | ||
"asm_linux_mipsx.s", | ||
"asm_linux_ppc64x.s", | ||
"asm_linux_s390x.s", | ||
"asm_netbsd_386.s", | ||
"asm_netbsd_amd64.s", | ||
"asm_netbsd_arm.s", | ||
"asm_openbsd_386.s", | ||
"asm_openbsd_amd64.s", | ||
"asm_openbsd_arm.s", | ||
"asm_solaris_amd64.s", | ||
"bluetooth_linux.go", | ||
"cap_freebsd.go", | ||
"constants.go", | ||
"dev_darwin.go", | ||
"dev_dragonfly.go", | ||
"dev_freebsd.go", | ||
"dev_linux.go", | ||
"dev_netbsd.go", | ||
"dev_openbsd.go", | ||
"dirent.go", | ||
"endian_big.go", | ||
"endian_little.go", | ||
"env_unix.go", | ||
"errors_freebsd_386.go", | ||
"errors_freebsd_amd64.go", | ||
"errors_freebsd_arm.go", | ||
"fcntl.go", | ||
"fcntl_linux_32bit.go", | ||
"ioctl.go", | ||
"openbsd_pledge.go", | ||
"pagesize_unix.go", | ||
"race.go", | ||
"race0.go", | ||
"sockcmsg_linux.go", | ||
"sockcmsg_unix.go", | ||
"str.go", | ||
"syscall.go", | ||
"syscall_bsd.go", | ||
"syscall_darwin.go", | ||
"syscall_darwin_386.go", | ||
"syscall_darwin_amd64.go", | ||
"syscall_darwin_arm.go", | ||
"syscall_darwin_arm64.go", | ||
"syscall_dragonfly.go", | ||
"syscall_dragonfly_amd64.go", | ||
"syscall_freebsd.go", | ||
"syscall_freebsd_386.go", | ||
"syscall_freebsd_amd64.go", | ||
"syscall_freebsd_arm.go", | ||
"syscall_linux.go", | ||
"syscall_linux_386.go", | ||
"syscall_linux_amd64.go", | ||
"syscall_linux_amd64_gc.go", | ||
"syscall_linux_arm.go", | ||
"syscall_linux_arm64.go", | ||
"syscall_linux_gc.go", | ||
"syscall_linux_gc_386.go", | ||
"syscall_linux_mips64x.go", | ||
"syscall_linux_mipsx.go", | ||
"syscall_linux_ppc64x.go", | ||
"syscall_linux_s390x.go", | ||
"syscall_netbsd.go", | ||
"syscall_netbsd_386.go", | ||
"syscall_netbsd_amd64.go", | ||
"syscall_netbsd_arm.go", | ||
"syscall_openbsd.go", | ||
"syscall_openbsd_386.go", | ||
"syscall_openbsd_amd64.go", | ||
"syscall_openbsd_arm.go", | ||
"syscall_solaris.go", | ||
"syscall_solaris_amd64.go", | ||
"syscall_unix.go", | ||
"syscall_unix_gc.go", | ||
"timestruct.go", | ||
"xattr_bsd.go", | ||
"zerrors_darwin_386.go", | ||
"zerrors_darwin_amd64.go", | ||
"zerrors_darwin_arm.go", | ||
"zerrors_darwin_arm64.go", | ||
"zerrors_dragonfly_amd64.go", | ||
"zerrors_freebsd_386.go", | ||
"zerrors_freebsd_amd64.go", | ||
"zerrors_freebsd_arm.go", | ||
"zerrors_linux_386.go", | ||
"zerrors_linux_amd64.go", | ||
"zerrors_linux_arm.go", | ||
"zerrors_linux_arm64.go", | ||
"zerrors_linux_mips.go", | ||
"zerrors_linux_mips64.go", | ||
"zerrors_linux_mips64le.go", | ||
"zerrors_linux_mipsle.go", | ||
"zerrors_linux_ppc64.go", | ||
"zerrors_linux_ppc64le.go", | ||
"zerrors_linux_s390x.go", | ||
"zerrors_netbsd_386.go", | ||
"zerrors_netbsd_amd64.go", | ||
"zerrors_netbsd_arm.go", | ||
"zerrors_openbsd_386.go", | ||
"zerrors_openbsd_amd64.go", | ||
"zerrors_openbsd_arm.go", | ||
"zerrors_solaris_amd64.go", | ||
"zptrace386_linux.go", | ||
"zptracearm_linux.go", | ||
"zptracemips_linux.go", | ||
"zptracemipsle_linux.go", | ||
"zsyscall_darwin_386.go", | ||
"zsyscall_darwin_amd64.go", | ||
"zsyscall_darwin_arm.go", | ||
"zsyscall_darwin_arm64.go", | ||
"zsyscall_dragonfly_amd64.go", | ||
"zsyscall_freebsd_386.go", | ||
"zsyscall_freebsd_amd64.go", | ||
"zsyscall_freebsd_arm.go", | ||
"zsyscall_linux_386.go", | ||
"zsyscall_linux_amd64.go", | ||
"zsyscall_linux_arm.go", | ||
"zsyscall_linux_arm64.go", | ||
"zsyscall_linux_mips.go", | ||
"zsyscall_linux_mips64.go", | ||
"zsyscall_linux_mips64le.go", | ||
"zsyscall_linux_mipsle.go", | ||
"zsyscall_linux_ppc64.go", | ||
"zsyscall_linux_ppc64le.go", | ||
"zsyscall_linux_s390x.go", | ||
"zsyscall_netbsd_386.go", | ||
"zsyscall_netbsd_amd64.go", | ||
"zsyscall_netbsd_arm.go", | ||
"zsyscall_openbsd_386.go", | ||
"zsyscall_openbsd_amd64.go", | ||
"zsyscall_openbsd_arm.go", | ||
"zsyscall_solaris_amd64.go", | ||
"zsysctl_openbsd_386.go", | ||
"zsysctl_openbsd_amd64.go", | ||
"zsysctl_openbsd_arm.go", | ||
"zsysnum_darwin_386.go", | ||
"zsysnum_darwin_amd64.go", | ||
"zsysnum_darwin_arm.go", | ||
"zsysnum_darwin_arm64.go", | ||
"zsysnum_dragonfly_amd64.go", | ||
"zsysnum_freebsd_386.go", | ||
"zsysnum_freebsd_amd64.go", | ||
"zsysnum_freebsd_arm.go", | ||
"zsysnum_linux_386.go", | ||
"zsysnum_linux_amd64.go", | ||
"zsysnum_linux_arm.go", | ||
"zsysnum_linux_arm64.go", | ||
"zsysnum_linux_mips.go", | ||
"zsysnum_linux_mips64.go", | ||
"zsysnum_linux_mips64le.go", | ||
"zsysnum_linux_mipsle.go", | ||
"zsysnum_linux_ppc64.go", | ||
"zsysnum_linux_ppc64le.go", | ||
"zsysnum_linux_s390x.go", | ||
"zsysnum_netbsd_386.go", | ||
"zsysnum_netbsd_amd64.go", | ||
"zsysnum_netbsd_arm.go", | ||
"zsysnum_openbsd_386.go", | ||
"zsysnum_openbsd_amd64.go", | ||
"zsysnum_openbsd_arm.go", | ||
"ztypes_darwin_386.go", | ||
"ztypes_darwin_amd64.go", | ||
"ztypes_darwin_arm.go", | ||
"ztypes_darwin_arm64.go", | ||
"ztypes_dragonfly_amd64.go", | ||
"ztypes_freebsd_386.go", | ||
"ztypes_freebsd_amd64.go", | ||
"ztypes_freebsd_arm.go", | ||
"ztypes_linux_386.go", | ||
"ztypes_linux_amd64.go", | ||
"ztypes_linux_arm.go", | ||
"ztypes_linux_arm64.go", | ||
"ztypes_linux_mips.go", | ||
"ztypes_linux_mips64.go", | ||
"ztypes_linux_mips64le.go", | ||
"ztypes_linux_mipsle.go", | ||
"ztypes_linux_ppc64.go", | ||
"ztypes_linux_ppc64le.go", | ||
"ztypes_linux_s390x.go", | ||
"ztypes_netbsd_386.go", | ||
"ztypes_netbsd_amd64.go", | ||
"ztypes_netbsd_arm.go", | ||
"ztypes_openbsd_386.go", | ||
"ztypes_openbsd_amd64.go", | ||
"ztypes_openbsd_arm.go", | ||
"ztypes_solaris_amd64.go", | ||
], | ||
cgo = True, | ||
importpath = "golang.org/x/sys/unix", | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
go_test( | ||
name = "go_default_test", | ||
srcs = [ | ||
"creds_test.go", | ||
"dev_linux_test.go", | ||
"example_test.go", | ||
"export_test.go", | ||
"mmap_unix_test.go", | ||
"openbsd_test.go", | ||
"syscall_bsd_test.go", | ||
"syscall_darwin_test.go", | ||
"syscall_freebsd_test.go", | ||
"syscall_linux_test.go", | ||
"syscall_netbsd_test.go", | ||
"syscall_solaris_test.go", | ||
"syscall_test.go", | ||
"syscall_unix_test.go", | ||
"timestruct_test.go", | ||
"xattr_test.go", | ||
], | ||
embed = [":go_default_library"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | ||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = [ | ||
"aliases.go", | ||
"asm_windows_386.s", | ||
"asm_windows_amd64.s", | ||
"dll_windows.go", | ||
"env_windows.go", | ||
"eventlog.go", | ||
"exec_windows.go", | ||
"memory_windows.go", | ||
"mksyscall.go", | ||
"race.go", | ||
"race0.go", | ||
"security_windows.go", | ||
"service.go", | ||
"str.go", | ||
"syscall.go", | ||
"syscall_windows.go", | ||
"types_windows.go", | ||
"types_windows_386.go", | ||
"types_windows_amd64.go", | ||
"zsyscall_windows.go", | ||
], | ||
importpath = "golang.org/x/sys/windows", | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
go_test( | ||
name = "go_default_test", | ||
srcs = [ | ||
"syscall_test.go", | ||
"syscall_windows_test.go", | ||
], | ||
embed = [":go_default_library"], | ||
) |
29 changes: 29 additions & 0 deletions
29
third_party/org_golang_x_sys/windows/registry/BUILD.bazel.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | ||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = [ | ||
"key.go", | ||
"mksyscall.go", | ||
"syscall.go", | ||
"value.go", | ||
"zsyscall_windows.go", | ||
], | ||
importpath = "golang.org/x/sys/windows/registry", | ||
visibility = ["//visibility:public"], | ||
deps = select({ | ||
"@io_bazel_rules_go//go/platform:windows": [ | ||
"//windows:go_default_library", | ||
], | ||
"//conditions:default": [], | ||
}), | ||
) | ||
|
||
go_test( | ||
name = "go_default_test", | ||
srcs = [ | ||
"export_test.go", | ||
"registry_test.go", | ||
], | ||
embed = [":go_default_library"], | ||
) |
Oops, something went wrong.