I have a java project that is referenced in j2me project and in android project. In this project i would like to use conditional compilation.
Something like...
Eclipse MTJ project provides preprocessing support as documented . This support was mainly targeted for tackling fragmentation problems on JavaME. I have not tested the preprocessing support together with the Android tooling but it may just work.