The current support is not really supported. This is why is not documented.

We are moving to support native components using Gradle's native support
but it's not ready yet.

In the meantime you could try to make a custom, extended version of
NdkCompile, yes.

On Mon, Jan 12, 2015 at 2:37 AM, <ksu...@gmail.com> wrote:

> Hello,
>
> It's clear how to operate with sourceSet.main.jni.srcDirs = [] to get
> everything  done with  ndk-build & handmade Android.mk.
> But it's absolutely unclear how to do same things with generated on the
> fly Android.mk.
> Could you explain how to:
>
> 1. Make native static library module (NdkCompile.groovy include only
> BUILD_SHARED_LIBRARY)
> 2. Make native shared library and link static library made with step 1 to
> this shared library. (NdkCompile.groovy doesn't include
> any LOCAL_STATIC_LIBRARIES or linker flags)
>
> Just curious - is it possible to make local copy of NdkCompile.groovy and
> extend functionality ?
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to adt-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to