Merge "create_reference_dumps.py: Change lsdump_paths.txt to newline-separated paths"

This commit is contained in:
Treehugger Robot
2018-08-01 06:02:30 +00:00
committed by Gerrit Code Review

View File

@@ -43,8 +43,8 @@ def get_lsdump_paths_from_out(product):
assert(os.path.exists(lsdump_paths_file) == True)
lsdump_paths = dict()
with open(lsdump_paths_file) as f:
for path in f.read().split(' '):
add_to_path_dict(path, lsdump_paths)
for path in f:
add_to_path_dict(path.rstrip(), lsdump_paths)
return lsdump_paths
def find_and_copy_lib_lsdumps(target, ref_dump_dir_stem, ref_dump_dir_insertion,