cmd/gomobile: update doc

Ran `gomobile help documentation doc.go`

Change-Id: Ie7f89349520393e63a8d72495d69c299e3218876
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/176157
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Hana Kim 2019-05-09 10:33:37 -04:00 committed by Hyang-Ah Hana Kim
parent 3e0bab5405
commit 12c8d8ccab
1 changed files with 4 additions and 8 deletions

View File

@ -24,7 +24,7 @@ Commands:
bind build a library for Android and iOS bind build a library for Android and iOS
build compile android APK and iOS app build compile android APK and iOS app
clean remove object files and cached gomobile files clean remove object files and cached gomobile files
init install NDK toolchains and build OpenAL for Android init build OpenAL for Android
install compile android APK and install on device install compile android APK and install on device
version print version version print version
@ -104,7 +104,7 @@ If the package directory contains an assets subdirectory, its contents
are copied into the output. are copied into the output.
Flag -iosversion sets the minimal version of the iOS SDK to compile against. Flag -iosversion sets the minimal version of the iOS SDK to compile against.
The default version is 6.1. The default version is 7.0.
The -bundleid flag is required for -target ios and sets the bundle ID to use The -bundleid flag is required for -target ios and sets the bundle ID to use
with the app. with the app.
@ -127,15 +127,11 @@ Usage:
Clean removes object files and cached NDK files downloaded by gomobile init Clean removes object files and cached NDK files downloaded by gomobile init
Install NDK toolchains and build OpenAL for Android Build OpenAL for Android
Usage: Usage:
gomobile init [-ndk dir] [-openal dir] gomobile init [-openal dir]
If the -ndk flag is specified or the Android NDK is installed at
$ANDROID_HOME/ndk-bundle, init will create NDK standalone toolchains
for Android targets.
If a OpenAL source directory is specified with -openal, init will If a OpenAL source directory is specified with -openal, init will
build an Android version of OpenAL for use with gomobile build build an Android version of OpenAL for use with gomobile build