Skip to content

release: Build android in production mode#44278

Merged
jschwe merged 1 commit into
servo:mainfrom
jschwe:jschwender/android-production
Apr 16, 2026
Merged

release: Build android in production mode#44278
jschwe merged 1 commit into
servo:mainfrom
jschwe:jschwender/android-production

Conversation

@jschwe

@jschwe jschwe commented Apr 16, 2026

Copy link
Copy Markdown
Member

Since #44182 production builds for android are now possible in CI.
Let's unify this, since all other platforms already use production. The production build is also ~45MB small, which is a huge reduction compared to the ~159MB our nightly builds have. I didn't investigate further why the difference is that large, but I installed the production version on my phone and didn't spot any obvious issues (on servo.org).

Mach try android-production

Testing: We don't test CI workflows themselves.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
@jschwe jschwe force-pushed the jschwender/android-production branch from 8b2f914 to da14809 Compare April 16, 2026 17:43
@jschwe jschwe marked this pull request as ready for review April 16, 2026 17:56
@jschwe jschwe requested a review from sagudev as a code owner April 16, 2026 17:56
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 16, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 16, 2026
@jschwe jschwe added this pull request to the merge queue Apr 16, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 16, 2026
Merged via the queue into servo:main with commit f77fe5e Apr 16, 2026
35 checks passed
@jschwe jschwe deleted the jschwender/android-production branch April 16, 2026 18:42
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 16, 2026
@jschwe

jschwe commented May 5, 2026

Copy link
Copy Markdown
Member Author

The production build is also ~45MB small, which is a huge reduction compared to the ~159MB our nightly builds have

This was wrong. I suspect I looked at the aar file which is much smaller than the apk. Looking at a current build, it's around 110MB for the apk, which is much more reasonable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants