Skip to content

Commit 1de1f35

Browse files
committed
Update dependencies to make AGDKTunnel 16kb page size compatible
1 parent 1ebd635 commit 1de1f35

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

agdk/agdktunnel/app/build.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def playcoreDir = file('libs/play-core-native-sdk')
2727

2828
android {
2929
compileSdkVersion 36
30-
ndkVersion '27.2.12479018'
30+
ndkVersion "28.0.12674087"
3131

3232
defaultConfig {
3333
applicationId 'com.google.sample.agdktunnel'
@@ -112,13 +112,12 @@ dependencies {
112112
implementation "androidx.core:core:1.5.0"
113113
implementation "androidx.constraintlayout:constraintlayout:2.0.4"
114114
implementation 'androidx.fragment:fragment:1.2.5'
115-
implementation 'com.google.oboe:oboe:1.5.0'
116-
implementation "androidx.games:games-frame-pacing:2.1.2"
115+
implementation 'com.google.oboe:oboe:1.10.0'
116+
implementation "androidx.games:games-frame-pacing:2.1.3"
117117
implementation "androidx.games:games-activity:3.0.5"
118118
implementation "androidx.games:games-controller:2.0.2"
119119

120-
// Dependency for using APIs wrapped using library wrapper
121-
implementation 'com.google.android.gms:play-services-gni-native-c:1.0.0-beta2'
120+
implementation "com.google.android.gms:play-services-games-v2-native-c:21.0.0-beta1"
122121

123122
// Google Play Games dependencies
124123
implementation "com.google.android.gms:play-services-games-v2:17.0.0"

agdk/agdktunnel/app/src/main/cpp/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ find_package(oboe REQUIRED CONFIG)
2222
find_package(game-activity REQUIRED CONFIG)
2323
find_package(games-controller REQUIRED CONFIG)
2424
find_package(games-frame-pacing REQUIRED CONFIG)
25-
find_package(com.google.android.gms.gni.c REQUIRED CONFIG)
25+
find_package(com.google.android.gms.games.v2.c REQUIRED CONFIG)
2626

2727
# Set the base dir
2828
set(GAMESDK_BASE_DIR "../../../../..")
@@ -152,7 +152,7 @@ target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
152152

153153
# add lib dependencies
154154
target_link_libraries(${CMAKE_PROJECT_NAME}
155-
PUBLIC com.google.android.gms.gni.c::gni_shared
155+
PUBLIC com.google.android.gms.games.v2.c::games_static
156156
android
157157
atomic
158158
c++
@@ -178,3 +178,5 @@ else()
178178

179179
target_link_libraries(${CMAKE_PROJECT_NAME} playcore)
180180
endif()
181+
182+
target_link_options(${CMAKE_PROJECT_NAME} PRIVATE "-Wl,-z,max-page-size=16384")

0 commit comments

Comments
 (0)