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)

Unspecified
All
defect
Not set
normal

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.
What prevents us from just not build dom/telephony at all?
Flags: needinfo?(m_kato)
(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)
Sure, I agree. What I'm asking is "why not ignore the whole dom/telephony directory on platforms that are not b2g?"
(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.
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)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Attachment #8789265 - Attachment is obsolete: true
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: