Lines Matching refs:path
36 site.addsitedir(os.path.join(os.path.dirname(__file__), 'build/lib'))
121 script_path = os.path.join('build/tools', script)
150 test_dir = os.path.join(out_dir, 'android-ndk-{}'.format(release))
221 prefixed_files.append(os.path.join('bin', prefixed_name))
225 dir_prefixed_files.append(os.path.join(triple, 'bin', file_name))
227 ldscripts_dir = os.path.join(triple, 'lib/ldscripts')
232 src_file = os.path.join(src_dir, file_name)
233 dst_file = os.path.join(dst_dir, file_name)
236 if os.path.isdir(src_file):
238 elif os.path.islink(src_file):
245 parent_dir = os.path.normpath(os.path.join(dst_dir, '..'))
246 if not os.path.exists(parent_dir):
252 dirname = os.path.dirname(dst_file)
253 if not os.path.exists(dirname):
260 dirname = os.path.dirname(dst_file)
261 if not os.path.exists(dirname):
278 return os.path.join(system_path, toolchain_dir)
296 install_dir = os.path.join(out_dir, 'binutils', triple)
297 if os.path.exists(install_dir):
314 shutil.copy2(license_path, os.path.join(install_dir, 'NOTICE'))
364 libs.append((subdir, os.path.join(lib_dir, lib)))
366 install_dir = os.path.join(out_dir, 'gcclibs', triple)
367 if os.path.exists(install_dir):
376 src = os.path.join(gcc_path, gcc_subdir, lib)
377 dst = os.path.join(install_dir, lib)
378 dst_dir = os.path.dirname(dst)
379 if not os.path.exists(dst_dir):
384 os.path.join(gcc_path, 'NOTICE'),
385 os.path.join(install_dir, 'NOTICE'))
387 archive_name = os.path.join('gcclibs-' + arch)
461 package_path = os.path.join(out_dir, package_name)
465 shutil.copy2(f, os.path.join(out_dir, 'host-tools/bin'))
467 merge_license_files(os.path.join(out_dir, 'host-tools/NOTICE'), [
484 path = os.path.join(out_dir, 'host-tools')
485 build_support.make_package(package_name, path, dist_dir)
526 path = build_support.ndk_path('sources/android/cpufeatures')
527 build_support.make_package('cpufeatures', path, dist_dir)
531 path = build_support.android_path(
533 build_support.make_package('native_app_glue', path, dist_dir)
537 path = build_support.android_path(
539 build_support.make_package('ndk_helper', path, dist_dir)
543 path = build_support.ndk_path('sources/third_party/googletest')
544 build_support.make_package('gtest', path, dist_dir)
548 path = build_support.ndk_path('build')
549 build_support.make_package('build', path, dist_dir)
556 path = os.path.join(temp_dir, 'python-packages')
558 build_support.android_path('development/python-packages'), path)
559 build_support.make_package('python-packages', path, dist_dir)
566 path = build_support.ndk_path('sources/cxx-stl/gabi++')
567 build_support.make_package('gabixx', path, dist_dir)
572 path = build_support.ndk_path('sources/cxx-stl/system')
573 build_support.make_package('system-stl', path, dist_dir)
578 path = build_support.ndk_path('sources/android/support')
579 build_support.make_package('libandroid_support', path, dist_dir)
584 path = build_support.ndk_path('sources/cxx-stl/llvm-libc++abi')
585 build_support.make_package('libcxxabi', path, dist_dir)
620 os.chdir(os.path.dirname(os.path.realpath(__file__)))
624 os.environ['ANDROID_BUILD_TOP'] = os.path.realpath('..')