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 eachBuildTarget. 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.
| Modifier and Type | Field 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 |
| Access | Constructor 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. |
| buildDir | back to summary |
|---|---|
| public final FileDescriptor buildDir the directory to put the object files in | |
| jniDir | back to summary |
|---|---|
| public final FileDescriptor jniDir the directory containing the native code | |
| libsDir | back to summary |
|---|---|
| public final FileDescriptor libsDir the directory to put the shared libraries and natives jar file in | |
| sharedLibName | back to summary |
|---|---|
| public final String sharedLibName the name of the shared library, without prefix or suffix, e.g. 'gdx', 'bullet' | |
| sharedLibs | back to summary |
|---|---|
| public String[] sharedLibs additional shared library files to be packed into the natives jar, relative to the jni dir | |
| BuildConfig | back 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.
| |
| BuildConfig | back 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.
| |