Skip to content

Commit 1026e32

Browse files
committed
Update BUILD.gn
1 parent ca65a17 commit 1026e32

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build-tools/BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
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+
}
7+
48
static_library("c_v8") {
59
complete_static_lib = true
610

build-tools/build_v8.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}\""
3737
fi
3838
if [ "${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}\""
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"
4040
fi
4141

4242
TARGET_ARCH=${ARCH}

0 commit comments

Comments
 (0)