commit b547847cedd3e0ddf5cbd2d50cce459320b73f9a Author: Georg Koppen gk@torproject.org Date: Fri Oct 2 16:20:54 2020 +0000
Bug 40117: Export MOZ_BUILD_DATE in android-components --- projects/android-components/build | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/projects/android-components/build b/projects/android-components/build index e0d727a..acd920f 100644 --- a/projects/android-components/build +++ b/projects/android-components/build @@ -6,6 +6,10 @@ builddir=/var/tmp/build/[% project %] mkdir $distdir/[% project %] mkdir /var/tmp/build
+cat > get-moz-build-date << "EOF" +[% INCLUDE "get-moz-build-date" %] +EOF + [% IF !c("var/fetch_gradle_dependencies") %] [% pc('python', 'var/setup', { python_tarfile => c('input_files_by_name/python') }) %] tar -C $distdir -xf [% c('input_files_by_name/geckoview') %] @@ -44,6 +48,13 @@ patch -p1 < $rootdir/40085.patch export LANG=C.UTF-8 patch -p1 < $rootdir/mavenLocal.patch
+ eval $(perl $rootdir/get-moz-build-date [% pc("fenix", "var/copyright_year") %] [% pc("fenix", "var/torbrowser_version") %]) + if [ -z $MOZ_BUILD_DATE ] + then + echo "MOZ_BUILD_DATE is not set" + exit 1 + fi + gradle_args="--offline --no-daemon -Dmaven.repo.local=$gradle_repo"
gradle $gradle_args assembleGeckoBeta -x lint
tor-commits@lists.torproject.org