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

am: 77b844cb98

Change-Id: Ie1ac2158c9857df35a139599728d90147937ceae
This commit is contained in:
Yi-yo Chiang
2018-07-31 23:12:09 -07:00
committed by android-build-merger

View File

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