Closed Bug 1062537 Opened 10 years ago Closed 9 years ago

Specify --with-android-min-sdk=15 for x86 builds

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

All
Android
defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: rnewman, Assigned: rnewman)

References

Details

Attachments

(2 files)

As far as I can tell, the earliest supported Android SDK version for x86 devices is JB (16). We should specify the new build flags for min=16 in our x86 builds. Right now that'll result in smaller, faster output code; eventually it will also minimize shipped resources. Someone with more data than I have can correct me if we should really target a lower minimum.
Can we find this out from FHR? For all v3 payloads: Filter: environments/current/org.mozilla.sysinfo.sysinfo/architecture = x86 Bucket count on environments/current/org.mozilla.sysinfo.sysinfo/version which will be strings like "4.1.2".
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
mfinkle provides! 99.9% of our x86 user base is on 15+. The lowest API version is 10. Next after that is 13, then 15.
mfinkle, blassey: care to opine?
Summary: Specify --with-android-min-sdk=16 for x86 builds → Specify --with-android-min-sdk=15 for x86 builds
tmary supplied even more data: <15 is 0.056% of the x86 user base. Cumulative percentages: 2.2.2 0.02% 2.3.1 0.02% 2.3.7 0.03% 3.2 0.06% 4.0.3 0.06% 4.0.4 4.16% 4.0.4 4.16% 4.1.1 4.32% 4.1.2 17.20% 4.1.2 17.20% 4.1.2 17.20% 4.1.2 17.20% 4.1.2 17.21% 4.2 17.21% 4.2.0 17.21% 4.2.1 19.79% 4.2.2 73.58% 4.3 90.57% 4.3.1 90.58% 4.3.2 90.58% 4.3.9 90.58% 4.4 90.58% 4.4.0 90.58% 4.4.2 99.95% 4.4.3 99.96% 4.4.4 100.00% 4.4.9 100.00% 4.4 100.00% 5.0.1 100.00%
I honestly don't know how much benefit we'd get from this. The population is very small (<2% for all x86), so I don't know that it's worth doing anything right now. I think we should focus on getting the "gingerbread phone" build created first.
This is something of a fatfennec issue, albeit only for x86 users.
Blocks: fatfennec
Maybe a good first step for Bug 1155801? mfinkle, should we do this?
Flags: needinfo?(mark.finkle)
Assignee: rnewman → nobody
Status: ASSIGNED → NEW
Depends on: 1155801
Blocks: 1217675
(In reply to Richard Newman [:rnewman] from comment #8) > Maybe a good first step for Bug 1155801? mfinkle, should we do this? Too many pots on the stove. Let's just get bug 1155801 (and friends) finished first.
Flags: needinfo?(mark.finkle)
With that bug landed, we are close to this being done. But in order to eliminate Honeycomb compat code (which we now wouldn't be testing on ARM), and resolve Bug 1217675, we need to bump x86 to either v14 or v15. I propose bumping straight to v15. I suggest doing this in the same cycle as dropping ARM Honeycomb support to reduce the risk of Play doing something crazy.
This bumps all x86 mozconfigs.
Attachment #8703057 - Flags: review?(nalexander)
Attachment #8703057 - Flags: review?(mark.finkle)
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Comment on attachment 8703057 [details] [diff] [review] Specify --with-android-min-sdk=15 for x86 builds. v1 Review of attachment 8703057 [details] [diff] [review]: ----------------------------------------------------------------- Technically there is no issue here. Please post to the mailing list (of course). I expect the Wiki wants updating, although I don't know where off-hand. I see the MDN documentation is fresh at https://developer.mozilla.org/en-US/docs/Simple_Firefox_for_Android_build.
Attachment #8703057 - Flags: review?(nalexander) → review+
Comment on attachment 8703057 [details] [diff] [review] Specify --with-android-min-sdk=15 for x86 builds. v1 LGTM
Attachment #8703057 - Flags: review?(mark.finkle) → review+
Email sent to release-drivers and mobile-firefox-dev: https://mail.mozilla.org/pipermail/mobile-firefox-dev/2016-January/001672.html
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Depends on: 1237342
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 46 → mozilla46
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: