Yes, you are correct, right now we don't have this support of
automatically setting NDK_DEBUG=1 for a Debug build, and selecting a
Debug/Release build based on actions you do in the Java part.
Please file a bug on
b.android.com to track this.
On Fri, Oct 26, 2012 at 5:42 PM, RS <
rajes...@gmail.com> wrote:
> Glad to see NDK build slowing becoming part of the tool within Eclipse.
> Thanks.
>
> But with or without the new feature, I'd like to be able to build for debug
> and release configurations automatically.
> Java part manages android:debuggable functionality automatically when
> "Export signed App..." is invoked.
>
> I have two NDK (CDT) build configs ...
> 1) Debug has ndk-build NDK_DEBUG=1 and the
> 2) Release version doesn't have this extra flag.
>
> As with java build, NDK build must be able to appropriately choose Debug CDT
> build config usually) xor Release config when export signed app is chosen.
>
> Or it should have the feature of toggling NDK_DEBUG=1 automatically
> depending on build type.
>
> Or am I missing something? Each time on release build, am having to choose
> release build config manually for the NDK/CDT part alone.
> Thanks,
> RS