diff --git a/src_android/jni/Android.mk b/src/android/jni/Android.mk similarity index 79% rename from src_android/jni/Android.mk rename to src/android/jni/Android.mk index 20073760..0325d1f5 100644 --- a/src_android/jni/Android.mk +++ b/src/android/jni/Android.mk @@ -37,22 +37,22 @@ LOCAL_MODULE := raylib # Module source files LOCAL_SRC_FILES :=\ - ../../src/core.c \ - ../../src/rlgl.c \ - ../../src/textures.c \ - ../../src/text.c \ - ../../src/shapes.c \ - ../../src/gestures.c \ - ../../src/models.c \ - ../../src/utils.c \ - ../../src/audio.c \ - ../../src/stb_vorbis.c \ + ../../core.c \ + ../../rlgl.c \ + ../../textures.c \ + ../../text.c \ + ../../shapes.c \ + ../../gestures.c \ + ../../models.c \ + ../../utils.c \ + ../../audio.c \ + ../../stb_vorbis.c \ # Required includes paths (.h) -LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/include $(LOCAL_PATH)/../../src +LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/include $(LOCAL_PATH)/../.. # Required flags for compilation: defines PLATFORM_ANDROID and GRAPHICS_API_OPENGL_ES2 -LOCAL_CFLAGS := -Wall -std=c99 -g -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 +LOCAL_CFLAGS := -Wall -std=c99 -Wno-missing-braces -g -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 # Build the static library libraylib.a include $(BUILD_STATIC_LIBRARY) diff --git a/src_android/jni/Application.mk b/src/android/jni/Application.mk similarity index 100% rename from src_android/jni/Application.mk rename to src/android/jni/Application.mk diff --git a/src_android/jni/include/AL/al.h b/src/android/jni/include/AL/al.h similarity index 100% rename from src_android/jni/include/AL/al.h rename to src/android/jni/include/AL/al.h diff --git a/src_android/jni/include/AL/alc.h b/src/android/jni/include/AL/alc.h similarity index 100% rename from src_android/jni/include/AL/alc.h rename to src/android/jni/include/AL/alc.h diff --git a/src_android/jni/include/AL/alext.h b/src/android/jni/include/AL/alext.h similarity index 100% rename from src_android/jni/include/AL/alext.h rename to src/android/jni/include/AL/alext.h diff --git a/src_android/jni/include/AL/efx-creative.h b/src/android/jni/include/AL/efx-creative.h similarity index 100% rename from src_android/jni/include/AL/efx-creative.h rename to src/android/jni/include/AL/efx-creative.h diff --git a/src_android/jni/include/AL/efx.h b/src/android/jni/include/AL/efx.h similarity index 100% rename from src_android/jni/include/AL/efx.h rename to src/android/jni/include/AL/efx.h diff --git a/src_android/jni/include/AL/oalMacOSX_OALExtensions.h b/src/android/jni/include/AL/oalMacOSX_OALExtensions.h similarity index 100% rename from src_android/jni/include/AL/oalMacOSX_OALExtensions.h rename to src/android/jni/include/AL/oalMacOSX_OALExtensions.h diff --git a/src_android/jni/include/AL/oalStaticBufferExtension.h b/src/android/jni/include/AL/oalStaticBufferExtension.h similarity index 100% rename from src_android/jni/include/AL/oalStaticBufferExtension.h rename to src/android/jni/include/AL/oalStaticBufferExtension.h diff --git a/src_android/jni/include/android_native_app_glue.h b/src/android/jni/include/android_native_app_glue.h similarity index 100% rename from src_android/jni/include/android_native_app_glue.h rename to src/android/jni/include/android_native_app_glue.h diff --git a/src_android/AndroidManifest.xml b/src_android/AndroidManifest.xml deleted file mode 100644 index 8a940b24..00000000 --- a/src_android/AndroidManifest.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src_android/build.xml b/src_android/build.xml deleted file mode 100644 index 80c17dd9..00000000 --- a/src_android/build.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src_android/proguard-project.txt b/src_android/proguard-project.txt deleted file mode 100644 index f2fe1559..00000000 --- a/src_android/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ -# To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/src_android/project.properties b/src_android/project.properties deleted file mode 100644 index 4ab12569..00000000 --- a/src_android/project.properties +++ /dev/null @@ -1,14 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system edit -# "ant.properties", and override values to adapt the script to your -# project structure. -# -# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): -#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt - -# Project target. -target=android-19 diff --git a/src_android/res/drawable-hdpi/icon.png b/src_android/res/drawable-hdpi/icon.png deleted file mode 100644 index 34a6155e..00000000 Binary files a/src_android/res/drawable-hdpi/icon.png and /dev/null differ diff --git a/src_android/res/drawable-ldpi/icon.png b/src_android/res/drawable-ldpi/icon.png deleted file mode 100644 index cc72255f..00000000 Binary files a/src_android/res/drawable-ldpi/icon.png and /dev/null differ diff --git a/src_android/res/drawable-mdpi/icon.png b/src_android/res/drawable-mdpi/icon.png deleted file mode 100644 index 72713a97..00000000 Binary files a/src_android/res/drawable-mdpi/icon.png and /dev/null differ diff --git a/src_android/res/values/strings.xml b/src_android/res/values/strings.xml deleted file mode 100644 index 32fbdda2..00000000 --- a/src_android/res/values/strings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - raylib -