Open Bug 1807331 Opened 3 years ago Updated 2 years ago

Consider stripping coroutine debugger facilities to reduce APK size (by how much?)

Categories

(Firefox for Android :: General, task, P2)

All
Android
task

Tracking

()

People

(Reporter: cpeterson, Unassigned)

References

(Blocks 1 open bug)

Details

From github: https://github.com/mozilla-mobile/fenix/issues/20828.

The kotlin coroutines documentation mentions:

The kotlinx-coroutines-core artifact contains a resource file that is not required for the coroutines to operate normally and is only used by the debugger. To exclude it at no loss of functionality, add the following snippet to the android block in your Gradle file for the application subproject:

packagingOptions {
 exclude "DebugProbesKt.bin"
}

We could try stripping it, especially only for debug builds, to reduce the size of the APK. I imagine the impact is small but the effort seems small.

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Severity: -- → N/A
Type: defect → task
Component: Performance → General
Flags: needinfo?(cpeterson)
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.