GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Bug 40117: Export MOZ_BUILD_DATE in android-components

parent 3cddd2ee
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment