Fix go.mod for tools/compliance
Now it can be built with `go build`, and can be cross-referenced. Test: treehugger Change-Id: Ic35631ff6a915c8cf58db14aa83c849549e64aba
This commit is contained in:
@@ -4,9 +4,17 @@ require google.golang.org/protobuf v0.0.0
|
|||||||
|
|
||||||
replace google.golang.org/protobuf v0.0.0 => ../../../../external/golang-protobuf
|
replace google.golang.org/protobuf v0.0.0 => ../../../../external/golang-protobuf
|
||||||
|
|
||||||
require android/soong v0.0.0
|
require (
|
||||||
|
android/soong v0.0.0
|
||||||
|
github.com/google/blueprint v0.0.0
|
||||||
|
)
|
||||||
|
|
||||||
|
require golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
|
||||||
|
|
||||||
|
replace android/soong v0.0.0 => ../../../soong
|
||||||
|
|
||||||
|
replace github.com/google/blueprint => ../../../blueprint
|
||||||
|
|
||||||
replace android/soong v0.0.0 => ../../../soong
|
|
||||||
// Indirect deps from golang-protobuf
|
// Indirect deps from golang-protobuf
|
||||||
exclude github.com/golang/protobuf v1.5.0
|
exclude github.com/golang/protobuf v1.5.0
|
||||||
|
|
||||||
|
2
tools/compliance/go.sum
Normal file
2
tools/compliance/go.sum
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f h1:uF6paiQQebLeSXkrTqHqz0MXhXXS1KgF41eUdBNvxK0=
|
||||||
|
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8=
|
Reference in New Issue
Block a user