mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC
Co-authored-by: Moonchild <moonchild@palemoon.org>
This commit is contained in:
parent
57020c1f59
commit
9e7d1492e6
54 changed files with 314 additions and 30 deletions
|
|
@ -1499,6 +1499,7 @@ toolbar#nav-bar {
|
|||
if not self.disable_leak_checking:
|
||||
browserEnv["XPCOM_MEM_BLOAT_LOG"] = self.leak_report_file
|
||||
|
||||
#ifdef MOZ_GMP
|
||||
try:
|
||||
gmp_path = self.getGMPPluginPath(options)
|
||||
if gmp_path is not None:
|
||||
|
|
@ -1506,6 +1507,7 @@ toolbar#nav-bar {
|
|||
except EnvironmentError:
|
||||
self.log.error('Could not find path to gmp-fake plugin!')
|
||||
return None
|
||||
#endif
|
||||
|
||||
if options.fatalAssertions:
|
||||
browserEnv["XPCOM_DEBUG_BREAK"] = "stack-and-abort"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue