Lines Matching refs:os
6 import os
13 ndk_dir = os.getenv('NDK')
26 if not os.path.exists(ndk_dir):
36 for name in os.listdir(os.path.join(ndk_dir, 'platforms')):
56 return os.path.join(ndk_dir, 'toolchains', arch, 'prebuilt', host)
60 return os.path.join(ndk_dir, 'toolchains', 'llvm', 'prebuilt', host)
64 return os.path.join(ndk_dir, 'platforms', api, *subdirs)
83 if os.path.exists(path):
88 ld_exeutable = os.path.join(
100 clang = os.path.join(self.clang_dir, 'bin', 'clang')
114 crtbegin = os.path.join(self.ndk_lib, 'crtbegin_so.o')
115 crtend = os.path.join(self.ndk_lib, 'crtend_so.o')
117 crtbegin = os.path.join(self.ndk_lib, 'crtbegin_static.o')
118 crtend = os.path.join(self.ndk_lib, 'crtend_android.o')
120 clang = os.path.join(self.clang_dir, 'bin', 'clang')