Lines Matching refs:install_dir
322 def build_props(install_dir): argument
327 for root, _, files in os.walk(install_dir, followlinks = True):
332 rel_path = os.path.relpath(full_path, install_dir)
337 bp_dir = os.path.join(install_dir, target_arch)
382 def gen_bp_files(image, vndk_dir, install_dir, snapshot_version): argument
394 props = build_props(install_dir)
398 bp_dir = os.path.join(install_dir, target_arch)
420 def find_all_installed_files(install_dir): argument
422 for root, _, files in os.walk(install_dir, followlinks = True):
504 def find_all_props_files(install_dir): argument
512 props = build_props(install_dir)
514 arch_install_dir = os.path.join(install_dir, target_arch)
560 def check_module_usage(install_dir, ninja_binary, image, ninja_file, goals, argument
562 all_installed_files = find_all_installed_files(install_dir)
563 all_props_files = find_all_props_files(install_dir)
636 install_dir): argument
661 check_call(['unzip', '-qn', artifact, '-d', install_dir])
682 dest_dir = os.path.join(install_dir, item1)
771 if not args.install_dir:
773 install_dir = os.path.expanduser(args.install_dir)
787 check_module_usage(install_dir, ninja_binary, args.image,
814 if os.path.exists(install_dir):
816 logging.info('Removing {}'.format(install_dir))
817 check_call(['rm', '-rf', install_dir])
822 'Are you sure? (yes/no): '.format(install_dir))
830 check_call(['mkdir', '-p', install_dir])
845 install_dir=install_dir)
846 gen_bp_files(args.image, vndk_dir, install_dir, snapshot_version)