Closed
Bug 1301317
Opened 9 years ago
Closed 9 years ago
Don't build telephony API without MOZ_B2G_RIL
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1307525
Tracking | Status | |
---|---|---|
firefox51 | --- | affected |
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 obsolete file)
Although we disable navigator.Telephony without MOZ_B2G_RIL, dom/telephony is still built.
If we don't build this, it seems to be able to reduce ~60K APK size on Fennec.
Comment hidden (mozreview-request) |
Comment 2•9 years ago
|
||
What prevents us from just not build dom/telephony at all?
Updated•9 years ago
|
Flags: needinfo?(m_kato)
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to [:fabrice] Fabrice Desré from comment #2)
> What prevents us from just not build dom/telephony at all?
I would like to reduce footprint. Actually, we don't use / run telephone API on desktop and mobile Firefox. But for XPCOM interface and IPC code, compiler cannot remove these code by dead code elimination.
If this API is standard API and needs for web compatibility, we should keep it even if desktop Firefox. But this API is for B2G phone only.
Blocks: fatfennec
Flags: needinfo?(m_kato)
Comment 4•9 years ago
|
||
Sure, I agree. What I'm asking is "why not ignore the whole dom/telephony directory on platforms that are not b2g?"
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to [:fabrice] Fabrice Desré from comment #4)
> Sure, I agree. What I'm asking is "why not ignore the whole dom/telephony
> directory on platforms that are not b2g?"
We don't have C-preprocessor for IPDL, we cannot use like #ifdef into IPDL. So telephony IPC protocol define is used on PContent.ipdl, we cannot ignore dom/telephony directory.
So at least, we need generate IPC headers and etc.
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8789265 [details]
Bug 1301317 - Don't build telephony API without MOZ_B2G_RIL.
This will be removed by Bug 1307525.
Attachment #8789265 -
Flags: review?(fabrice)
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•9 years ago
|
Attachment #8789265 -
Attachment is obsolete: true
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•