[tor-bugs] #33973 [Applications/Tor Browser]: Create fat .aar for geckoview
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Apr 24 11:22:34 UTC 2020
#33973: Create fat .aar for geckoview
-------------------------------------------------+-------------------------
Reporter: gk | Owner: gk
Type: task | Status:
| assigned
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-mobile, tbb-rbm, | Actual Points:
TorBrowserTeam202004, GeorgKoppen202004 |
Parent ID: #33626 | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by gk):
Okay, for the fat .aar creation we would have to do in the `steps` step:
1) Specify the archs we support like so:
`export MOZ_ANDROID_FAT_AAR_ARCHITECTURES=armeabi-
v7a,arm64-v8a,x86,x86_64`
2) export the relative paths to the respective arch dependent .aar file
using
`MOZ_ANDROID_FAR_AAR_ARMEAVI_V7A`, `MOZ_ANDROID_FAT_AAR_ARM64_V8A`,
`MOZ_ANDROID_FAT_AAR_X86`, and `MOZ_ANDROID_AAR_X86_64`
The full path is assembled out of `MOZ_FETCHES_DIR` + the relative ones
above (so we need to export the absolute `MOZ_FETCHES_DIR`, too.
3) We should be able to run now `./mach build android-fat-aar-artifact`
and the .aar should be in `$DIST/fat-aar`
(I've not tested that locally, yet, though)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33973#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list