d04e7395d9
Instead of the ad-hoc output directory structure to hold java source code and compiled .so files, this change makes the bind command create an AAR bundle. AAR is the format for Android library project/module outputs. AAR is similar to .jar except that includes resource files. http://tools.android.com/tech-docs/new-build-system/aar-format This AAR format is in the Android's new build system's roadmap ( http://tools.android.com/tech-docs/jackandjill) and Android IDEs are likely supporting the format. For integration with Android Studio project, the user is expected to place the .aar file to the main app's libs directory and specify the dependency in the gradle rule. This can be done through a gradle plugin or with Android Studio integration. For Buck, the .aar file can be the input of the android_prebuilt_aar rule. This depends on the availability of javac and android SDK - which may not be an issue because the bind users will need them anyway to build their main app. Change-Id: I635902e994d002bb875c7838e19f172e187b0b87 Reviewed-on: https://go-review.googlesource.com/8084 Reviewed-by: David Crawshaw <crawshaw@golang.org> |
||
---|---|---|
.. | ||
gobind | ||
gomobile |