Closed
Bug 1353055
Opened 8 years ago
Closed 8 years ago
Strip 'vars' debugging information when building Fennec --with-gradle
Categories
(Firefox Build System :: Android Studio and Gradle Integration, enhancement)
Firefox Build System
Android Studio and Gradle Integration
Tracking
(firefox55 fixed)
RESOLVED
FIXED
mozilla55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: nalexander, Assigned: nalexander)
References
Details
Attachments
(1 file)
In Bug 1255914 and the commit message of https://hg.mozilla.org/mozilla-central/rev/61e649e690c9, I observed that the size of the compiled Java code when built --with-gradle is much larger than the size of the compiled Java code when built --without-gradle (i.e., with moz.build). I think I can explain this now.
In moz.build, we compile with `-g 'source,lines'`, stripping 'vars' information. See https://dxr.mozilla.org/mozilla-central/rev/38894655c89e68bcd8f45d31a0d3005f2c2b53db/config/android-common.mk#49.
In Gradle, the default is to compile with `-g 'source,lines,vars'`, and all that variable information takes up non-trivial space.
This ticket tracks dropping `'vars'` for non-debug Gradle builds.
| Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8854158 [details]
Bug 1353055 - Strip 'vars' debugging information when building Fennec --with-gradle.
https://reviewboard.mozilla.org/r/126130/#review128756
`
Attachment #8854158 -
Flags: review?(ahunt) → review+
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → nalexander
Comment 3•8 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.
hg error in cmd: hg rebase -s 97ce03b719fd -d a9d111f06a1a: rebasing 386695:97ce03b719fd "Bug 1353055 - Strip 'vars' debugging information when building Fennec --with-gradle. r=ahunt" (tip)
merging mobile/android/app/build.gradle
merging mobile/android/geckoview/build.gradle
merging mobile/android/thirdparty/build.gradle
warning: conflicts while merging mobile/android/app/build.gradle! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
| Comment hidden (mozreview-request) |
Pushed by nalexander@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eec3bab31260
Strip 'vars' debugging information when building Fennec --with-gradle. r=ahunt
Comment 6•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•6 years ago
|
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 55 → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•