Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: .travis/prepare-prebuilt-v8.sh

Issue 29783566: Issue 6596 - update to work with v8 6.7.288.11 (Closed) Base URL: https://github.com/adblockplus/libadblockplus@99836840e314b7941fdb51cb2b91f23ca3ee3414
Patch Set: Created May 16, 2018, 10:17 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « .travis.yml ('k') | Makefile » ('j') | README.md » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 set -x 3 set -x
4 set -e 4 set -e
5 5
6 wget ${URL_PREFIX}include.7z -O third_party/v8-include.7z 6 wget ${URL_PREFIX}include.7z -O third_party/v8-include.7z
7 7z x third_party/v8-include.7z -othird_party/prebuilt-v8 7 7z x third_party/v8-include.7z -othird_party/prebuilt-v8
8 8
9 if [[ "${BUILD_ACTION}" = "android_arm" ]]; then 9 PREBUILT_V8_ARCHIVE=${TARGET_OS}-${TARGET_ARCH}-${Configuration}.tar.xz
10 PREBUILT_V8_ARCHIVE=android-arm-release.tar.xz 10
11 elif [[ "${BUILD_ACTION}" = "android_arm64" ]]; then 11 if [[ "${TARGET_OS}" != "android" ]]; then
12 PREBUILT_V8_ARCHIVE=android-arm64-release.tar.xz 12 if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
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 13 PREBUILT_V8_ARCHIVE=osx-x64-debug.tar.xz
18 else 14 elif [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
19 PREBUILT_V8_ARCHIVE=u14.04-x64-debug.tar.xz 15 PREBUILT_V8_ARCHIVE=u14.04-x64-debug.tar.xz
20 fi 16 fi
21 fi 17 fi
22 18
23 wget ${URL_PREFIX}/${PREBUILT_V8_ARCHIVE} -O third_party/v8-prebuilt.tar.xz 19 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 20 tar -xJf third_party/v8-prebuilt.tar.xz -C third_party/prebuilt-v8
OLDNEW
« no previous file with comments | « .travis.yml ('k') | Makefile » ('j') | README.md » ('J')

Powered by Google App Engine
This is Rietveld