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

cmd/ebitenmobile: embed and modify gomobile to reduce dependencies #2748

Closed
2 of 10 tasks
hajimehoshi opened this issue Sep 6, 2023 · 2 comments
Closed
2 of 10 tasks

Comments

@hajimehoshi
Copy link
Owner

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • Xbox
  • Web Browsers

What feature would you like to be added?

Like what we did for GLFW, we can clone the gomobile code into this repository and modify it. Now gomobile has dependencies on golang.org/x/exp/shiny, but this is not necessary for Ebitengine.

The cons is that we would have to pay costs to sync the original gomobile and the cloned gomobile.

Why is this needed?

The less dependencies, the happier we are. Especially, golang.org/x/exp and golang.org/x/exp/shiny caused some troubles (golang/go#62458).

@hajimehoshi
Copy link
Owner Author

Another motivation is #2741

@hajimehoshi
Copy link
Owner Author

This is a sligh breaking change as users have to use Ebitengine's RunOnJVM for Android if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant