Bug 1378533 - Make the keys for linked-map-files.json entries absolute paths. r=marco

This patch changes the name of the keys that are in the 'linked-files-map.json' that is produced in the code coverage build and are used to map symbolic links to their source files. The new key names (which are the paths to the symbolic links) are now the entire absolute path to each of the files.

MozReview-Commit-ID: 4x1dfk9h2Ov

--HG--
extra : rebase_source : 7d424bbbf1d026ea67c66b743c8c43ea75185733
This commit is contained in:
Greg Mierzwinski 2017-07-06 10:14:00 -04:00
Родитель cb7b08b51c
Коммит f87b1eda07
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -27,6 +27,7 @@ def describe_install_manifest(manifest, dest_dir):
mapping = {} mapping = {}
manifest.populate_registry(reg) manifest.populate_registry(reg)
dest_dir = mozpath.join(buildconfig.topobjdir, dest_dir)
for dest_file, src in reg: for dest_file, src in reg:
if hasattr(src, 'path'): if hasattr(src, 'path'):
dest_path = mozpath.join(dest_dir, dest_file) dest_path = mozpath.join(dest_dir, dest_file)