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:
Matheus Marinho 2023-08-31 12:07:34 -03:00 committed by roytam1
commit 9e7d1492e6
54 changed files with 314 additions and 30 deletions

View file

@ -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"