Closed Bug 1847958 Opened 2 years ago Closed 2 years ago

Use -Oz for optimize option on GeckoView all channel

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

defect

Tracking

(firefox116 unaffected, firefox117 unaffected, firefox118 fixed)

RESOLVED FIXED
118 Branch
Tracking Status
firefox116 --- unaffected
firefox117 --- unaffected
firefox118 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

Attachments

(1 file)

Due to size limit of APK, we should use -Oz instead of -O2 even if Nightly. Actually, Nightly is -O2 and Others (Beta and Release) are -Oz.

As long as I look perf data (bug 1831935 etc), improvement is still small (AndroidStartup only?).

Due to size limit of APK, we should use -Oz instead of -O2 even if Nightly.
Actually, Nightly is -O2 and Others (Beta and Release) are -Oz.

As long as I look perf data (bug 1831935 etc), improvement is still small
(AndroidStartup only?).

Also, this fix removes gcc support of GeckoView build since NDK removes gcc now.

Attachment #9348187 - Attachment description: Bug 1847958 - Use -Oz for optimize option on GeckoView all channel. r=#firefox-build-system-reviewers → Bug 1847958 - Use -Oz for optimize option on GeckoView all channels. r=#firefox-build-system-reviewers
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/2fce50c26495 Use -Oz for optimize option on GeckoView all channels. r=firefox-build-system-reviewers,glandium
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch

No need to uplift because Beta and Release builds are already compiled with -Oz.

Regressions: 1848352
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: