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

am: ae448457bb

Change-Id: Id0894805fbc3eebd34dc93e31e105def61aaa771
This commit is contained in:
Jeongik Cha
2019-08-05 22:16:42 -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])