/** * Converts the bytecode of a library to the jack format * @param inputFile the input file * @param outFile the location of the output classes.dex file * @param dexOptions dex options * * @throws ProcessException * @throws IOException * @throws InterruptedException */ public void convertLibraryToJack( @NonNull File inputFile, @NonNull File outFile, @NonNull DexOptions dexOptions) throws ProcessException, IOException, InterruptedException { checkState(mTargetInfo != null, "Cannot call preJackLibrary() before setTargetInfo() is called."); BuildToolInfo buildToolInfo = mTargetInfo.getBuildTools(); JackConversionCache.getCache().convertLibrary( inputFile, outFile, dexOptions, buildToolInfo, mVerboseExec, mJavaProcessExecutor, mProcessOutputHandler, mLogger); }
JackConversionCache.getCache() .convertLibrary( file,