Closed
Bug 1065190
Opened 10 years ago
Closed 5 years ago
[meta] Improve Android version conditionalization
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: rnewman, Unassigned)
References
Details
(Keywords: meta)
We have a bunch of code scattered throughout the tree that does one of two things:
* Supports Android 2.2 and earlier.
* Conditionalizes between different Android versions at runtime.
We should improve this situation in two ways: kill the former, and allow the latter to be preprocessed via the SDK range mechanism.
This will result in a smaller libxul and a happier rnewman.
Obsolete code:
tools/profiler/LulRWLock.h
widget/android/AndroidBridge.cpp
825: // Android 2.2+ (API level 8)
intl/icu/source/common/unicode/platform.h
565: * Android before Gingerbread (Android 2.3, API level 9) did not support wchar_t.
media/libcubeb/src/cubeb_audiotrack.c (Bug 1041882)
60: * we are on a Froyo (Android 2.2) device. */
183: * around line 181 for Android 2.2 */
media/webrtc/trunk/webrtc/modules/audio_device/audio_device_impl.cc
289: // Fall back to this case if on Android 2.2/OpenSLES not available.
media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock.cc
35: // Android 2.2 and before do not have POSIX pthread rwlocks.
Conditionalizes (much harder to find, help wanted):
Bug 1041882
Tests that we might be able to turn back on:
xpcom/tests/unit/xpcshell.ini
56:# Bug 902081: test fails consistently on Android 2.2, passes on 4.0
dom/canvas/test/reftest/reftest.list
12:# Android 2.2 ARMv6 slaves can't seem to use WebGL, but we can't seem to
Reporter | ||
Updated•10 years ago
|
Keywords: meta
Summary: Improve Android version conditionalization → [meta] Improve Android version conditionalization
Updated•10 years ago
|
tracking-fennec: --- → 36+
Updated•10 years ago
|
tracking-fennec: 36+ → 35+
Comment 2•5 years ago
|
||
We've largely worked through these things.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•