public class MakefileHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MakefileHelper.MakefileRequest |
static class |
MakefileHelper.MakefileResponse
Holder for the result of creating a makefile.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
MAKEFILE_CAPTURE_FILE |
| Constructor and Description |
|---|
MakefileHelper(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log,
ArtifactResolverHelper artifactResolverHelper,
org.apache.maven.artifact.handler.ArtifactHandler harHandler,
File unpackedApkLibsDirectory,
File ndkBuildDirectory)
Initialize the MakefileHelper by storing the supplied parameters to local variables.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanupAfterBuild(MakefileHelper.MakefileResponse makefileResponse)
Cleans up all include directories created in the temp directory during the build.
|
MakefileHelper.MakefileResponse |
createMakefileFromArtifacts(MakefileHelper.MakefileRequest makefileRequest)
Creates an Android Makefile based on the specified set of static library dependency artifacts.
|
public static final String MAKEFILE_CAPTURE_FILE
public MakefileHelper(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log,
ArtifactResolverHelper artifactResolverHelper,
org.apache.maven.artifact.handler.ArtifactHandler harHandler,
File unpackedApkLibsDirectory,
File ndkBuildDirectory)
log - Log to which to write log output.artifactResolverHelper - ArtifactResolverHelper to use to resolve the artifacts.harHandler - ArtifactHandler for har files.unpackedApkLibsDirectory - Folder in which apklibs are unpacked.public static void cleanupAfterBuild(MakefileHelper.MakefileResponse makefileResponse)
makefileResponse - The holder produced by the
MakefileHelper#createMakefileFromArtifacts(Set, String, String, boolean)public MakefileHelper.MakefileResponse createMakefileFromArtifacts(MakefileHelper.MakefileRequest makefileRequest) throws IOException, org.apache.maven.plugin.MojoExecutionException
artifacts - The list of (static library) dependency artifacts to create the Makefile fromuseHeaderArchives - If true, the Makefile should include a LOCAL_EXPORT_C_INCLUDES statement, pointing to
the location where the header archive was expandedIOExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2014–2016 simpligility technologies inc.. All rights reserved.