Bug 1043033 - Allow to override on-demand decompression blocklist. r=snorp

This commit is contained in:
Mike Hommey 2014-07-24 13:44:11 +09:00
parent 4fa70124f4
commit 73ad95ba5a

View File

@ -213,9 +213,12 @@ public final class GeckoLoader {
// Disable on-demand decompression of the linker on devices where it
// is known to cause crashes.
if ("HTC".equals(android.os.Build.MANUFACTURER) &&
"HTC Vision".equals(android.os.Build.MODEL)) {
putenv("MOZ_LINKER_ONDEMAND=0");
String forced_ondemand = System.getenv("MOZ_LINKER_ONDEMAND");
if (forced_ondemand == null) {
if ("HTC".equals(android.os.Build.MANUFACTURER) &&
"HTC Vision".equals(android.os.Build.MODEL)) {
putenv("MOZ_LINKER_ONDEMAND=0");
}
}
#ifdef MOZ_LINKER_EXTRACT