File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ jobs:
176176 OS : android
177177 ARCH : arm64
178178 ANDROID_NDK_VERSION : r28
179+ HOST_ARCH : x64
179180 runs-on : ubuntu-22.04
180181 steps :
181182 - name : Set up JDK 17
Original file line number Diff line number Diff line change 11# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
22# Based on https://github.com/denoland/rusty_v8/blob/main/BUILD.gn
33
4- if (target_os == " android" ) {
5- import (" //build/config/android/config.gni" )
6- }
4+ # if (target_os == "android") {
5+ # import("//build/config/android/config.gni")
6+ # }
77
88static_library (" c_v8" ) {
99 complete_static_lib = true
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ if [ "${OS}" = "ios" ]; then
3636 EXTRA_ARGS=" v8_enable_pointer_compression=false v8_enable_webassembly=false target_environment=\" ${TARGET_ENVIRONMENT} \" "
3737fi
3838if [ " ${OS} " = " android" ]; then
39- EXTRA_ARGS=" v8_enable_pointer_compression=false v8_enable_webassembly=false is_component_build=false v8_target_cpu=\" ${ARCH} \" use_custom_libcxx=false android_ndk_root=\" ${ANDROID_NDK_ROOT} \" android_ndk_version=\" ${ANDROID_NDK_VERSION} \" android_ndk_major_version=26 "
39+ EXTRA_ARGS=" v8_enable_pointer_compression=false v8_enable_webassembly=false is_component_build=false v8_target_cpu=\" ${ARCH} \" use_custom_libcxx=false android_ndk_root=\" ${ANDROID_NDK_ROOT} \" android_ndk_version=\" ${ANDROID_NDK_VERSION} \" android_ndk_major_version=28 "
4040fi
4141
4242TARGET_ARCH=${ARCH}
@@ -52,7 +52,7 @@ tools/gn \
5252 --args="
5353 target_os=\" ${OS} \"
5454 target_cpu=\" ${TARGET_ARCH} \"
55- host_cpu=\" ${TARGET_ARCH } \"
55+ host_cpu=\" ${HOST_ARCH } \"
5656 is_debug=${IS_DEBUG}
5757 symbol_level=${SYMBOL_LEVEL}
5858 is_official_build=false ${EXTRA_ARGS}
You can’t perform that action at this time.
0 commit comments