Closed
Bug 1053016
Opened 9 years ago
Closed 9 years ago
Remove libomxpluginfroyo.so from Android build
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: m_kato, Assigned: rnewman, Mentored)
References
Details
Attachments
(3 files, 2 obsolete files)
1.17 KB,
patch
|
nalexander
:
review+
|
Details | Diff | Splinter Review |
1.33 KB,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
459.35 KB,
patch
|
cajbir
:
review+
blassey
:
feedback+
|
Details | Diff | Splinter Review |
By Bug 1017242, Froyo is no longer supported. But libomxpluginfroyo.so is in tree. It is unnecessary.
Assignee | ||
Updated•9 years ago
|
Blocks: fatfennec
Summary: Remove libomxpluginfroyo.so from android build → Remove libomxpluginfroyo.so from Android build
Comment 1•9 years ago
|
||
There are a few parts to this ticket: 1) remove the case for the Froyo version from the C++ code around http://mxr.mozilla.org/mozilla-central/source/content/media/android/AndroidMediaPluginHost.cpp#196 2) remove the Froyo version from DIST_FILES around http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/installer/packager.mk#405 That removes the plugin from the APK. I'd be happy to make culling media/omx-plugin/froyo/ be a separate ticket, perhaps mentored by blassey or snorp, as Brad deems appropriate. To test, rebuild and repackage everything before manually opening the APK file to verify that the Froyo plugin is not in the resulting package.
Mentor: nalexander, blassey.bugs
Flags: needinfo?(blassey.bugs)
Whiteboard: [lang=c++][good second bug]
Comment 2•9 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #1) > There are a few parts to this ticket: > > 1) remove the case for the Froyo version from the C++ code around > http://mxr.mozilla.org/mozilla-central/source/content/media/android/ > AndroidMediaPluginHost.cpp#196 > > 2) remove the Froyo version from DIST_FILES around > http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/installer/ > packager.mk#405 > > That removes the plugin from the APK. I'd be happy to make culling > media/omx-plugin/froyo/ be a separate ticket, perhaps mentored by blassey or > snorp, as Brad deems appropriate. > > To test, rebuild and repackage everything before manually opening the APK > file to verify that the Froyo plugin is not in the resulting package. What info do you need?
Flags: needinfo?(blassey.bugs)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8485342 -
Flags: review?(nalexander)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8485343 -
Flags: review?(blassey.bugs)
Assignee | ||
Comment 5•9 years ago
|
||
Brad, please redirect review as appropriate. This is a pretty sledgehammer approach, but it builds. It doesn't completely remove all Froyo code (see Bug 1041882), but it's a pretty good start.
Attachment #8485344 -
Flags: review?(blassey.bugs)
Assignee | ||
Comment 6•9 years ago
|
||
Confirmed that libomxpluginfroyo.so is no longer packaged into the APK with these changes. And we save a surprising amount of space.
Assignee | ||
Comment 7•9 years ago
|
||
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8485346 [details] [diff] [review] Part 2: remove Froyo conditional from AndroidMediaPluginHost.cpp. v2 This change slipped into Part 3. Fixing.
Attachment #8485346 -
Attachment description: Part 2: remove Froyo conditional from AndroidMediaPluginHost.cpp → Part 2: remove Froyo conditional from AndroidMediaPluginHost.cpp. v2
Attachment #8485346 -
Flags: review?(blassey.bugs)
Assignee | ||
Updated•9 years ago
|
Attachment #8485343 -
Attachment is obsolete: true
Attachment #8485343 -
Flags: review?(blassey.bugs)
Assignee | ||
Comment 9•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8485344 -
Attachment is obsolete: true
Attachment #8485344 -
Flags: review?(blassey.bugs)
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8485347 [details] [diff] [review] Part 3: eliminate omx-plugin Froyo version. v2 Without embedded Part 2!
Attachment #8485347 -
Attachment description: Part 3: eliminate omx-plugin Froyo version → Part 3: eliminate omx-plugin Froyo version. v2
Attachment #8485347 -
Flags: review?(blassey.bugs)
Comment 11•9 years ago
|
||
Comment on attachment 8485342 [details] [diff] [review] Part 1: remove libomxpluginfroyo.so from Android package. v1 Review of attachment 8485342 [details] [diff] [review]: ----------------------------------------------------------------- wfm.
Attachment #8485342 -
Flags: review?(nalexander) → review+
Updated•9 years ago
|
Attachment #8485346 -
Flags: review?(blassey.bugs) → review+
Updated•9 years ago
|
Attachment #8485347 -
Flags: review?(cajbir.bugzilla)
Attachment #8485347 -
Flags: review?(blassey.bugs)
Attachment #8485347 -
Flags: feedback+
Assignee | ||
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/314e44e93c71 https://hg.mozilla.org/integration/fx-team/rev/498a3f688a3d
Assignee | ||
Comment 13•9 years ago
|
||
Figured I'd get the first two patches out of my queue while waiting for review on the third. (And thanks, Brad!)
Whiteboard: [lang=c++][good second bug] → [leave open until part 3 lands]
Comment 14•9 years ago
|
||
Backed out in https://hg.mozilla.org/integration/fx-team/rev/5487e2fdacf6 for Android build bustage
Assignee | ||
Comment 15•9 years ago
|
||
Ah, a hunk slipped into Part 3: ifdef MOZ_OMX_PLUGIN DIST_FILES += libomxplugin.so libomxplugingb.so libomxplugingb235.so \ - libomxpluginhc.so libomxpluginfroyo.so libomxpluginkk.so + libomxpluginhc.so libomxpluginkk.so endif That'll do it. Guess I'll wait to land all three!
Updated•9 years ago
|
Attachment #8485347 -
Flags: review?(cajbir.bugzilla) → review+
Assignee | ||
Comment 16•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/98f9426b777f https://hg.mozilla.org/integration/fx-team/rev/541261861115 https://hg.mozilla.org/integration/fx-team/rev/bb7be324d2b5
Assignee | ||
Updated•9 years ago
|
Whiteboard: [leave open until part 3 lands]
Comment 18•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/98f9426b777f https://hg.mozilla.org/mozilla-central/rev/541261861115 https://hg.mozilla.org/mozilla-central/rev/bb7be324d2b5
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•