conditional compilation of java sources in Android platform build

12 views
Skip to first unread message

Tomei Ningen

unread,
Feb 4, 2009, 6:02:09 PM2/4/09
to android-...@googlegroups.com
Hello,

Is there any support in the Android build system to allow this (when building system classes)?

class ABC {
#if WANT_SOME_EXTRA_STUFF
void hereYouGo() {

}
#endif
}

I realize it's against the Java religion, etc, but once in a while it could be handy

Thanks



Jean-Baptiste Queru

unread,
Feb 4, 2009, 6:04:56 PM2/4/09
to android-...@googlegroups.com
As I understand, this is something that we explicitly do not want to add.

JBQ

--
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Reply all
Reply to author
Forward
0 new messages