[woff2] Do actual checkout in build.sh. Use dummy repo in Jenkinsfile.

This commit is contained in:
Max Moroz 2016-10-13 00:09:18 +02:00
parent 92c1c481d0
commit 1eddcd93ca
2 changed files with 8 additions and 6 deletions

4
woff2/Jenkinsfile vendored
View File

@ -19,5 +19,7 @@ def libfuzzerBuild = fileLoader.fromGit('infra/libfuzzer-pipeline.groovy',
'master', null, '')
libfuzzerBuild {
git = "https://github.com/google/woff2"
// We need to do 'clone --recursive' (to checkout submodules as well).
// The below is just a dummy. Actual checkout is being done in build.sh.
git = "https://github.com/google/oss-fuzz"
}

View File

@ -15,14 +15,14 @@
#
################################################################################
cd /src/woff2
# Checkout and update submodules.
git submodule init || true
git submodule update --recursive
# Checkout woff2 repository with submodules.
mkdir -p /work/woff2
cd /work/woff2
git clone https://github.com/google/woff2 --recursive
# Build the library. Actually there is no 'library' target, so we use .o files.
# '-no-canonical-prefixes' flag makes clang crazy. Need to avoid it.
cd woff2
cat brotli/shared.mk | sed -e "s/-no-canonical-prefixes//" \
> brotli/shared.mk.temp
mv brotli/shared.mk.temp brotli/shared.mk