summaryrefslogtreecommitdiffstats
path: root/cmake/platform/android
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 18:07:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 18:07:22 +0000
commitc04dcc2e7d834218ef2d4194331e383402495ae1 (patch)
tree7333e38d10d75386e60f336b80c2443c1166031d /cmake/platform/android
parentInitial commit. (diff)
downloadkodi-c04dcc2e7d834218ef2d4194331e383402495ae1.tar.xz
kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.zip
Adding upstream version 2:20.4+dfsg.upstream/2%20.4+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cmake/platform/android')
-rw-r--r--cmake/platform/android/android.cmake7
-rw-r--r--cmake/platform/android/defines.txt1
2 files changed, 8 insertions, 0 deletions
diff --git a/cmake/platform/android/android.cmake b/cmake/platform/android/android.cmake
new file mode 100644
index 0000000..2c4fbb4
--- /dev/null
+++ b/cmake/platform/android/android.cmake
@@ -0,0 +1,7 @@
+set(PLATFORM_REQUIRED_DEPS LibAndroidJNI OpenGLES EGL LibZip)
+set(APP_RENDER_SYSTEM gles)
+
+# Store SDK compile version
+set(TARGET_SDK 33)
+# Minimum supported SDK version
+set(TARGET_MINSDK 21)
diff --git a/cmake/platform/android/defines.txt b/cmake/platform/android/defines.txt
new file mode 100644
index 0000000..4b70e59
--- /dev/null
+++ b/cmake/platform/android/defines.txt
@@ -0,0 +1 @@
+-DTARGET_POSIX -DTARGET_LINUX -DTARGET_ANDROID