From 88b9ba20ebe30c74d7795a12df649299f7565a9a Mon Sep 17 00:00:00 2001 From: Andreas Pehrson Date: Wed, 20 Nov 2024 08:16:15 +0000 Subject: [PATCH] Bug 1534688 - Use fake GMP plugins in wpt from mozharness. r=media-playback-reviewers,jgraham,webrtc-reviewers,bwc,padenot Differential Revision: https://phabricator.services.mozilla.com/D228949 --- testing/mozharness/scripts/web_platform_tests.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testing/mozharness/scripts/web_platform_tests.py b/testing/mozharness/scripts/web_platform_tests.py index 5d207969c4a8..eafceb5e3425 100755 --- a/testing/mozharness/scripts/web_platform_tests.py +++ b/testing/mozharness/scripts/web_platform_tests.py @@ -661,6 +661,11 @@ class WebPlatformTest(TestingMixin, MercurialScript, CodeCoverageMixin, AndroidM if self.is_android: env["ADB_PATH"] = self.adb_path + env["MOZ_GMP_PATH"] = os.pathsep.join( + os.path.join(dirs["abs_test_bin_dir"], "plugins", p, "1.0") + for p in ("gmp-fake", "gmp-fakeopenh264") + ) + env = self.query_env(partial_env=env, log_level=INFO) start_time = datetime.now()