diff options
Diffstat (limited to 'lldb/use_lldb_suite_root.py')
-rw-r--r-- | lldb/use_lldb_suite_root.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/use_lldb_suite_root.py b/lldb/use_lldb_suite_root.py index 5492d4081ac..d33e280ba11 100644 --- a/lldb/use_lldb_suite_root.py +++ b/lldb/use_lldb_suite_root.py @@ -2,8 +2,10 @@ import inspect import os import sys + def add_third_party_module_dirs(lldb_root): - third_party_modules_dir = os.path.join(lldb_root, "third_party", "Python", "module") + third_party_modules_dir = os.path.join( + lldb_root, "third_party", "Python", "module") if not os.path.isdir(third_party_modules_dir): return @@ -12,6 +14,7 @@ def add_third_party_module_dirs(lldb_root): module_dir = os.path.join(third_party_modules_dir, module_dir) sys.path.insert(0, module_dir) + def add_lldbsuite_packages_dir(lldb_root): packages_dir = os.path.join(lldb_root, "packages", "Python") sys.path.insert(0, packages_dir) |