From ee74203bfbc0071a71ee783220cd563d20e961e7 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Sat, 21 Jul 2018 13:17:19 -0700 Subject: [PATCH] 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 --- go.mod | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 go.mod diff --git a/go.mod b/go.mod new file mode 100644 index 000000000..cc328e0f8 --- /dev/null +++ b/go.mod @@ -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