aboutsummaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-07-21 13:17:19 -0700
committerDan Willemsen <dwillemsen@google.com>2018-07-22 21:01:44 -0700
commitee74203bfbc0071a71ee783220cd563d20e961e7 (patch)
treef3a277448774abf3ea6d8d49af7635dc15f1990e /go.mod
parent0183b2cfff7a91a32b85b19a3254ec0736d265c4 (diff)
downloadbuild_soong-ee74203bfbc0071a71ee783220cd563d20e961e7.tar.gz
build_soong-ee74203bfbc0071a71ee783220cd563d20e961e7.tar.bz2
build_soong-ee74203bfbc0071a71ee783220cd563d20e961e7.zip
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
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod9
1 files changed, 9 insertions, 0 deletions
diff --git a/go.mod b/go.mod
new file mode 100644
index 00000000..cc328e0f
--- /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