commit | 70bad68322f4b891e6b4081ab040469b793a9d4a | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Tue Mar 06 19:38:35 2018 +0100 |
committer | Elias Naur <elias.naur@gmail.com> | Wed Mar 07 14:01:21 2018 +0000 |
tree | ca612fc73d901bbb2f03c8cfbbfc073d5ab502e3 | |
parent | 8a8a989f4807eb8c387ee9d4ccf11aee9c6aaca3 [diff] |
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>
diff --git a/cmd/gomobile/bind_androidapp.go b/cmd/gomobile/bind_androidapp.go index 6f34a6b..db37139 100644 --- a/cmd/gomobile/bind_androidapp.go +++ b/cmd/gomobile/bind_androidapp.go
@@ -44,9 +44,6 @@ toolchain := ndk.Toolchain(arch) if !first { - if err := goInstall(paths, env, androidArgs...); err != nil { - return err - } err := goBuild( mainFile, env,