Lines Matching refs:os
22 import os
42 config_path = os.path.join(root, 'build', 'soong', 'cc', 'config',
67 debugger_path = os.path.join(toolchain_path, "bin", lldb_name)
68 if os.path.isfile(debugger_path):
80 return os.path.join(root, clang_base, "linux-x86",
133 target_device = os.environ["TARGET_PRODUCT"]
185 local_path = os.path.join(sysroot, interp.lstrip("/"))
186 if os.path.exists(local_path):
193 local_path = os.path.join(sysroot, interp_real.lstrip("/"))
194 if os.path.exists(local_path):
197 return os.path.dirname(local_path)
202 shutil.copy(local_path, os.path.join(result, posixpath.basename(interp)))
207 device.pull(interp, os.path.join(result, posixpath.basename(interp)))
363 root = os.environ["ANDROID_BUILD_TOP"]
364 symbols_dir = os.path.join(sysroot, "system", "lib64" if is64bit else "lib")
365 vendor_dir = os.path.join(sysroot, "vendor", "lib64" if is64bit else "lib")
370 solib_search_path += [os.path.join(symbols_dir, x) for x in symbols_paths]
371 solib_search_path += [os.path.join(vendor_dir, x) for x in vendor_paths]
375 dalvik_gdb_script = os.path.join(root, "development", "scripts", "gdb", "dalvik.gdb")
376 if not os.path.exists(dalvik_gdb_script):
397 if env not in os.environ:
407 root = os.environ["ANDROID_BUILD_TOP"]
408 sysroot = os.path.join(os.environ["ANDROID_PRODUCT_OUT"], "symbols")
433 toolchain_path = os.path.join(root, clang_base, platform_name,
435 llvm_readobj_path = os.path.join(toolchain_path, "bin", "llvm-readobj")
471 debugger_path = os.path.join(