Closed Bug 722042 Opened 14 years ago Closed 13 years ago

Remove macbuild/ and maemo/ from mobile/android/app/

Categories

(Firefox for Android Graveyard :: General, defect, P4)

16 Branch
ARM
Android
defect

Tracking

(firefox16 verified)

VERIFIED FIXED
Firefox 16
Tracking Status
firefox16 --- verified

People

(Reporter: kairo, Assigned: cpeterson)

References

Details

Attachments

(5 files)

When looking into the source of native Fennec, I discovered that mobile/android/app/ contains macbuild/ and maemo/ directories. Those are probably leftovers from forking the XUL version in the beginning, and we should get rid of those (as well as any other leftover of building for non-Android, I guess). We don't really support building this for anything else than Android, right?
Assignee: nobody → cpeterson
Priority: -- → P4
OS: Linux → Android
Hardware: x86_64 → ARM
Target Milestone: --- → Firefox 15
Status: NEW → ASSIGNED
Target Milestone: Firefox 15 → Firefox 16
Part 1: Remove Maemo code from mobile/android. In addition to removing Maemo files from mobile/android, I have removed Maemo #ifdefs from Android's Makefiles and package-manifest.in.
Attachment #641106 - Flags: review?(blassey.bugs)
Part 2: Remove macbuild code from mobile/android.
Attachment #641107 - Flags: review?(blassey.bugs)
Part 3: Remove some redundant #ifdef ANDROID checks.
Attachment #641108 - Flags: review?(blassey.bugs)
Part 4: Remove Qt code from mobile/android.
Attachment #641109 - Flags: review?(blassey.bugs)
Part 5: Remove Windows code from mobile/android.
Attachment #641110 - Flags: review?(blassey.bugs)
Comment on attachment 641106 [details] [diff] [review] part-1-remove-maemo-code.patch Review of attachment 641106 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/app/mobile.js @@ +415,5 @@ > pref("dom.ipc.plugins.enabled", false); > #else > pref("plugin.disable", true); > pref("dom.ipc.plugins.enabled", true); > #endif just remove the else (haven't looked at the other patches yet, if this is there than disregard) @@ +429,1 @@ > pref("dom.ipc.content.nice", 1); this can just be removed (e10s only) @@ +553,3 @@ > pref("layers.acceleration.disabled", false); > #else > pref("layers.acceleration.disabled", true); again, remove the else block unless its in a later patch ::: mobile/android/components/build/nsShellService.cpp @@ +26,5 @@ > window->showMinimized(); > return NS_OK; > #else > return NS_ERROR_NOT_IMPLEMENTED; > #endif I'm assuming this is removed in the qt patch ::: mobile/android/themes/core/defines.inc @@ +123,4 @@ > %define orientation -moz-device-orientation > %else > %define orientation orientation > %endif again as above
Attachment #641106 - Flags: review?(blassey.bugs) → review+
Attachment #641107 - Flags: review?(blassey.bugs) → review+
Attachment #641108 - Flags: review?(blassey.bugs) → review+
Attachment #641109 - Flags: review?(blassey.bugs) → review+
Attachment #641110 - Flags: review?(blassey.bugs) → review+
Blocks: 753574
Blocks: 743998
Code was removed for Firefox 16 Beta 5. Setting flag to verified.
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: