Upgrade golang-x-tools to v0.7.0
Not using external_updater this time to switch to the new upstream tags.
Test: treehugger
Change-Id: I31488b4958a366ed7f183bb387d3e1446acc13ae
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..44fc6cf
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,12 @@
+// Version control API.
+bootstrap_go_package {
+ name: "golang-x-tools-go-vcs",
+ pkgPath: "golang.org/x/tools/go/vcs",
+ deps: ["golang.org-x-sys-execabs"],
+ srcs: [
+ "go/vcs/discovery.go",
+ "go/vcs/env.go",
+ "go/vcs/http.go",
+ "go/vcs/vcs.go",
+ ],
+}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d83a2be
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,19 @@
+name: "golang-x-tools"
+description: "This subrepository holds the source for various packages and tools that support the Go programming language"
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://go.googlesource.com/tools/"
+ }
+ url {
+ type: GIT
+ value: "https://go.googlesource.com/tools/"
+ }
+ version: "v0.7.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