private void createSupportFiles(
@NonNull final ProcessExecutor processExecutor,
@NonNull final ProcessOutputHandler processOutputHandler,
@NonNull final Map<String, String> env)
throws IOException, InterruptedException, LoggedErrorException, ProcessException {
int targetApi = mTargetApi < 11 ? 11 : mTargetApi;
targetApi = (mSupportMode && targetApi < 18) ? 18 : targetApi;
if (targetApi < 21) {
File rawFolder = new File(mResOutputDir, SdkConstants.FD_RES_RAW);
createSupportFilesHelper(rawFolder, ABIS_32, processExecutor, processOutputHandler, env);
} else {
File rawFolder32 = new File(mResOutputDir, SdkConstants.FD_RES_RAW + "/bc32");
createSupportFilesHelper(rawFolder32, ABIS_32, processExecutor,
processOutputHandler, env);
File rawFolder64 = new File(mResOutputDir, SdkConstants.FD_RES_RAW + "/bc64");
createSupportFilesHelper(rawFolder64, ABIS_64, processExecutor,
processOutputHandler, env);
}
}