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

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

Issue 29812619: Issue 6756 - fix build for android-ia32 (Closed) Base URL: https://github.com/adblockplus/libadblockplus@2fea9bc22a8ce8ef31a6ddbe9a3dfdfea8290444
Patch Set: Created June 21, 2018, 3:03 p.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') | no next file with comments »
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 if [[ ! -d "third_party/prebuilt-v8/include" ]]; then 6 if [[ ! -d "third_party/prebuilt-v8/include" ]]; then
7 wget ${URL_PREFIX}include.7z -O third_party/v8-include.7z 7 wget ${URL_PREFIX}include.7z -O third_party/v8-include.7z
8 7z x third_party/v8-include.7z -othird_party/prebuilt-v8 8 7z x third_party/v8-include.7z -othird_party/prebuilt-v8
9 fi 9 fi
10 10
11 PREBUILT_V8_ARCHIVE=${TARGET_OS}-${TARGET_ARCH}-${Configuration}.tar.xz 11 PREBUILT_V8_ARCHIVE=${TARGET_OS}-${ABP_TARGET_ARCH}-${Configuration}.tar.xz
12 12
13 if [[ "${TARGET_OS}" != "android" ]]; then 13 if [[ "${TARGET_OS}" != "android" ]]; then
14 if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then 14 if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
15 PREBUILT_V8_ARCHIVE=osx-x64-debug.tar.xz 15 PREBUILT_V8_ARCHIVE=osx-x64-debug.tar.xz
16 elif [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then 16 elif [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
17 PREBUILT_V8_ARCHIVE=u14.04-x64-debug.tar.xz 17 PREBUILT_V8_ARCHIVE=u14.04-x64-debug.tar.xz
18 fi 18 fi
19 fi 19 fi
20 20
21 wget ${URL_PREFIX}/${PREBUILT_V8_ARCHIVE} -O third_party/v8-prebuilt.tar.xz 21 wget ${URL_PREFIX}/${PREBUILT_V8_ARCHIVE} -O third_party/v8-prebuilt.tar.xz
22 mkdir -p third_party/prebuilt-v8/${TARGET_OS}-${TARGET_ARCH}-${Configuration} 22 mkdir -p third_party/prebuilt-v8/${TARGET_OS}-${ABP_TARGET_ARCH}-${Configuration }
23 tar -xJf third_party/v8-prebuilt.tar.xz -C third_party/prebuilt-v8/${TARGET_OS}- ${TARGET_ARCH}-${Configuration} 23 tar -xJf third_party/v8-prebuilt.tar.xz -C third_party/prebuilt-v8/${TARGET_OS}- ${ABP_TARGET_ARCH}-${Configuration}
OLDNEW
« no previous file with comments | « .travis.yml ('k') | Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld