From 12c8d8ccabc161c9804a19b13dc39572a6c5a044 Mon Sep 17 00:00:00 2001 From: Hana Kim Date: Thu, 9 May 2019 10:33:37 -0400 Subject: [PATCH] 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 --- cmd/gomobile/doc.go | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/cmd/gomobile/doc.go b/cmd/gomobile/doc.go index 7bcbc27..e160b5a 100644 --- a/cmd/gomobile/doc.go +++ b/cmd/gomobile/doc.go @@ -24,7 +24,7 @@ Commands: bind build a library for Android and iOS build compile android APK and iOS app 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 version print version @@ -104,7 +104,7 @@ If the package directory contains an assets subdirectory, its contents are copied into the output. 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 with the app. @@ -127,15 +127,11 @@ Usage: 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: - gomobile init [-ndk dir] [-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. + gomobile init [-openal dir] If a OpenAL source directory is specified with -openal, init will build an Android version of OpenAL for use with gomobile build