From ec22cee96a1843ab7e6ff8fe8409a360cdff6705 Mon Sep 17 00:00:00 2001 From: Lubos Date: Sat, 24 Sep 2022 21:22:55 +0200 Subject: [PATCH] OpenXR - Add manifest for Pico --- android/PicoManifest.xml | 19 +++++++++++++++++++ android/build.gradle | 25 +++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 android/PicoManifest.xml diff --git a/android/PicoManifest.xml b/android/PicoManifest.xml new file mode 100644 index 0000000000..081b497ec9 --- /dev/null +++ b/android/PicoManifest.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + diff --git a/android/build.gradle b/android/build.gradle index cdb28b5d50..f9e08f0fa1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -103,6 +103,9 @@ android { gold { res.srcDirs = ['gold/res'] } + vr_pico { + manifest.srcFile 'PicoManifest.xml' + } vr_quest { manifest.srcFile 'QuestManifest.xml' } @@ -145,6 +148,25 @@ android { abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' } } + vr_pico { + applicationId 'org.ppsspp.ppsspp' + dimension "variant" + externalNativeBuild { + cmake { + // Available arguments listed at https://developer.android.com/ndk/guides/cmake.html + arguments '-DANDROID=true', + '-DANDROID_PLATFORM=android-16', + '-DANDROID_TOOLCHAIN=clang', + '-DANDROID_CPP_FEATURES=', + '-DANDROID_STL=c++_static', + '-DANDROID_ARM_NEON=TRUE', + '-DOPENXR=TRUE' + } + } + ndk { + abiFilters 'arm64-v8a' + } + } vr_quest { applicationId 'org.ppsspp.ppsspp' dimension "variant" @@ -171,6 +193,9 @@ android { 'normalOptimized', // for testing 'normalRelease', // for Google Play releases 'goldRelease', // for Google Play releases + 'vr_picoDebug', // for VR debugging on Pico + 'vr_picoOptimized', // for VR testing on Pico + 'vr_picoRelease', // for VR releases on Pico 'vr_questDebug', // for VR debugging on Quest 'vr_questOptimized',// for VR testing on Quest 'vr_questRelease', // for VR releases on Quest