Add go.mod file for go1.11

With this and go1.11beta2, the standard go tools can be used in
build/soong without creating a $GOPATH using something like
setup_go_workspace_for_soong.

Test: go vet android/soong/...
Change-Id: I3c69499b010c8f7f64666208efead4ddb3584b3c
This commit is contained in:
Dan Willemsen
2018-07-21 13:17:19 -07:00
parent 0183b2cfff
commit ee74203bfb

9
go.mod Normal file
View File

@@ -0,0 +1,9 @@
module android/soong
require github.com/golang/protobuf v0.0.0
require github.com/google/blueprint v0.0.0
replace github.com/golang/protobuf v0.0.0 => ../../external/golang-protobuf
replace github.com/google/blueprint v0.0.0 => ../blueprint