Reuse apklibs resources

Enable the possibility of skipping the processing of apklibs if they are already generated from a previous build. This is useful for speeding up the execution of tests, for instance.

An additional boolean parameter is provided that keeps current behavior by default.