Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 4.0.0 agdk and switch to grafted android-games-sdk-rs repo #191

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jb55
Copy link

@jb55 jb55 commented Mar 14, 2025

This is an alternative to:

This switches to an agdk submodule with our patches applied to both 4.0.0 and 2.0.2 for testing.

This compiles cleanly!

Things left to do

  • move android-game-sdk-rs to rust-mobile org ?
  • fix bindings generation script
  • regenerate bindings (stuck here)
  • update NativeAppGlueAppCmd_APP_CMD_ after generating bindings (stuck here)
  • test!

Fixes #185

Fixes #189

Fixes #188

Fixes #190

Fixes #186

We are going to use a submodule so that it is easier to track and rebase
our local changes onto new versions of android-games-sdk

Signed-off-by: William Casarin <[email protected]>
@jb55
Copy link
Author

jb55 commented Mar 14, 2025

going to update this to not use submodules, but to use a similar structure so that it maps nicer to the external repo. as per:

It would be nice to have android-game-sdk-rs host on rust-mobile so that I can reference it in the docs in the subdir:

@jb55 jb55 changed the title Update to 4.0.0 agdk and switch to android-games-sdk-rs submodule Update to 4.0.0 agdk and switch to grafted android-games-sdk-rs repo Mar 14, 2025
@jb55 jb55 marked this pull request as draft March 14, 2025 17:52
Also includes our patches on top (branch android-activity-2.0.2). This
is mainly to test to make sure everything is still working. We will
switch to the android-activity-4.0.0 branch when we're done

Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 force-pushed the agdk-submodule branch 2 times, most recently from fc9439c to 89600ed Compare March 14, 2025 18:43
Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 marked this pull request as ready for review March 14, 2025 19:31
@jb55 jb55 marked this pull request as draft March 14, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant