diff --git a/patches/v8_shared_library.patch b/patches/v8_shared_library.patch index e8ab6f1..c5d758f 100644 --- a/patches/v8_shared_library.patch +++ b/patches/v8_shared_library.patch @@ -58,8 +58,8 @@ index c486f1a..6aeb762 100644 @@ -3813,6 +3805,23 @@ v8_static_library("wee8") { ] } - -+v8_loadable_module("libv8") { + ++v8_loadable_module("libv8android") { + defines = [ "BUILDING_V8_SHARED" ] + + sources = [ diff --git a/scripts/build.sh b/scripts/build.sh index 48e4949..afe4e8a 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -72,12 +72,12 @@ function build_arch() if [[ ${MKSNAPSHOT_ONLY} -eq "1" ]]; then date ; ninja ${NINJA_PARAMS} -C out.v8.$arch run_mksnapshot_default ; date else - date ; ninja ${NINJA_PARAMS} -C out.v8.$arch libv8 ; date + date ; ninja ${NINJA_PARAMS} -C out.v8.$arch libv8android ; date mkdir -p $BUILD_DIR/lib/$arch_for_android - cp -f out.v8.$arch/libv8.so $BUILD_DIR/lib/$arch_for_android/libv8.so + cp -f out.v8.$arch/libv8android.so $BUILD_DIR/lib/$arch_for_android/libv8android.so mkdir -p $BUILD_DIR/lib.unstripped/$arch_for_android - cp -f out.v8.$arch/lib.unstripped/libv8.so $BUILD_DIR/lib.unstripped/$arch_for_android/libv8.so + cp -f out.v8.$arch/lib.unstripped/libv8android.so $BUILD_DIR/lib.unstripped/$arch_for_android/libv8android.so fi mkdir -p $BUILD_DIR/tools/$arch_for_android