Document Viewer: separate build for each arch.

* Rationale: build for a single arch is 3.9 MB vs the current 9.9 MB for only 4 archs.
* Upstream doesn't increment the least digit of vercode, hence use it to
  differentiate between archs.
This commit is contained in:
أحمد المحمودي (Ahmed El-Mahmoudy) 2015-07-23 13:57:45 +02:00
parent 2a10c80d9b
commit a25cf6eee1

View file

@ -111,10 +111,117 @@ Build:2.7.3,2730
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2731
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := armeabi" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
ndk=r10e
forcevercode=yes
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2732
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := armeabi-v7a" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2733
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := x86" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2734
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := mips" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2735
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := arm64-v8a" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2736
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := x86_64" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Build:2.7.3,2737
commit=v2.7.3
subdir=document-viewer
submodules=yes
gradle=yes
ndk=r10e
forcevercode=yes
prebuild=sed -i -e '/splits/,+7d' build.gradle && \
sed -i -e '/applicationVariants\.all/,+5d' build.gradle && \
sed -i -e '/ext\.versionCode/d' build.gradle && \
echo "APP_ABI := mips64" > jni/Application.mk && \
pushd ../ && ./init.sh && popd
scandelete=document-viewer/jni/mupdf/mupdf/build/debug/
buildjni=yes
Maintainer Notes:
Check init.sh from time to time.
* Check init.sh from time to time.
* Archive policy last three upstream releases
.
Archive Policy:10 versions
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:2.7.3