Re: NDK build : automatically choose debug/release build config or automate NDK_DEBUG=1

308 views
Skip to first unread message

Siva Velusamy

unread,
Oct 30, 2012, 9:32:46 PM10/30/12
to adt...@googlegroups.com
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

RS

unread,
Nov 2, 2012, 6:05:55 AM11/2/12
to adt...@googlegroups.com
Thanks Siva, please follow the bug at http://code.google.com/p/android/issues/detail?id=39211
Reply all
Reply to author
Forward
0 new messages