com.android.builder.compiling
Interface DependencyFileProcessor


public interface DependencyFileProcessor

A Class that processes a dependency file after a compilation. During compilation of aidl and renderscript, it is possible to provide an instance of DependencyFileProcessor to process the dependency files generated by the compilers. It can be useful to store the dependency in a better format than a per-file dependency file. The instance will be called for each dependency file that is created during compilation, and if the file can be processed will notify the compiler that the original dependency file is not needed anymore.

See Also:
AndroidBuilder.compileAllAidlFiles(java.util.List, java.io.File, java.util.List, DependencyFileProcessor), AndroidBuilder.compileAidlFile(java.io.File, java.io.File, java.util.List, DependencyFileProcessor), com.android.builder.AndroidBuilder#compileAllRenderscriptFiles(java.util.List, java.util.List, java.io.File, java.io.File, int, boolean, int)

Method Summary
 boolean processFile(java.io.File dependencyFile)
          Processes the dependency file.
 

Method Detail

processFile

boolean processFile(@NonNull
                    java.io.File dependencyFile)
Processes the dependency file.

Parameters:
dependencyFile - the dependency file.
Returns:
true if the dependency file can be deleted by the caller.