Closed
Bug 1417978
Opened 7 years ago
Closed 6 years ago
Don't build and ship Layout Debugger for Fennec and GeckoView
Categories
(Core :: Layout, enhancement, P3)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: nalexander, Assigned: jryans)
References
Details
Attachments
(1 file)
Discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1417664#c5 suggests that the Layout Debugger shouldn't be built or shipped on Android (i.e., as part of Fennec or as part of GeckoView). This ticket tracks removing them to simplify assumptions and save APK space.
Assignee | ||
Comment 1•7 years ago
|
||
To be clear, it's only built at all in debug builds, so it doesn't really impact release users: https://searchfox.org/mozilla-central/rev/550148ab69b2879bfb82ffa698720ede1fa626f2/layout/moz.build#40-41 So, the main benefit would be a small build time improvement when compiling in debug mode locally.
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #1) > To be clear, it's only built at all in debug builds, so it doesn't really > impact release users: > > https://searchfox.org/mozilla-central/rev/ > 550148ab69b2879bfb82ffa698720ede1fa626f2/layout/moz.build#40-41 > > So, the main benefit would be a small build time improvement when compiling > in debug mode locally. Thanks. This would just be for "GeckoView hygiene", then. In general, we don't want things to look relevant to GeckoView (and Android in general) when they're not.
Assignee | ||
Comment 3•7 years ago
|
||
What's the canonical way to test for "building for desktop" in a moz.build file for a core module? Something like: ``` if CONFIG['OS_TARGET'] in ('WINNT', 'Linux', 'Darwin'): ``` or is there a better way?
Flags: needinfo?(nalexander)
Assignee | ||
Updated•7 years ago
|
Severity: normal → enhancement
Priority: -- → P3
Reporter | ||
Comment 4•7 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #3) > What's the canonical way to test for "building for desktop" in a moz.build > file for a core module? > > Something like: > > ``` > if CONFIG['OS_TARGET'] in ('WINNT', 'Linux', 'Darwin'): > ``` > > or is there a better way? I think we generally test for MOZ_WIDGET_TOOLKIT == 'android': see https://searchfox.org/mozilla-central/source/build/moz.build#22.
Flags: needinfo?(nalexander)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Reporter | ||
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8939977 [details] Bug 1417978 - Stop packaging layout debugger on Android. https://reviewboard.mozilla.org/r/210256/#review215990 lgtm. Thanks, Ryan!
Attachment #8939977 -
Flags: review?(nalexander) → review+
Assignee | ||
Comment 7•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f86a1ccde8c6799f17cef36c1735c5dc9011cc65
Pushed by jryans@gmail.com: https://hg.mozilla.org/integration/autoland/rev/9d2c81fe9e4c Stop packaging layout debugger on Android. r=nalexander
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9d2c81fe9e4c
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•