Top Description Fields Constructors Methods
com.badlogic.gdx.jnigen

public Class BuildConfig

extends Object
Class Inheritance

Specifies the global properties of a native build.

The shared library name will be used to generate the shared libraries. The build directory is used to store the object files during compilation for each BuildTarget. It is relative to the jni directory which houses the C/C++ source code. The libs directory is the final output directory where the natives jar and arm shared libraries will be written to. Used with AntScriptGenerator to generate the build scripts for build targets.
Author
mzechner

Field Summary

Modifier and TypeField and Description
public final FileDescriptor
buildDir

the directory to put the object files in

public final FileDescriptor
jniDir

the directory containing the native code

public final FileDescriptor
libsDir

the directory to put the shared libraries and natives jar file in

public final String
sharedLibName

the name of the shared library, without prefix or suffix, e.g. 'gdx', 'bullet'

public String[]
sharedLibs

additional shared library files to be packed into the natives jar, relative to the jni dir

Constructor Summary

AccessConstructor and Description
public
BuildConfig(String
the shared library name, without prefix or suffix, e.g. 'gdx', 'bullet'
sharedLibName
)

Creates a new BuildConfig.

public
BuildConfig(String
the shared library name, without prefix or suffix, e.g. 'gdx', 'bullet'
sharedLibName
,
String temporaryDir, String libsDir, String jniDir)

Creates a new BuildConfig.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

buildDirback to summary
public final FileDescriptor buildDir

the directory to put the object files in

jniDirback to summary
public final FileDescriptor jniDir

the directory containing the native code

libsDirback to summary
public final FileDescriptor libsDir

the directory to put the shared libraries and natives jar file in

sharedLibNameback to summary
public final String sharedLibName

the name of the shared library, without prefix or suffix, e.g. 'gdx', 'bullet'

sharedLibsback to summary
public String[] sharedLibs

additional shared library files to be packed into the natives jar, relative to the jni dir

Constructor Detail

BuildConfigback to summary
public BuildConfig(String sharedLibName)

Creates a new BuildConfig. The build directory, the libs directory and the jni directory are assumed to be "target", "libs" and "jni". All paths are relative to the application's working directory.

Parameters
sharedLibName:String

the shared library name, without prefix or suffix, e.g. 'gdx', 'bullet'

BuildConfigback to summary
public BuildConfig(String sharedLibName, String temporaryDir, String libsDir, String jniDir)

Creates a new BuildConfig. All paths are relative to the application's working directory.

Parameters
sharedLibName:String

the shared library name, without prefix or suffix, e.g. 'gdx', 'bullet'