Bug 1043403 - Support clear-key in Mochitest on B2G. r=ted.

This commit is contained in:
JW Wang 2015-03-31 10:32:15 +08:00
parent 45829fba5b
commit a5b5e83548
3 changed files with 10 additions and 3 deletions

View File

@ -952,3 +952,9 @@ bin/libfreebl_32int64_3.so
#ifdef PACKAGE_MOZTT
@RESPATH@/fonts/*
#endif
; media
#ifdef MOZ_EME
@RESPATH@/gmp-clearkey/0.1/@DLL_PREFIX@clearkey@DLL_SUFFIX@
@RESPATH@/gmp-clearkey/0.1/clearkey.info
#endif

View File

@ -265,8 +265,9 @@ class B2GMochitest(MochitestUtilsMixin):
return status
def getGMPPluginPath(self, options):
# TODO: bug 1043403
return None
if options.gmp_path:
return options.gmp_path
return '/system/b2g/gmp-clearkey/0.1'
def getChromeTestDir(self, options):
# The chrome test directory returned here is the remote location

View File

@ -677,7 +677,7 @@ class MochiRemote(Mochitest):
os.unlink(fHandle.name)
def getGMPPluginPath(self, options):
# TODO: bug 1043403
# TODO: bug 1149374
return None
def buildBrowserEnv(self, options, debugger=False):