Reduce duplication between projects/geckoview/build and projects/geckoview/build_apk
Some parts are duplicated between build and build_apk:
- the
cd $builddir/[% project %]-[% c("version") %]and copy of mozconfig file - the
mach configurelines are the same, except an additional--enable-update-channel=[% c("var/variant") %]inbuild_apk, which is already present inmozconfig.in(so probably not necessary on the configure command) - when doing the
build_apkstep the source tarball is extracted twice: one time inbuild_commonand one time inbuild_apk
We can move this to the build_common file.