Package org.robovm.compiler.util
Class ToolchainUtil
java.lang.Object
org.robovm.compiler.util.ToolchainUtil
public class ToolchainUtil extends Object
- Author:
- niklas
-
Constructor Summary
Constructors Constructor Description ToolchainUtil() -
Method Summary
Modifier and Type Method Description static voidactool(Config config, File partialInfoPlist, File outDir, File inDir)static voidactool(Config config, File partialInfoPlist, File outDir, List<File> inDirs)static voidbitcodeStrip(Config config, File inFile, File outFile)static voidcompileStrings(Config config, File inFile, File outFile)static voiddecompileXml(Config config, File inFile, File outFile)static Stringfile(File file)static StringfindXcodeCommand(String cmd, String sdk)static StringfindXcodePath()static voidibtool(Config config, File partialInfoPlist, File inFile, File outFile)static booleanisXcodeInstalled()static voidlink(Config config, List<String> args, List<File> objectFiles, List<String> libs, File outFile)static voidlipo(Config config, File outFile, List<File> inFiles)static StringlipoInfo(Config config, File inFile)static voidlipoRemoveArchs(Config config, File inFile, File outFile, String... archs)static Stringnm(File file)static Stringotool(File file)static voidpackageApplication(Config config, File appDir, File outFile)static voidpngcrush(Config config, File inFile, File outFile)static voidtextureatlas(Config config, File inDir, File outDir)
-
Constructor Details
-
ToolchainUtil
public ToolchainUtil()
-
-
Method Details
-
findXcodePath
- Throws:
IOException
-
isXcodeInstalled
public static boolean isXcodeInstalled() -
findXcodeCommand
- Throws:
IOException
-
pngcrush
- Throws:
IOException
-
textureatlas
- Throws:
IOException
-
actool
public static void actool(Config config, File partialInfoPlist, File outDir, File inDir) throws IOException- Throws:
IOException
-
actool
public static void actool(Config config, File partialInfoPlist, File outDir, List<File> inDirs) throws IOException- Throws:
IOException
-
ibtool
public static void ibtool(Config config, File partialInfoPlist, File inFile, File outFile) throws IOException- Throws:
IOException
-
compileStrings
- Throws:
IOException
-
decompileXml
- Throws:
IOException
-
nm
- Throws:
IOException
-
otool
- Throws:
IOException
-
lipo
- Throws:
IOException
-
lipoRemoveArchs
public static void lipoRemoveArchs(Config config, File inFile, File outFile, String... archs) throws IOException- Throws:
IOException
-
bitcodeStrip
- Throws:
IOException
-
lipoInfo
- Throws:
IOException
-
file
- Throws:
IOException
-
packageApplication
- Throws:
IOException
-
link
public static void link(Config config, List<String> args, List<File> objectFiles, List<String> libs, File outFile) throws IOException- Throws:
IOException
-