create_reference_dumps.py: Change lsdump_paths.txt to newline-separated paths
Split the content of lsdump_paths.txt with newline. Bug: 111814844 Test: m vndk findlsdumps -j18 Test: ./utils/create_reference_dumps.py -products aosp_arm64 Change-Id: I76ed008382fff8589d29ab97720d262a7636d523
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user