Moving these to #5709 (moved), these aren't blockers anymore. We'll merge Orfox patches first, then audit everything as we move to m-c and work on TBA. (We should create more tickets as we find more items that need investigating/fixing)
the main ticket for integrating the android build into tor-browser-build is not #25164 (moved) but #26693 (moved). This one is only for the reproducible part of it (checking that multiple builds on multiple machines create the same build).
In the commit subject you should use Bug XXXX: (even if the ticket is of type enhancement).
to make it easier to review, you should split the commits in different commits. I think one for adding stretch to debootstrap-image, for adding android-toolchain, for adding the new platform definition to rbm.conf, for fixing the rust build, for fixing the firefox build.
should we call the target in rbm.conf torbrowser-android-armv7 instead of just torbrowser-android?
var/compiler should be set to android-toolchain instead of gcc.
ndk.zip should be included in android-toolchain so that is not needed to download it from projects/firefox/config.
The outputs will give us enough information to start drilling down when we need to. I'm going to pause further work for now and move on to other tickets.
I have some good news here. I compared the .apk files boklm and I produced during the 8.5a5 build and there are only two differences which should not be too hard to fix. I mention them here and will open child bugs for actually solving the issues (leaving this one as the parent bug in case we find out more problems while testing).
I verified from my side that the classes.dex files are the same between two different apk builds on my linux laptop. The problem I was seeing earlier is no longer an issue for me.
We are good here. I added the .apk to our sha265sum step now that it is reproducible in commit 3d7c32b67b25d869d94ec8f23da82e7558fb9993 to get our build going. boklm: let me know whether you are good with that commit.
Trac: Resolution: N/Ato fixed Status: new to closed
We are good here. I added the .apk to our sha265sum step now that it is reproducible in commit 3d7c32b67b25d869d94ec8f23da82e7558fb9993 to get our build going. boklm: let me know whether you are good with that commit.