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>
This commit is contained in:
parent
40167cfb81
commit
1decf4c941
@ -50,6 +50,11 @@ library for Android. The environment variable ANDROID_HOME must be set
|
||||
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.
|
||||
|
@ -57,6 +57,11 @@ library for Android. The environment variable ANDROID_HOME must be set
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user