Bug 1371871 - Do not install unnecessary files in an artifact build.
This prevents us from redundantly installing httpd.js and httpd.manifest
from the test package during an artifact build, which interferes with
the Tup backend's handling of these files as symlinks.
MozReview-Commit-ID: LuMurUc1P36
--- a/python/mozbuild/mozbuild/artifacts.py
+++ b/python/mozbuild/mozbuild/artifacts.py
@@ -133,17 +133,17 @@ class ArtifactJob(object):
('bin/fileid', ('bin', 'bin')),
('bin/geckodriver', ('bin', 'bin')),
('bin/pk12util', ('bin', 'bin')),
('bin/screentopng', ('bin', 'bin')),
('bin/ssltunnel', ('bin', 'bin')),
('bin/xpcshell', ('bin', 'bin')),
('bin/plugins/gmp-*/*/*', ('bin/plugins', 'bin')),
('bin/plugins/*', ('bin/plugins', 'plugins')),
- ('bin/components/*', ('bin/components', 'bin/components')),
+ ('bin/components/*.xpt', ('bin/components', 'bin/components')),
}
# We can tell our input is a test archive by this suffix, which happens to
# be the same across platforms.
_test_archive_suffix = '.common.tests.zip'
def __init__(self, package_re, tests_re, log=None, download_symbols=False, substs=None):
self._package_re = re.compile(package_re)