mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
OpenXR - Rename Quest build variant
This commit is contained in:
parent
c3b4caa30b
commit
ca77240f36
@ -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)
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user