Lines Matching refs:ndk_path
193 def find_ndk_and_sdk_paths(cls, ndk_path: Optional[str] = None
196 if ndk_path and os.path.isdir(ndk_path):
197 ndk_path = os.path.abspath(ndk_path)
198 yield ndk_path, cls.find_sdk_path(ndk_path)
200 ndk_path = os.path.dirname(os.path.abspath(get_script_dir()))
201 yield ndk_path, cls.find_sdk_path(ndk_path)
221 ndk_path = os.path.join(sdk_path, 'ndk-bundle')
222 if os.path.isdir(ndk_path):
223 yield ndk_path, sdk_path
226 def find_sdk_path(cls, ndk_path: str) -> Optional[str]:
227 path = ndk_path
253 def find_tool_path(cls, toolname: str, ndk_path: Optional[str] = None,
289 for ndk_dir, sdk_dir in cls.find_ndk_and_sdk_paths(ndk_path):
552 self, ndk_path: Optional[str],
554 self.symbolizer_path = ToolFinder.find_tool_path('llvm-symbolizer', ndk_path)
557 self.readelf = ReadElf(ndk_path)
797 def __init__(self, ndk_path: Optional[str], binary_finder: BinaryFinder):
798 self.ndk_path = ndk_path
800 self.readelf = ReadElf(ndk_path)
823 objdump_path = ToolFinder.find_tool_path('objdump', self.ndk_path, arch)
825 objdump_path = ToolFinder.find_tool_path('llvm-objdump', self.ndk_path, arch)
861 def __init__(self, ndk_path: Optional[str]):
862 self.readelf_path = ToolFinder.find_tool_path('llvm-readelf', ndk_path)