I'd like to add a step to the Android build process in Eclipse, which will modify the generated IInterface files that are based on aidl files.
I've written a custom rewriter, which does the rewriting. I inserted this rewriter as a custom builder in Eclipse between the Android Pre Compiler and the Java Builder.
The problem is that the resulting apk file will contain the unmodified version of the generated files. Eclipse shows output like this:
Starting incremental Pre Compiler: Checking resource changes. HelloWorldInterface.java was modified manually! Reverting to generated version!
The source code of the AIDL compiler and the Android builders seems to be unavailable.
Does anyone know how to integrate such a builder correctly into the Eclipse build process? Or is it simply impossible?