Opened 8 months ago

Closed 2 months ago

#30324 closed task (fixed)

Adapt Android toolchain for Firefox 68 ESR

Reported by: gk Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-rbm, ff68-esr, tbb-9.0-must-alpha, TorBrowserTeam201910
Cc: boklm, sisbell Actual Points:
Parent ID: #30320 Points:
Reviewer: Sponsor: Sponsor44-can


This is the (parent) ticket for adapting our toolchain for Android bundles

built from Firefox 68 ESR.

Child Tickets

#30460closedtbb-teamUpdate TOPL Project to Use Android Toolchain (Firefox 68)Applications/Tor Browser
#30461closedtbb-teamUpdate tor-android-service Project to Use Android Toolchain (Firefox 68)Applications/Tor Browser
#30665closedtbb-teamGet Firefox 68 ESR Working with latest android toolchainApplications/Tor Browser
#31173closedtbb-teamUpdate android-toolchain project to match firefoxApplications/Tor Browser
#31388closedtbb-teamUpdate Rust Project for AndroidApplications/Tor Browser
#31389closedtbb-teamUpdate Android Firefox to Build with ClangApplications/Tor Browser
#31564closedtbb-teamAndroid bundles based on ESR 68 are not built reproducibly anymoreApplications/Tor Browser
#31568closedtbb-teamUpdate How to Create Gradle DependenciesApplications/Tor Browser
#31880closedtbb-teamDisabling EME per configure option does not work on mobile anymoreApplications/Tor Browser
#31881closedtbb-teamEnabling bundled fonts does not work anymore on AndroidApplications/Tor Browser
#31924closedtbb-teamUpdate Build to Use BusterApplications/Tor Browser
#31979closedtbb-teamTOPL: Sort dependency listApplications/Tor Browser
#31981closedtbb-teamRemove require-api.patchApplications/Tor Browser
#32043closedtbb-teamtor-android-service: Add local Maven Repo Gradle BuildApplications/Tor Browser

Change History (18)

comment:2 Changed 7 months ago by gk

Cc: sisbell added
Keywords: TorBrowserTeam201905 added

comment:3 Changed 7 months ago by sisbell

I built firefox code and it looks like we will need tools for the following

  • Android NDK 17b
  • Build tools 27.0.3
  • Platform for SDK 28

Min sdkVersion is still 16

I noticed other downloads. These are not part of the Android toolchain but worth noting

  • Rust 1.34.1
  • node
  • clang
  • cbindgen
  • clang-tidy
  • nasm

comment:4 Changed 7 months ago by sisbell

Uses Gradle 4.10.2

comment:5 Changed 7 months ago by sisbell

Under 4.10.2 there is an error related to not being able to connect to gradle daemon. We need to start gradle using --no-daemon on projects dependent on updated toolchain.The daemon caches information when running multiple builds. Since we run build once per container, disabling daemon will have no impact.

comment:6 Changed 7 months ago by sisbell

In each project, we will also need to set the following property in the file. Otherwise we can get a failure to start due to missing licenses.


comment:7 Changed 6 months ago by gk

Keywords: TorBrowserTeam201906 added; TorBrowserTeam201905 removed

Moving tickets to June

comment:8 Changed 5 months ago by gk

Keywords: TorBrowserTeam201907 added; TorBrowserTeam201906 removed

Moving tickets to July

comment:9 Changed 5 months ago by sisbell

The latest work is on branch 0717. This build depends on my branch of tor-android-service, rather than the one at torproject.

I just did a rebase with latest from master and their were some conflicts. I fixed those but now need to do a clean build to make sure everything is still working. I'll mark this for review once I verify the build sometime today.

comment:10 in reply to:  4 Changed 5 months ago by cypherpunks

Replying to sisbell:

Uses Gradle 4.10.2

NOTE: Gradle 4.10 has had three patch releases. You should use the latest patch release (4.10.3).

comment:11 Changed 5 months ago by gk

Keywords: tbb-9.0-must-nightly added

Starting with 9.0 keywords

comment:12 Changed 4 months ago by pili

Sponsor: Sponsor44-can

Adding Sponsor 44 to ESR68 tickets

comment:13 Changed 4 months ago by gk

Keywords: TorBrowserTeam201908 added; TorBrowserTeam201907 removed

Moving tickets to August, part 1

comment:14 Changed 3 months ago by gk

Keywords: tbb-9.0-must-alpha added; tbb-9.0-must-nightly removed

Move must-nightly items to must-alpha ones.

comment:15 Changed 3 months ago by gk

Keywords: TorBrowserTeam201909 added; TorBrowserTeam201908 removed

Moving must-alpha tickets to September.

comment:16 Changed 3 months ago by pili

Keywords: TorBrowserTeam201910 added

comment:17 Changed 3 months ago by pili

Keywords: TorBrowserTeam201909 removed

comment:18 Changed 2 months ago by gk

Resolution: fixed
Status: newclosed

We are done here, finally.

Note: See TracTickets for help on using tickets.