OpenXR - Rename Quest build variant

This commit is contained in:
Lubos 2022-09-24 21:16:57 +02:00
parent c3b4caa30b
commit ca77240f36
2 changed files with 6 additions and 6 deletions

View File

@ -103,7 +103,7 @@ android {
gold {
res.srcDirs = ['gold/res']
}
quest {
vr_quest {
manifest.srcFile 'QuestManifest.xml'
}
}
@ -145,7 +145,7 @@ android {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
}
}
quest {
vr_quest {
applicationId 'org.ppsspp.ppsspp'
dimension "variant"
externalNativeBuild {
@ -171,9 +171,9 @@ android {
'normalOptimized', // for testing
'normalRelease', // for Google Play releases
'goldRelease', // for Google Play releases
'questDebug', // for VR debugging
'questOptimized', // for VR testing
'questRelease', // for VR releases
'vr_questDebug', // for VR debugging on Quest
'vr_questOptimized',// for VR testing on Quest
'vr_questRelease', // for VR releases on Quest
]
variant.setIgnore(!needed)
}

View File

@ -1547,6 +1547,6 @@ public abstract class NativeActivity extends Activity {
}
private boolean isVRDevice() {
return BuildConfig.FLAVOR.compareTo("quest") == 0;
return BuildConfig.FLAVOR.startsWith("vr_") == 0;
}
}