2
0
mirror of synced 2025-02-23 23:08:14 +00:00

cmd/gomobile: remove redundant build

The extra build can't be required, because it is not run for the
build of the first GOARCH later in the loop. Tests run fine
without it.

Change-Id: Ida27e31ace2417192cce06c2efc93fa0d357012e
Reviewed-on: https://go-review.googlesource.com/98975
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
Elias Naur 2018-03-06 19:38:35 +01:00
parent 8a8a989f48
commit 70bad68322

View File

@ -44,9 +44,6 @@ func goAndroidBind(pkgs []*build.Package, androidArchs []string) error {
toolchain := ndk.Toolchain(arch)
if !first {
if err := goInstall(paths, env, androidArgs...); err != nil {
return err
}
err := goBuild(
mainFile,
env,