You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to build Thorium for Android and I ran into a compilation error I can't understand. Any help would be sincerely appreciated.
Building done on a fresh install of Ubuntu 22.04. The steps followed were from BUILDING.md but I tried adding the missing steps to build for Android. Please let me know if I missed some step or made some mistake here:
Install depot_tools
Clone Thorium
Clone Chromium: fetch --nohooks chromium
Run ./build/install-build-deps.sh --no-nacl --android
Edit chromium/.gclient, add line at end target_os = ["android"]
gclient sync
Run ./trunk.sh
Edit version.sh, add line near end with --target=android-arm64 so it downloads that PGO profile. Run it
Run ./setup.sh --android
Update last line of ~/thorium/arm/android/android_arm64_args.gn with path of downloaded android arm64 PGO file
Paste contents of args.gn file when running gn args out/thorium
@vsharkovski Sorry you're having issues. M124 is almost out (I'm building the Linux versions right now). I will build the Android versions next, and fix any building issues that may occur.) When I am sure that it is good on my end, I will let you know here so you can try compiling again. If you have issues then we know it is on your end, and then I can help you with any issues you encounter
@vsharkovski I ran into the same issue. I fixed it, and can confirm that both arm32 and arm64 Android can be built properly now. Can you do a git pull and git submodule update --remote (for the libjxl submodule) to get the latest Thorium, and then try your build again.
Hi, I am trying to build Thorium for Android and I ran into a compilation error I can't understand. Any help would be sincerely appreciated.
Building done on a fresh install of Ubuntu 22.04. The steps followed were from BUILDING.md but I tried adding the missing steps to build for Android. Please let me know if I missed some step or made some mistake here:
fetch --nohooks chromium
./build/install-build-deps.sh --no-nacl --android
chromium/.gclient
, add line at endtarget_os = ["android"]
gclient sync
./trunk.sh
version.sh
, add line near end with--target=android-arm64
so it downloads that PGO profile. Run it./setup.sh --android
~/thorium/arm/android/android_arm64_args.gn
with path of downloaded android arm64 PGO filegn args out/thorium
./build_android.sh --arm64 4
Here is the failing console output:
Thanks in advance, love the project btw.
The text was updated successfully, but these errors were encountered: