gomobile checks "golang.org/x/mobile/..." packages are included in the build product using nm. If "golang/x/mobile/..." package is placed under vendor directory, this check fails and it is treated as a build failure. Fixes golang/go#22152 Change-Id: Ie0e05c3e0340b3608de5c68bb3f852d4ef7cdeb1 Reviewed-on: https://go-review.googlesource.com/102095 Reviewed-by: Elias Naur <elias.naur@gmail.com>