Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/gomobile: always use abolute paths to replace in go.mod
A replative path in go.mod works only in the directory of the go.mod. When creating go.mod for gobind, copying relative paths did not work since go.mod is in a different temporary directory. This CL fixes the issue to use Dir, which is an absolute path to the module, instead of Path. Updates golang/go#27234 Change-Id: Ib009ec508aa3ce3d092af14f921a57192feaac61 Reviewed-on: https://go-review.googlesource.com/c/mobile/+/215421 Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
- Loading branch information