Bug 1662855: Remove defunct httpd.manifest file. r=mccr8,necko-reviewers,valentin

The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.

Differential Revision: https://phabricator.services.mozilla.com/D89197
This commit is contained in:
Kris Maglione 2020-09-02 20:14:12 +00:00
Родитель 51dd2eebad
Коммит d2863ca956
5 изменённых файлов: 0 добавлений и 16 удалений

Просмотреть файл

@ -1 +0,0 @@
interfaces test_necko.xpt

Просмотреть файл

@ -14,7 +14,6 @@ XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell.ini']
EXTRA_COMPONENTS += [
'httpd.js',
'httpd.manifest',
]
TESTING_JS_MODULES += [

Просмотреть файл

@ -271,8 +271,6 @@ ARCHIVE_FILES = {
'base': 'dist/bin/components',
'patterns': [
'httpd.js',
'httpd.manifest',
'test_necko.xpt',
],
'dest': 'bin/components',
},

Просмотреть файл

@ -140,7 +140,6 @@ class RemoteXPCShellTestThread(xpcshell.XPCShellTestThread):
self.xpcshell = posixpath.join(self.remoteBinDir, "xpcw")
self.headJSPath = posixpath.join(self.remoteScriptsDir, 'head.js')
self.httpdJSPath = posixpath.join(self.remoteComponentsDir, 'httpd.js')
self.httpdManifest = posixpath.join(self.remoteComponentsDir, 'httpd.manifest')
self.testingModulesDir = self.remoteModulesDir
self.testharnessdir = self.remoteScriptsDir
xpcsCmd = xpcshell.XPCShellTestThread.buildXpcsCmd(self)
@ -448,11 +447,6 @@ class XPCShellRemote(xpcshell.XPCShellTests, object):
self.device.push(local, remoteFile)
self.device.chmod(remoteFile)
local = os.path.join(self.localBin, "components/httpd.manifest")
remoteFile = posixpath.join(self.remoteComponentsDir, "httpd.manifest")
self.device.push(local, remoteFile)
self.device.chmod(remoteFile)
if self.options['localAPK']:
remoteFile = posixpath.join(self.remoteBinDir,
os.path.basename(self.options['localAPK']))

Просмотреть файл

@ -170,7 +170,6 @@ class XPCShellTestThread(Thread):
self.debuggerInfo = kwargs.get('debuggerInfo')
self.jsDebuggerInfo = kwargs.get('jsDebuggerInfo')
self.pluginsPath = kwargs.get('pluginsPath')
self.httpdManifest = kwargs.get('httpdManifest')
self.httpdJSPath = kwargs.get('httpdJSPath')
self.headJSPath = kwargs.get('headJSPath')
self.testharnessdir = kwargs.get('testharnessdir')
@ -541,7 +540,6 @@ class XPCShellTestThread(Thread):
self.xpcshell,
'-g', self.xrePath,
'-a', self.appPath,
'-r', self.httpdManifest,
'-m',
'-e', 'const _HEAD_JS_PATH = "%s";' % self.headJSPath,
'-e', 'const _MOZINFO_JS_PATH = "%s";' % self.mozInfoJSPath,
@ -1042,9 +1040,6 @@ class XPCShellTests(object):
self.httpdJSPath = os.path.join(self.xrePath, 'components', 'httpd.js')
self.httpdJSPath = self.httpdJSPath.replace('\\', '/')
self.httpdManifest = os.path.join(self.xrePath, 'components', 'httpd.manifest')
self.httpdManifest = self.httpdManifest.replace('\\', '/')
if self.mozInfo is None:
self.mozInfo = os.path.join(self.testharnessdir, "mozinfo.json")
@ -1591,7 +1586,6 @@ class XPCShellTests(object):
'debuggerInfo': self.debuggerInfo,
'jsDebuggerInfo': self.jsDebuggerInfo,
'pluginsPath': self.pluginsPath,
'httpdManifest': self.httpdManifest,
'httpdJSPath': self.httpdJSPath,
'headJSPath': self.headJSPath,
'tempDir': self.tempDir,