Index: tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
index a6c2a6f66160e365d73f987801e8264cb72f15a9..d8736079d03a38c9836ca999cc30106f5e007073 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
@@ -118,8 +118,9 @@ def GetRequiredLibrariesForPerfProfile(profile_file): |
if lib: |
lib = lib.group(1) |
path = os.path.dirname(lib) |
- if any(path.startswith(ignored_path) |
- for ignored_path in _IGNORED_LIB_PATHS) or path == '/': |
+ if (any(path.startswith(ignored_path) |
+ for ignored_path in _IGNORED_LIB_PATHS) |
+ or path == '/' or not path): |
continue |
libs.add(lib) |
return libs |