2
0
mirror of synced 2025-02-23 06:48:15 +00:00

cmd/gomobile: provide the package name to the go build command.

Change-Id: I9aeb74f24bb19454ee7a7b861690857e9c562c08
Reviewed-on: https://go-review.googlesource.com/4610
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Hyang-Ah (Hana) Kim 2015-02-11 17:35:44 -05:00 committed by Hyang-Ah Hana Kim
parent 593197c0b6
commit 5fdd6687da

View File

@ -154,6 +154,9 @@ func runBuild(cmd *command) error {
if buildI {
gocmd.Args = append(gocmd.Args, "-i")
}
gocmd.Args = append(gocmd.Args, pkg.ImportPath)
gocmd.Stdout = os.Stdout
gocmd.Stderr = os.Stderr
gocmd.Env = []string{