-
Notifications
You must be signed in to change notification settings - Fork 321
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
android support 64 bit #270
Conversation
I need to use sysroot from $ANDROID_NDK_HOME/sysroot for all android builds |
5faa334
to
b3cd171
Compare
It seems I have a panic in cargo-gn, I'll investigate it EDIT 1:
|
b3cd171
to
4c207dc
Compare
|
aa17a18
to
ae5169f
Compare
After digging a lot, and lost a lot of time, I will try to setup v8 from scratch directly with depot_tools to avoid the current configuration that could cause failures and use cargo_gn to build it. |
After digging today with depot_tools, I start to understand why you choose to use chromium like deps tree since lot of deps doesn't use //v8 path (exemple: libc++ with visibility on //buildtools and not //v8/buildtools). |
beac9e8
to
f62a68c
Compare
Awesome that you got this working.
|
7129d1a
to
f64e60f
Compare
Hello ! Don't have so much time but I'll give it a try this week (or week end), I want it done too :) |
45cd23c
to
460fa61
Compare
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
460fa61
to
2ea029b
Compare
Builds are successful but tests fail after
|
We want to support android. |
Okay 👍 |
for anyone who might consider trying to hack on this, may be interesting to check out #589 to see what can be gained. my uneducated personal suspicion is that aarch64-unknown-linux and aarch64-android-linux are very different but perhaps some techniques can be borrowed. |
run get this error
|
i see a project https://github.com/NativeScript/android-v8 |
This PR is very old. We would like to support Android - but we need to build and test (emulated) in a reasonable amount of time. The diffs provided here will help us in the future when we attempt to undertake this feature. But for now, I am closing this because it is not mergeable. Thank you @90dy |
Yes, no problem. Sorry to not having time to finish this. And hope I can help you later ✌️ |
FYI this is most likely to be a QEMU bug. I am able to run all the tests perfectly fine on real device (Redmi 8 Android 11) :
|
see https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md
ref denoland/deno#3839
Successful build on aarch-linux-android and x86_64-linux-android 🙌
Other arch (arm and i686) are not currently available
How to
Clone the repo
Install cross
Build aarch64
Build x86_64