File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393 V8_FROM_SOURCE : 1
9494 # Set API level
9595 ANDROID_NDK_API_LEVEL : ' 24'
96+ # Python for V8 build scripts
97+ PYTHON : python3
9698 # Linkers
9799 CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER : aarch64-linux-android24-clang
98100 CARGO_TARGET_X86_64_LINUX_ANDROID_LINKER : x86_64-linux-android24-clang
@@ -103,8 +105,10 @@ jobs:
103105 CC_x86_64_linux_android : x86_64-linux-android24-clang
104106 CXX_x86_64_linux_android : x86_64-linux-android24-clang++
105107 AR_x86_64_linux_android : llvm-ar
106- # GN args for V8 build
107- EXTRA_GN_ARGS : ' android_ndk_api_level=24 use_jumbo_build=true'
108+ # GN args for V8 build - disable Rust to avoid the missing file error
109+ EXTRA_GN_ARGS : ' android_ndk_api_level=24 use_jumbo_build=true enable_rust=false'
110+ # Set target CPU for GN
111+ GN_ARGS : ' target_os="android" target_cpu="${{ matrix.arch == '' aarch64'' && '' arm64'' || '' x64'' }}"'
108112 run : |
109113 cargo build --target ${{ matrix.arch }}-linux-android --locked
110114
You can’t perform that action at this time.
0 commit comments