Build Android Natives (OpenAL, Vorbis, TextureLoading) on Travis (#1171)
* First attempt at building android-natives. * Use OpenJDK because native build is broken without * Try OpenJDK 10 * Try openJDK 9 * Try openJDK11 again but "enable" the EE Module * OpenJDK 11 has no Java EE Module anymore. * Try to fix Android Header Generation * Fix invalid flag error with javac by removing empty quotes * Try to fix build of decode. * Remove jni generated headers from the repository. * Adjust .gitignore as those header files won't appear at that location anymore * Fix Android Build: Fill the jme3-android-native headers during the build of jme3-android. This works because jme3-android-native already depends on jme3-android. Due to technical reasons, the headers share the same location and thus the include directives have been adjusted slightly. * Copy jni headers to the jni directory. * Adjust the path slightly * Try to silence android sdk's license print out * Also fix openAL * Solve task name conflict * Really silence license now * Tasks seem shared but Strings are not... * Only build Android-Native * Trying to reduce the amount of dependencies needed. * Remove even more dependencies * Even more removal * Prepare Deployment * Fix Deployment * Cleanup: Remove feature branch from branches for travis. * Revert a few unnecessary things * Removed NDK Comments.fix-openal-soft-deadlink
parent
0d8fe2ac22
commit
90d3b69bd1
@ -0,0 +1,2 @@ |
||||
# The headers are autogenerated and nobody should try to commit them... |
||||
src/native/headers |
@ -1,173 +0,0 @@ |
||||
/* DO NOT EDIT THIS FILE - it is machine generated */ |
||||
#include <jni.h> |
||||
/* Header for class com_jme3_audio_android_AndroidAL */ |
||||
|
||||
#ifndef _Included_com_jme3_audio_android_AndroidAL |
||||
#define _Included_com_jme3_audio_android_AndroidAL |
||||
#ifdef __cplusplus |
||||
extern "C" { |
||||
#endif |
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alGetString |
||||
* Signature: (I)Ljava/lang/String; |
||||
*/ |
||||
JNIEXPORT jstring JNICALL Java_com_jme3_audio_android_AndroidAL_alGetString |
||||
(JNIEnv *, jobject, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alGenSources |
||||
* Signature: ()I |
||||
*/ |
||||
JNIEXPORT jint JNICALL Java_com_jme3_audio_android_AndroidAL_alGenSources |
||||
(JNIEnv *, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alGetError |
||||
* Signature: ()I |
||||
*/ |
||||
JNIEXPORT jint JNICALL Java_com_jme3_audio_android_AndroidAL_alGetError |
||||
(JNIEnv *, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alDeleteSources |
||||
* Signature: (ILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alDeleteSources |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alGenBuffers |
||||
* Signature: (ILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alGenBuffers |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alDeleteBuffers |
||||
* Signature: (ILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alDeleteBuffers |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alSourceStop |
||||
* Signature: (I)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alSourceStop |
||||
(JNIEnv *, jobject, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alSourcei |
||||
* Signature: (III)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alSourcei |
||||
(JNIEnv *, jobject, jint, jint, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alBufferData |
||||
* Signature: (IILjava/nio/ByteBuffer;II)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alBufferData |
||||
(JNIEnv *, jobject, jint, jint, jobject, jint, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alSourcePlay |
||||
* Signature: (I)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alSourcePlay |
||||
(JNIEnv *, jobject, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alSourcePause |
||||
* Signature: (I)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alSourcePause |
||||
(JNIEnv *, jobject, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alSourcef |
||||
* Signature: (IIF)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alSourcef |
||||
(JNIEnv *, jobject, jint, jint, jfloat); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alSource3f |
||||
* Signature: (IIFFF)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alSource3f |
||||
(JNIEnv *, jobject, jint, jint, jfloat, jfloat, jfloat); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alGetSourcei |
||||
* Signature: (II)I |
||||
*/ |
||||
JNIEXPORT jint JNICALL Java_com_jme3_audio_android_AndroidAL_alGetSourcei |
||||
(JNIEnv *, jobject, jint, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alSourceUnqueueBuffers |
||||
* Signature: (IILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alSourceUnqueueBuffers |
||||
(JNIEnv *, jobject, jint, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alSourceQueueBuffers |
||||
* Signature: (IILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alSourceQueueBuffers |
||||
(JNIEnv *, jobject, jint, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alListener |
||||
* Signature: (ILjava/nio/FloatBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alListener |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alListenerf |
||||
* Signature: (IF)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alListenerf |
||||
(JNIEnv *, jobject, jint, jfloat); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alListener3f |
||||
* Signature: (IFFF)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alListener3f |
||||
(JNIEnv *, jobject, jint, jfloat, jfloat, jfloat); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidAL |
||||
* Method: alSource3i |
||||
* Signature: (IIIII)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidAL_alSource3i |
||||
(JNIEnv *, jobject, jint, jint, jint, jint, jint); |
||||
|
||||
#ifdef __cplusplus |
||||
} |
||||
#endif |
||||
#endif |
@ -1,77 +0,0 @@ |
||||
/* DO NOT EDIT THIS FILE - it is machine generated */ |
||||
#include <jni.h> |
||||
/* Header for class com_jme3_audio_android_AndroidALC */ |
||||
|
||||
#ifndef _Included_com_jme3_audio_android_AndroidALC |
||||
#define _Included_com_jme3_audio_android_AndroidALC |
||||
#ifdef __cplusplus |
||||
extern "C" { |
||||
#endif |
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidALC |
||||
* Method: createALC |
||||
* Signature: ()V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidALC_createALC |
||||
(JNIEnv *, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidALC |
||||
* Method: destroyALC |
||||
* Signature: ()V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidALC_destroyALC |
||||
(JNIEnv *, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidALC |
||||
* Method: isCreated |
||||
* Signature: ()Z |
||||
*/ |
||||
JNIEXPORT jboolean JNICALL Java_com_jme3_audio_android_AndroidALC_isCreated |
||||
(JNIEnv *, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidALC |
||||
* Method: alcGetString |
||||
* Signature: (I)Ljava/lang/String; |
||||
*/ |
||||
JNIEXPORT jstring JNICALL Java_com_jme3_audio_android_AndroidALC_alcGetString |
||||
(JNIEnv *, jobject, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidALC |
||||
* Method: alcIsExtensionPresent |
||||
* Signature: (Ljava/lang/String;)Z |
||||
*/ |
||||
JNIEXPORT jboolean JNICALL Java_com_jme3_audio_android_AndroidALC_alcIsExtensionPresent |
||||
(JNIEnv *, jobject, jstring); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidALC |
||||
* Method: alcGetInteger |
||||
* Signature: (ILjava/nio/IntBuffer;I)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidALC_alcGetInteger |
||||
(JNIEnv *, jobject, jint, jobject, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidALC |
||||
* Method: alcDevicePauseSOFT |
||||
* Signature: ()V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidALC_alcDevicePauseSOFT |
||||
(JNIEnv *, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidALC |
||||
* Method: alcDeviceResumeSOFT |
||||
* Signature: ()V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidALC_alcDeviceResumeSOFT |
||||
(JNIEnv *, jobject); |
||||
|
||||
#ifdef __cplusplus |
||||
} |
||||
#endif |
||||
#endif |
@ -1,101 +0,0 @@ |
||||
/* DO NOT EDIT THIS FILE - it is machine generated */ |
||||
#include <jni.h> |
||||
/* Header for class com_jme3_audio_android_AndroidEFX */ |
||||
|
||||
#ifndef _Included_com_jme3_audio_android_AndroidEFX |
||||
#define _Included_com_jme3_audio_android_AndroidEFX |
||||
#ifdef __cplusplus |
||||
extern "C" { |
||||
#endif |
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alGenAuxiliaryEffectSlots |
||||
* Signature: (ILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alGenAuxiliaryEffectSlots |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alGenEffects |
||||
* Signature: (ILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alGenEffects |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alEffecti |
||||
* Signature: (III)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alEffecti |
||||
(JNIEnv *, jobject, jint, jint, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alAuxiliaryEffectSloti |
||||
* Signature: (III)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alAuxiliaryEffectSloti |
||||
(JNIEnv *, jobject, jint, jint, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alDeleteEffects |
||||
* Signature: (ILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alDeleteEffects |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alDeleteAuxiliaryEffectSlots |
||||
* Signature: (ILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alDeleteAuxiliaryEffectSlots |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alGenFilters |
||||
* Signature: (ILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alGenFilters |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alFilteri |
||||
* Signature: (III)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alFilteri |
||||
(JNIEnv *, jobject, jint, jint, jint); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alFilterf |
||||
* Signature: (IIF)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alFilterf |
||||
(JNIEnv *, jobject, jint, jint, jfloat); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alDeleteFilters |
||||
* Signature: (ILjava/nio/IntBuffer;)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alDeleteFilters |
||||
(JNIEnv *, jobject, jint, jobject); |
||||
|
||||
/*
|
||||
* Class: com_jme3_audio_android_AndroidEFX |
||||
* Method: alEffectf |
||||
* Signature: (IIF)V |
||||
*/ |
||||
JNIEXPORT void JNICALL Java_com_jme3_audio_android_AndroidEFX_alEffectf |
||||
(JNIEnv *, jobject, jint, jint, jfloat); |
||||
|
||||
#ifdef __cplusplus |
||||
} |
||||
#endif |
||||
#endif |
Loading…
Reference in new issue