[fuchsia/build] use 3p package declarations
go_dependencies is deprecated, use the garnet provided go_library rule.
Change-Id: I871b4266bad5da91d157e3beec3d6f4c45fdce71
diff --git a/protoc-gen-go/BUILD.gn b/protoc-gen-go/BUILD.gn
index ecb05c6..d8c9a0a 100644
--- a/protoc-gen-go/BUILD.gn
+++ b/protoc-gen-go/BUILD.gn
@@ -9,16 +9,7 @@
go_binary("protoc-gen-go") {
gopackage = "github.com/golang/protobuf/protoc-gen-go"
- go_dependencies = [
- {
- package = "github.com/golang/protobuf/proto"
- source = "//third_party/golibs/github.com/golang/protobuf/proto"
- },
- {
- package = "github.com/golang/protobuf/protoc-gen-go"
- source = "//third_party/golibs/github.com/golang/protobuf/protoc-gen-go"
- },
- ]
+ extra_dependencies = [ "//garnet/public/go/third_party:github.com/golang/protobuf" ]
}
install_host_tools("host") {