diff options
author | Matheus Marinho <matheus4551@hotmail.com> | 2023-08-31 12:07:34 -0300 |
---|---|---|
committer | Matheus Marinho <matheus4551@hotmail.com> | 2023-08-31 17:04:44 -0300 |
commit | c94c303447e0a183685c0aea8a54f1e90efeb68b (patch) | |
tree | c3126d2de533755bf93cc8fc4816379b33dcbebf /testing | |
parent | 7a4b8501505e9ed433db0b5a675bc38398b74bb8 (diff) | |
download | uxp-c94c303447e0a183685c0aea8a54f1e90efeb68b.tar.gz |
Make Gecko Media Plugins optional when not building EME or WebRTC
Co-authored-by: Moonchild <moonchild@palemoon.org>
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mochitest/runtests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/mochitest/runtests.py b/testing/mochitest/runtests.py index 6763952af9..07547dd238 100644 --- a/testing/mochitest/runtests.py +++ b/testing/mochitest/runtests.py @@ -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" |