Merge "cast Path to string type" am: 95cc0dd43f am: 1408067bb6 am: 77d6d86e0a

am: 75180b5a4f

Change-Id: I9626bc6d42130f45df420ab1b4a01f13e8a25702
This commit is contained in:
Jeongik Cha
2019-08-05 22:08:30 -07:00
committed by android-build-merger

View File

@@ -69,7 +69,7 @@ def main(all_targets, search_paths, ignore_signing_key=False):
if os.path.join(target, s).lower() + os.path.sep in p.lower():
return True
return False
paths = [path for path in Path(target).glob('**/*') if valid_path(path)]
paths = [str(path) for path in Path(target).glob('**/*') if valid_path(str(path))]
def run(path):
is_native_component = silent_call(["objdump", "-a", path])