aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp90
-rw-r--r--METADATA19
-rw-r--r--MODULE_LICENSE_BSD0
l---------NOTICE1
-rw-r--r--OWNERS1
5 files changed, 111 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..e5109c8
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,90 @@
+// Automatically generated with:
+// go2bp -exclude golang.org/x/sys/windows/mkwinsyscall -exclude golang.org/x/sys/unix/internal/mkmerge
+
+bootstrap_go_package {
+ name: "golang.org-x-sys-cpu",
+ pkgPath: "golang.org/x/sys/cpu",
+ srcs: [
+ "cpu/byteorder.go",
+ "cpu/cpu.go",
+ "cpu/cpu_gc_x86.go",
+ "cpu/cpu_linux_noinit.go",
+ "cpu/cpu_x86.go",
+ "cpu/endian_little.go",
+ "cpu/hwcap_linux.go",
+ "cpu/parse.go",
+ "cpu/runtime_auxv.go",
+ ],
+ testSrcs: [
+ "cpu/parse_test.go",
+ ],
+}
+
+bootstrap_go_package {
+ name: "golang.org-x-sys-execabs",
+ pkgPath: "golang.org/x/sys/execabs",
+ srcs: [
+ "execabs/execabs.go",
+ "execabs/execabs_go119.go",
+ ],
+ testSrcs: [
+ "execabs/execabs_test.go",
+ ],
+}
+
+bootstrap_go_package {
+ name: "golang.org-x-sys-internal-unsafeheader",
+ pkgPath: "golang.org/x/sys/internal/unsafeheader",
+ srcs: [
+ "internal/unsafeheader/unsafeheader.go",
+ ],
+}
+
+bootstrap_go_package {
+ name: "golang.org-x-sys-unix",
+ pkgPath: "golang.org/x/sys/unix",
+ srcs: [
+ "unix/affinity_linux.go",
+ "unix/aliases.go",
+ "unix/bluetooth_linux.go",
+ "unix/constants.go",
+ "unix/dev_linux.go",
+ "unix/dirent.go",
+ "unix/endian_little.go",
+ "unix/env_unix.go",
+ "unix/fcntl.go",
+ "unix/fdset.go",
+ "unix/ifreq_linux.go",
+ "unix/ioctl.go",
+ "unix/ioctl_linux.go",
+ "unix/pagesize_unix.go",
+ "unix/race0.go",
+ "unix/readdirent_getdents.go",
+ "unix/sockcmsg_linux.go",
+ "unix/sockcmsg_unix.go",
+ "unix/sockcmsg_unix_other.go",
+ "unix/syscall.go",
+ "unix/syscall_linux.go",
+ "unix/syscall_linux_alarm.go",
+ "unix/syscall_linux_amd64.go",
+ "unix/syscall_linux_amd64_gc.go",
+ "unix/syscall_linux_gc.go",
+ "unix/syscall_unix.go",
+ "unix/syscall_unix_gc.go",
+ "unix/sysvshm_linux.go",
+ "unix/sysvshm_unix.go",
+ "unix/timestruct.go",
+ "unix/zerrors_linux.go",
+ "unix/zerrors_linux_amd64.go",
+ "unix/zptrace_x86_linux.go",
+ "unix/zsyscall_linux.go",
+ "unix/zsyscall_linux_amd64.go",
+ "unix/zsysnum_linux_amd64.go",
+ "unix/ztypes_linux.go",
+ "unix/ztypes_linux_amd64.go",
+ ],
+ testSrcs: [
+ "unix/ifreq_linux_test.go",
+ "unix/syscall_internal_linux_test.go",
+ ],
+}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..648005e
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,19 @@
+name: "golang-x-sys"
+description: "This repository holds supplemental Go packages for low-level interactions with the operating system."
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://go.googlesource.com/sys/"
+ }
+ url {
+ type: GIT
+ value: "https://go.googlesource.com/sys/"
+ }
+ version: "v0.6.0"
+ license_type: NOTICE
+ last_upgrade_date {
+ year: 2023
+ month: 3
+ day: 15
+ }
+}
diff --git a/MODULE_LICENSE_BSD b/MODULE_LICENSE_BSD
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_BSD
diff --git a/NOTICE b/NOTICE
new file mode 120000
index 0000000..7a694c9
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1 @@
+LICENSE \ No newline at end of file
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..4cac0f5
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1 @@
+include platform/build/soong:/OWNERS