Update Klar to v.8.0.15

This commit is contained in:
Ruslan Boitsov 2019-07-10 12:12:34 +00:00 committed by Licaon_Kter
parent c76faf8128
commit 4c3ad8ff6d
3 changed files with 222 additions and 1 deletions

View file

@ -128,11 +128,228 @@ Build:6.1.1,22
sed -i -E -e '/(focus|arm|x86|aarch64)Implementation/d' build.gradle && \ sed -i -E -e '/(focus|arm|x86|aarch64)Implementation/d' build.gradle && \
sed -i -e '/maven {/,/}$/d' -e '/The Google Play Store does not allow multiple APKs/,+18d' build.gradle sed -i -e '/maven {/,/}$/d' -e '/The Google Play Store does not allow multiple APKs/,+18d' build.gradle
Build:8.0.15,230
commit=v8.0.15
timeout=28800
subdir=app
sudo=apt-get update || apt-get update && \
apt-get install -y libgmp-dev libmpfr-dev libmpc-dev && \
apt remove -y gcc g++ && \
apt -t stretch-backports install -y clang-6.0 llvm-6.0 && \
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 100 && \
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-6.0 100 && \
update-alternatives --install /usr/bin/cc cc /usr/bin/clang-6.0 100 && \
update-alternatives --install /usr/bin/cxx cxx /usr/bin/clang++-6.0 100
gradle=klar,arm
srclibs=MozAndroidComponents@v0.56.0,MozFennecBeta@FENNEC_68_0b13_RELEASE,MozLocales@b071e8a820297017fc9dc4a0385a415ebd0b25d6,rustup@1.18.3
prebuild=echo 'ext { generatedVersionCode = $$VERCODE$$ }' > ../tools/gradle/versionCode.gradle && \
sed -i -E -e '/(focus|x86|aarch64)Implementation/d' build.gradle && \
sed -i -e '/maven {/,/}$/d' -e '/The Google Play Store does not allow multiple APKs/d' build.gradle ../build.gradle && \
cp -r $$MozAndroidComponents$$ ../MozAndroidComponents && \
cp -r $$MozFennecBeta$$ ../MozFennecBeta && \
sed -i -e '/maven {/,/}$/d' ../MozAndroidComponents/build.gradle && \
rm -rf ../MozAndroidComponents/components/browser/engine-gecko && \
rm -rf ../MozAndroidComponents/components/browser/engine-gecko-beta && \
rm -rf ../MozAndroidComponents/components/browser/engine-gecko-nightly && \
rm -rf ../MozAndroidComponents/components/browser/engine-servo && \
rm -rf ../MozAndroidComponents/components/browser/storage-sync && \
rm -rf ../MozAndroidComponents/components/feature/accounts && \
rm -rf ../MozAndroidComponents/components/feature/push && \
rm -rf ../MozAndroidComponents/components/feature/sync && \
rm -rf ../MozAndroidComponents/components/lib/push-firebase && \
rm -rf ../MozAndroidComponents/components/service/firefox-accounts && \
rm -rf ../MozAndroidComponents/components/service/sync-logins && \
rm -rf ../MozAndroidComponents/components/support/rustlog && \
cd ../MozFennecBeta && \
bash $$MozLocales$$/prebuild.sh && \
echo "ac_add_options --target=arm-linux-androideabi" >> .mozconfig && \
echo "ac_add_options --with-android-min-sdk=16" >> .mozconfig && \
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" >> .mozconfig && \
echo "ac_add_options --with-android-sdk=\"$$SDK$$\"" >> .mozconfig && \
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
echo "ac_add_options --with-branding=mobile/android/branding/unofficial" >> .mozconfig && \
echo "ac_add_options --with-libclang-path=$$NDK$$/toolchains/llvm/prebuilt/linux-x86_64/lib64/" >> .mozconfig && \
echo "ac_add_options --with-clang-path=$$NDK$$/toolchains/llvm/prebuilt/linux-x86_64/bin/clang" >> .mozconfig && \
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj" >> .mozconfig && \
pushd mobile/android/branding/unofficial/ && \
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec_fd_beta' >> configure.sh && \
echo 'MOZ_APP_DISPLAYNAME="Fennec FD Beta"' >> configure.sh && \
echo 'MOZ_APP_ANDROID_VERSION_CODE=$$VERCODE$$' >> configure.sh && \
sed -i -e 's/Mozilla Fennec/Fennec FD Beta/g' locales/en-US/brand* && \
popd && \
cd ../app
scanignore=MozAndroidComponents/publish.gradle
scandelete=MozAndroidComponents/docs/api/package-list,MozAndroidComponents/components/lib/publicsuffixlist/,MozFennecBeta/intl/icu/source/test,MozFennecBeta/third_party/rust/rust_cascade/test_data,MozFennecBeta/third_party/rust/deflate/tests,MozFennecBeta/third_party/rust/sha-1/tests
build=pushd ../MozFennecBeta && \
$$rustup$$/rustup-init.sh -y && \
source $HOME/.cargo/env && \
rustup default 1.35.0 && \
rustup target add thumbv7neon-linux-androideabi && \
cargo install --force --vers 0.8.7 cbindgen && \
./mach build && \
./mach package && \
gradle publishWithGeckoBinariesReleasePublicationToMavenLocal && \
popd && \
pushd ../MozAndroidComponents && \
echo "allprojects { repositories{ mavenLocal() } }" >> ../MozAndroidComponents/components/lib/crash/build.gradle && \
sed -i -e 's/Gecko.geckoview_nightly/"org.mozilla.geckoview:geckoview-default-armeabi-v7a:68.0.+"/g' ../MozAndroidComponents/components/lib/crash/build.gradle && \
gradle publishAarPublicationToMavenLocal && \
popd && \
echo "allprojects { repositories{ mavenLocal() } }" >> ../build.gradle && \
sed -i -e 's/"org.mozilla.geckoview:geckoview-beta-armeabi-v7a:${geckoview_version}"/"org.mozilla.geckoview:geckoview-default-armeabi-v7a:68.0.+"/g' -e '/versionCode = versionCode +/d' build.gradle
ndk=r18b
Build:8.0.15,231
commit=v8.0.15
timeout=28800
subdir=app
sudo=apt-get update || apt-get update && \
apt-get install -y libgmp-dev libmpfr-dev libmpc-dev && \
apt remove -y gcc g++ && \
apt -t stretch-backports install -y clang-6.0 llvm-6.0 && \
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 100 && \
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-6.0 100 && \
update-alternatives --install /usr/bin/cc cc /usr/bin/clang-6.0 100 && \
update-alternatives --install /usr/bin/cxx cxx /usr/bin/clang++-6.0 100
gradle=klar,aarch64
srclibs=MozAndroidComponents@v0.56.0,MozFennecBeta@FENNEC_68_0b13_RELEASE,MozLocales@b071e8a820297017fc9dc4a0385a415ebd0b25d6,rustup@1.18.3
prebuild=echo 'ext { generatedVersionCode = $$VERCODE$$ }' > ../tools/gradle/versionCode.gradle && \
sed -i -E -e '/(focus|arm|x86)Implementation/d' build.gradle && \
sed -i -e '/maven {/,/}$/d' -e '/The Google Play Store does not allow multiple APKs/d' build.gradle ../build.gradle && \
cp -r $$MozAndroidComponents$$ ../MozAndroidComponents && \
cp -r $$MozFennecBeta$$ ../MozFennecBeta && \
sed -i -e '/maven {/,/}$/d' ../MozAndroidComponents/build.gradle && \
rm -rf ../MozAndroidComponents/components/browser/engine-gecko && \
rm -rf ../MozAndroidComponents/components/browser/engine-gecko-beta && \
rm -rf ../MozAndroidComponents/components/browser/engine-gecko-nightly && \
rm -rf ../MozAndroidComponents/components/browser/engine-servo && \
rm -rf ../MozAndroidComponents/components/browser/storage-sync && \
rm -rf ../MozAndroidComponents/components/feature/accounts && \
rm -rf ../MozAndroidComponents/components/feature/push && \
rm -rf ../MozAndroidComponents/components/feature/sync && \
rm -rf ../MozAndroidComponents/components/lib/push-firebase && \
rm -rf ../MozAndroidComponents/components/service/firefox-accounts && \
rm -rf ../MozAndroidComponents/components/service/sync-logins && \
rm -rf ../MozAndroidComponents/components/support/rustlog && \
cd ../MozFennecBeta && \
bash $$MozLocales$$/prebuild.sh && \
echo "ac_add_options --target=aarch64-linux-android" >> .mozconfig && \
echo "ac_add_options --with-android-min-sdk=21" >> .mozconfig && \
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" >> .mozconfig && \
echo "ac_add_options --with-android-sdk=\"$$SDK$$\"" >> .mozconfig && \
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
echo "ac_add_options --with-branding=mobile/android/branding/unofficial" >> .mozconfig && \
echo "ac_add_options --with-libclang-path=$$NDK$$/toolchains/llvm/prebuilt/linux-x86_64/lib64/" >> .mozconfig && \
echo "ac_add_options --with-clang-path=$$NDK$$/toolchains/llvm/prebuilt/linux-x86_64/bin/clang" >> .mozconfig && \
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj" >> .mozconfig && \
pushd mobile/android/branding/unofficial/ && \
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec_fd_beta' >> configure.sh && \
echo 'MOZ_APP_DISPLAYNAME="Fennec FD Beta"' >> configure.sh && \
echo 'MOZ_APP_ANDROID_VERSION_CODE=$$VERCODE$$' >> configure.sh && \
sed -i -e 's/Mozilla Fennec/Fennec FD Beta/g' locales/en-US/brand* && \
popd && \
cd ../app
scanignore=MozAndroidComponents/publish.gradle
scandelete=MozAndroidComponents/docs/api/package-list,MozAndroidComponents/components/lib/publicsuffixlist/,MozFennecBeta/intl/icu/source/test,MozFennecBeta/third_party/rust/rust_cascade/test_data,MozFennecBeta/third_party/rust/deflate/tests,MozFennecBeta/third_party/rust/sha-1/tests
build=pushd ../MozFennecBeta && \
$$rustup$$/rustup-init.sh -y && \
source $HOME/.cargo/env && \
rustup default 1.35.0 && \
rustup target add aarch64-linux-android && \
cargo install --force --vers 0.8.7 cbindgen && \
./mach build && \
./mach package && \
gradle publishWithGeckoBinariesReleasePublicationToMavenLocal && \
popd && \
pushd ../MozAndroidComponents && \
echo "allprojects { repositories{ mavenLocal() } }" >> ../MozAndroidComponents/components/lib/crash/build.gradle && \
sed -i -e 's/Gecko.geckoview_nightly/"org.mozilla.geckoview:geckoview-default-arm64-v8a:68.0.+"/g' ../MozAndroidComponents/components/lib/crash/build.gradle && \
gradle publishAarPublicationToMavenLocal && \
popd && \
echo "allprojects { repositories{ mavenLocal() } }" >> ../build.gradle && \
sed -i -e 's/"org.mozilla.geckoview:geckoview-beta-arm64-v8a:${geckoview_version}"/"org.mozilla.geckoview:geckoview-default-arm64-v8a:68.0.+"/g' -e '/versionCode = versionCode +/d' build.gradle
ndk=r18b
Build:8.0.15,232
commit=v8.0.15
timeout=28800
subdir=app
sudo=apt-get update || apt-get update && \
apt-get install -y libgmp-dev libmpfr-dev libmpc-dev && \
apt remove -y gcc g++ && \
apt -t stretch-backports install -y clang-6.0 llvm-6.0 && \
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 100 && \
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-6.0 100 && \
update-alternatives --install /usr/bin/cc cc /usr/bin/clang-6.0 100 && \
update-alternatives --install /usr/bin/cxx cxx /usr/bin/clang++-6.0 100
gradle=klar,x86
srclibs=MozAndroidComponents@v0.56.0,MozFennecBeta@FENNEC_68_0b13_RELEASE,MozLocales@b071e8a820297017fc9dc4a0385a415ebd0b25d6,rustup@1.18.3
prebuild=echo 'ext { generatedVersionCode = $$VERCODE$$ }' > ../tools/gradle/versionCode.gradle && \
sed -i -E -e '/(focus|arm|aarch64)Implementation/d' build.gradle && \
sed -i -e '/maven {/,/}$/d' -e '/The Google Play Store does not allow multiple APKs/d' build.gradle ../build.gradle && \
cp -r $$MozAndroidComponents$$ ../MozAndroidComponents && \
cp -r $$MozFennecBeta$$ ../MozFennecBeta && \
sed -i -e '/maven {/,/}$/d' ../MozAndroidComponents/build.gradle && \
rm -rf ../MozAndroidComponents/components/browser/engine-gecko && \
rm -rf ../MozAndroidComponents/components/browser/engine-gecko-beta && \
rm -rf ../MozAndroidComponents/components/browser/engine-gecko-nightly && \
rm -rf ../MozAndroidComponents/components/browser/engine-servo && \
rm -rf ../MozAndroidComponents/components/browser/storage-sync && \
rm -rf ../MozAndroidComponents/components/feature/accounts && \
rm -rf ../MozAndroidComponents/components/feature/push && \
rm -rf ../MozAndroidComponents/components/feature/sync && \
rm -rf ../MozAndroidComponents/components/lib/push-firebase && \
rm -rf ../MozAndroidComponents/components/service/firefox-accounts && \
rm -rf ../MozAndroidComponents/components/service/sync-logins && \
rm -rf ../MozAndroidComponents/components/support/rustlog && \
cd ../MozFennecBeta && \
bash $$MozLocales$$/prebuild.sh && \
echo "ac_add_options --target=i686-linux-android" >> .mozconfig && \
echo "ac_add_options --with-android-min-sdk=16" >> .mozconfig && \
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" >> .mozconfig && \
echo "ac_add_options --with-android-sdk=\"$$SDK$$\"" >> .mozconfig && \
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
echo "ac_add_options --with-branding=mobile/android/branding/unofficial" >> .mozconfig && \
echo "ac_add_options --with-libclang-path=$$NDK$$/toolchains/llvm/prebuilt/linux-x86_64/lib64/" >> .mozconfig && \
echo "ac_add_options --with-clang-path=$$NDK$$/toolchains/llvm/prebuilt/linux-x86_64/bin/clang" >> .mozconfig && \
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj" >> .mozconfig && \
pushd mobile/android/branding/unofficial/ && \
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec_fd_beta' >> configure.sh && \
echo 'MOZ_APP_DISPLAYNAME="Fennec FD Beta"' >> configure.sh && \
echo 'MOZ_APP_ANDROID_VERSION_CODE=$$VERCODE$$' >> configure.sh && \
sed -i -e 's/Mozilla Fennec/Fennec FD Beta/g' locales/en-US/brand* && \
popd && \
cd ../app
scanignore=MozAndroidComponents/publish.gradle
scandelete=MozAndroidComponents/docs/api/package-list,MozAndroidComponents/components/lib/publicsuffixlist/,MozFennecBeta/intl/icu/source/test,MozFennecBeta/third_party/rust/rust_cascade/test_data,MozFennecBeta/third_party/rust/deflate/tests,MozFennecBeta/third_party/rust/sha-1/tests
build=pushd ../MozFennecBeta && \
$$rustup$$/rustup-init.sh -y && \
source $HOME/.cargo/env && \
rustup default 1.35.0 && \
rustup target add i686-linux-android && \
cargo install --force --vers 0.8.7 cbindgen && \
./mach build && \
./mach package && \
gradle publishWithGeckoBinariesReleasePublicationToMavenLocal && \
popd && \
pushd ../MozAndroidComponents && \
echo "allprojects { repositories{ mavenLocal() } }" >> ../MozAndroidComponents/components/lib/crash/build.gradle && \
sed -i -e 's/Gecko.geckoview_nightly/"org.mozilla.geckoview:geckoview-default-x86:68.0.+"/g' ../MozAndroidComponents/components/lib/crash/build.gradle && \
gradle publishAarPublicationToMavenLocal && \
popd && \
echo "allprojects { repositories{ mavenLocal() } }" >> ../build.gradle && \
sed -i -e 's/"org.mozilla.geckoview:geckoview-beta-x86:${geckoview_version}"/"org.mozilla.geckoview:geckoview-default-x86:68.0.+"/g' -e '/versionCode = versionCode +/d' build.gradle
ndk=r18b
Maintainer Notes: Maintainer Notes:
Cannot use AUM/UCM because version code is not updated, see Cannot use AUM/UCM because version code is not updated, see
https://github.com/mozilla-mobile/focus-android/issues/1528. https://github.com/mozilla-mobile/focus-android/issues/1528.
Increment version code by 1 on each release. Increment version code by 1 on each release. Then attach
1 for arm64, 2 for x86 and 0 for armv7.
. .
Auto Update Mode:None Auto Update Mode:None

View file

@ -0,0 +1,2 @@
Repo Type:git
Repo:https://github.com/mozilla-mobile/android-components.git

View file

@ -0,0 +1,2 @@
Repo Type:hg
Repo:https://hg.mozilla.org/releases/mozilla-beta/