Closed Bug 1723911 Opened 4 years ago Closed 4 years ago

NS_GRE_BIN_DIR is not supported on Android

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

No description provided.

Historically, Android builds would dynamically load the gecko libraries
from the APK, so NS_GRE_BIN_DIR didn't make sense. That however changed
a few years ago, and nowadays, libraries are extracted on installation,
and loaded from a normal path. We can thus make NS_GRE_BIN_DIR valid
and use it in places that need to derive the location of libraries.

The current logic of deriving from NS_GRE_BIN works on most platforms,
but falls flat on Android, so we use the strategy the FFVPX runtime
loader had been using, which is to derive from the location of a known
library.

No longer blocks: 1723447
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/83ae03f316c7 Make NS_GRE_BIN_DIR valid on Android. r=xpcom-reviewers,nika
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: