Skip to content

Commit

Permalink
Merge pull request #16342 from hrydgard/gradle-upgrade
Browse files Browse the repository at this point in the history
Gradle upgrade, lock NDK version
  • Loading branch information
hrydgard committed Nov 6, 2022
2 parents 15fdb54 + 4d81506 commit 6873444
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Common/VR/PPSSPPVR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ bool IsVRBuild() {
}

#if PPSSPP_PLATFORM(ANDROID)
void InitVROnAndroid(void* vm, void* activity, const char* system, int version, char* name) {
void InitVROnAndroid(void* vm, void* activity, const char* system, int version, const char* name) {

//Get device vendor (uppercase)
char vendor[64];
Expand Down
4 changes: 2 additions & 2 deletions Common/VR/PPSSPPVR.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ enum VRCompatFlag {

// VR app flow integration
bool IsVRBuild();
void InitVROnAndroid(void* vm, void* activity, const char* system, int version, char* name);
void InitVROnAndroid(void* vm, void* activity, const char* system, int version, const char* name);
void EnterVR(bool firstStart, void* vulkanContext);
void GetVRResolutionPerEye(int* width, int* height);
void UpdateVRInput(bool(*NativeKey)(const KeyInput &key), bool(*NativeTouch)(const TouchInput &touch), bool haptics, float dp_xscale, float dp_yscale);
Expand Down Expand Up @@ -50,7 +50,7 @@ void UpdateVRView(float* leftEye, float* rightEye);

// VR app flow integration
inline bool IsVRBuild() { return false; }
inline void InitVROnAndroid(void* vm, void* activity, const char* system, int version, char* name) {}
inline void InitVROnAndroid(void* vm, void* activity, const char* system, int version, const char* name) {}
inline void EnterVR(bool firstTime, void* vulkanContext) {}
inline void GetVRResolutionPerEye(int* width, int* height) {}
inline void UpdateVRInput(bool(*NativeKey)(const KeyInput &key), bool(*NativeTouch)(const TouchInput &touch), bool haptics, float dp_xscale, float dp_yscale) {}
Expand Down
2 changes: 2 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ android {
}
}
compileSdkVersion 32
ndkVersion "21.4.7075529"

defaultConfig {
applicationId 'org.ppsspp.ppsspp'
if (androidGitVersion.name() != "unknown" && androidGitVersion.code() >= 14000000) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
classpath 'com.android.tools.build:gradle:7.3.1'
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
android.useAndroidX=true
android.enableJetifier=true

0 comments on commit 6873444

Please sign in to comment.