Currently Android.mk and Makefile.in have lists of source files which are substantially the same.
This means that if you add a source file it has to be updated in two places, which encourages errors.
Also, adding a new source file currently requires modifying both those files, and then rerunning configure for native UNIX builds, when it probably isn't necessary.
Solution: push the source file lists out into some separate .mk files
Currently Android.mk and Makefile.in have lists of source files which are substantially the same. This means that if you add a source file it has to be updated in two places, which encourages errors. Also, adding a new source file currently requires modifying both those files, and then rerunning configure for native UNIX builds, when it probably isn't necessary.
Solution: push the source file lists out into some separate .mk files