OLD | NEW |
(Empty) | |
| 1 #!/usr/bin/env bash |
| 2 |
| 3 set -x |
| 4 set -e |
| 5 |
| 6 wget ${URL_PREFIX}include.7z -O third_party/v8-include.7z |
| 7 7z x third_party/v8-include.7z -othird_party/prebuilt-v8 |
| 8 |
| 9 if [[ "${BUILD_ACTION}" = "android_arm" ]]; then |
| 10 PREBUILT_V8_ARCHIVE=android-arm-release.tar.xz |
| 11 elif [[ "${BUILD_ACTION}" = "android_arm64" ]]; then |
| 12 PREBUILT_V8_ARCHIVE=android-arm64-release.tar.xz |
| 13 elif [[ "${BUILD_ACTION}" = "android_x86" ]]; then |
| 14 PREBUILT_V8_ARCHIVE=android-x86-release.tar.xz |
| 15 else |
| 16 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then |
| 17 PREBUILT_V8_ARCHIVE=osx-x64-debug.tar.xz |
| 18 else |
| 19 PREBUILT_V8_ARCHIVE=u14.04-x64-debug.tar.xz |
| 20 fi |
| 21 fi |
| 22 |
| 23 wget ${URL_PREFIX}/${PREBUILT_V8_ARCHIVE} -O third_party/v8-prebuilt.tar.xz |
| 24 tar -xJf third_party/v8-prebuilt.tar.xz -C third_party/prebuilt-v8 |
OLD | NEW |