cmd/gomobile: mention how to specify target arch for bind

Change-Id: I7c2dd984e810165dc126ae1f65d72d8bba804e04
Reviewed-on: https://go-review.googlesource.com/24072
Reviewed-by: David Crawshaw <crawshaw@golang.org>
diff --git a/cmd/gomobile/bind.go b/cmd/gomobile/bind.go
index 8c9df7c..8f388c9 100644
--- a/cmd/gomobile/bind.go
+++ b/cmd/gomobile/bind.go
@@ -50,6 +50,11 @@
 to the path to Android SDK. The generated Java class is in the java
 package 'go.<package_name>' unless -javapkg flag is specified.
 
+By default, -target=android builds shared libraries for all supported
+instruction sets (arm, arm64, 386, amd64). A subset of instruction sets
+can be selected by specifying target type with the architecture name. E.g.,
+-target=android/arm,android/386.
+
 For -target ios, gomobile must be run on an OS X machine with Xcode
 installed. Support is not complete. The generated Objective-C types
 are prefixed with 'Go' unless the -prefix flag is provided.
diff --git a/cmd/gomobile/doc.go b/cmd/gomobile/doc.go
index 70a7121..e0f6b07 100644
--- a/cmd/gomobile/doc.go
+++ b/cmd/gomobile/doc.go
@@ -57,6 +57,11 @@
 to the path to Android SDK. The generated Java class is in the java
 package 'go.<package_name>' unless -javapkg flag is specified.
 
+By default, -target=android builds shared libraries for all supported
+instruction sets (arm, arm64, 386, amd64). A subset of instruction sets
+can be selected by specifying target type with the architecture name. E.g.,
+-target=android/arm,android/386.
+
 For -target ios, gomobile must be run on an OS X machine with Xcode
 installed. Support is not complete. The generated Objective-C types
 are prefixed with 'Go' unless the -prefix flag is provided.