com.android.sdklib.build
Class ManualRenderScriptChecker

java.lang.Object
  extended by com.android.sdklib.build.RenderScriptChecker
      extended by com.android.sdklib.build.ManualRenderScriptChecker

public class ManualRenderScriptChecker
extends RenderScriptChecker

Checks whether Renderscript compilation is needed. This is entirely based on using dependency files and manually looking up the list of current inputs, and old outputs timestamp. TODO: add checks on input/output checksum to detect true changes. TODO: (better) delete Ant and use Gradle. This should be only needed in Ant.


Field Summary
 
Fields inherited from class com.android.sdklib.build.RenderScriptChecker
mDependencyFiles, mOldInputs, mOldOutputs, mSourceFolders
 
Constructor Summary
ManualRenderScriptChecker(java.util.List<java.io.File> sourceFolders, java.io.File binFolder)
           
 
Method Summary
 java.util.List<java.io.File> getInputFiles()
           
 boolean mustCompile()
           
 
Methods inherited from class com.android.sdklib.build.RenderScriptChecker
cleanDependencies, findInputFiles, getOldInputs, getOldOutputs, getSourceFolders, loadDependencies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManualRenderScriptChecker

public ManualRenderScriptChecker(@NonNull
                                 java.util.List<java.io.File> sourceFolders,
                                 @NonNull
                                 java.io.File binFolder)
Method Detail

mustCompile

public boolean mustCompile()
                    throws java.io.IOException
Throws:
java.io.IOException

getInputFiles

@NonNull
public java.util.List<java.io.File> getInputFiles()