Index: .travis/prepare-prebuilt-v8.sh |
diff --git a/.travis/prepare-prebuilt-v8.sh b/.travis/prepare-prebuilt-v8.sh |
new file mode 100644 |
index 0000000000000000000000000000000000000000..35d2d317b9ea9cf08ec25b161cfac1369cfafb36 |
--- /dev/null |
+++ b/.travis/prepare-prebuilt-v8.sh |
@@ -0,0 +1,18 @@ |
+#!/usr/bin/env bash |
+ |
+set -x |
+set -e |
+ |
+wget ${URL_PREFIX}include.7z -O third_party/v8-include.7z |
+7z x third_party/v8-include.7z -othird_party/prebuilt-v8 |
+ |
+if [[ "${BUILD_ACTION}" = "android_arm" ]]; then |
+PREBUILT_V8_ARCHIVE=android-arm-release.tar.xz |
+elif [[ "${BUILD_ACTION}" = "android_x86" ]]; then |
+PREBUILT_V8_ARCHIVE=android-x86-release.tar.xz |
+else |
+PREBUILT_V8_ARCHIVE=u14.04-x64-debug.tar.xz |
sergei
2017/07/26 12:52:52
Travis-CI runs ubuntu 14.04 which seems does not s
|
+fi |
+ |
+wget ${URL_PREFIX}/${PREBUILT_V8_ARCHIVE} -O third_party/v8-prebuilt.tar.xz |
+tar -xJf third_party/v8-prebuilt.tar.xz -C third_party/prebuilt-v8 |