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)
        Firefox Build System
          
        
        
      
        
    
        Android Studio and Gradle Integration
          
        
        
      
        
    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?).
| Assignee | ||
          Comment 1•2 years ago
           
         | 
      ||
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.
          Updated•2 years ago
           
         | 
      
        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
          Comment 3•2 years ago
           
         | 
      ||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 2 years ago
          status-firefox118:
          --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
          Comment 4•2 years ago
           
         | 
      ||
No need to uplift because Beta and Release builds are already compiled with -Oz.
          status-firefox116:
          --- → affected
          status-firefox117:
          --- → affected
          Updated•2 years ago
           
         | 
      
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•