-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sample for ldFlags #26
Comments
@Nimrodda you can use Updating this issue to request a new sample for showing the proper syntax. |
Also note #27 build.gradle doesn't yet support building separate library, so you would have to build the standalone library with |
Thanks for your answer. |
@Nimrodda http://tools.android.com/tech-docs/new-build-system/gradle-experimental has an example using It doesn't show how to handle this for different |
If you have one ABI per flavor, you can specify the ldLibs for that flavor. If you have an apk with multiple ABI, you will need to wait for https://code.google.com/p/android/issues/detail?id=178074 to be resolved, which should be available in the next release. |
Also, jniLibs should still work. .so in src/main/jniLibs should be packaged into the apk. Does it not? |
hello-thirdparty shows this now: https://github.com/googlesamples/android-ndk/tree/master/hello-thirdparty |
In traditional NDK make file, I can link a prebuilt static library and specify its headers directory:
Android.mk
How do I do that in
build.gradle
using the new plugin's DSL?The text was updated successfully, but these errors were encountered: