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

Build sdk for x86 and x86_64 ABIs too #400

Closed
wants to merge 4 commits into from

Conversation

ShootingKing-AM
Copy link

  • Since this Support for Android Studio x86 emulator? #13 is long solved and x86 are needed for running faster emulator (testing), why not build those ABIs too ?
  • Google now enforces x86 images to be run latest android version avds
  • Also otherwise for larger compatibility.

@google-cla
Copy link

google-cla bot commented Apr 12, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@arilow
Copy link

arilow commented Apr 13, 2023

Thanks for your contribution @ShootingKing-AM !

As stated above, please sign the Contributor License Agreement (CLA) in order to contribute to Cardboard.

Once the CLA is signed, we can start the review process.

Thanks!

@ShootingKing-AM
Copy link
Author

Thanks for your contribution @ShootingKing-AM !

As stated above, please sign the Contributor License Agreement (CLA) in order to contribute to Cardboard.

Once the CLA is signed, we can start the review process.

Thanks!

Thanks for your reply, i actually signed it already.

@google-cla google-cla bot added cla: yes and removed cla: no labels Apr 16, 2023
@ShootingKing-AM
Copy link
Author

  • Updated CI to bump JDK to fix compiler exception
  • Now builds hellocarboard for x86_64 and x86 too (can act as compile time test)

@arilow
Copy link

arilow commented Apr 26, 2023

Thanks @ShootingKing-AM for your pull request!

Internally, we have have divided it in 2:

  • The fix for CI: This has been merged internally and will be part of release v1.21.0.
  • Adding builds for x86 and x86_64 ABIs: We tested this and found that the size of the generated AAR file would increase significantly. That's why we have decided not to merge this change and instead add a new section to the quickstart explaining how to build for x86 and x86_64 ABIs if someone wants to test their app with the emulator.

Thanks for contributing to Cardboard!

@ShootingKing-AM
Copy link
Author

  • Adding builds for x86 and x86_64 ABIs: We tested this and found that the size of the generated AAR file would increase significantly. That's why we have decided not to merge this change and instead add a new section to the quickstart explaining how to build for x86 and x86_64 ABIs if someone wants to test their app with the emulator.

Nice idea ! Balancing both developer and user interests !

Thanks for your support.

@xinyunh0929
Copy link
Contributor

This was fixed in v1.21.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 1.21
Development

Successfully merging this pull request may close these issues.

3 participants