/build/ohos/images/ |
H A D | build_image.py | 31 if os.path.exists(userdata_path): 38 if os.path.exists(root_dir): 60 if os.path.exists(_path): 63 if not os.path.exists(os.path.join(updater_path, 'init')): 65 if not os.path.exists(os.path.join(updater_path, 'system/bin')): 67 if not os.path.exists(os.path.join(updater_path, 'system/lib')): 70 if not os.path.exists(os.path.join(updater_path, 'system/lib64')): 72 if not os.path.exists(os.path.join(updater_path, 'vendor/lib64')): 75 if not os.path.exists(os.path.join(updater_path, 'vendor/lib')): 77 if not os.path.exists(o [all...] |
/build/ohos/packages/ |
H A D | modules_install.py | 109 if not os.path.exists(source): 122 if not os.path.exists(dest_dir): 145 if not os.path.exists(symlink_dest_file): 154 if not os.path.exists(os.path.dirname(symlink_dest_file)): 156 if not os.path.exists(symlink_dest_file): 161 if os.path.exists(dest_file): 219 if os.path.exists(system_install_base_dir): 226 if os.path.exists(vendor_install_base_dir): 232 if os.path.exists(eng_system_install_base_dir): 238 if os.path.exists(eng_chipset_install_base_di [all...] |
H A D | resources_collect.py | 52 if not os.path.exists(_variant_dir): 58 if os.path.exists(dest_dir): 78 if not os.path.exists(_variant_dir): 84 if os.path.exists(dest_dir): 108 if not os.path.exists(_variant_dir): 115 if os.path.exists(dest_dir): 139 if not os.path.exists(_variant_dir): 157 if not os.path.exists(part_modules_dir):
|
H A D | system_gzip_package.py | 29 if not os.path.exists(src_image_path): 38 if not os.path.exists(dest_dir_path): 45 if not os.path.exists(dest_file_path): 46 if not os.path.exists(os.path.dirname(dest_file_path)): 56 if os.path.exists(f):
|
/build/lite/ |
H A D | gen_module_notice_file.py | 29 return os.path.exists(os.path.join(src_path, '.gn')) 45 if not os.path.exists(readme_file_path) or os.path.isdir(readme_file_path): 63 if not os.path.exists(license_file_path): 68 if not os.path.exists(copyright_file_path): 78 if os.path.exists(expect_file): 111 while os.path.exists(os.path.join(nf_dest_dir, 122 if not os.path.exists(dir_name): 158 if os.path.exists(nf_src) and os.path.exists(cp_src):
|
/build/lite/testfwk/ |
H A D | lite_testcase_resource_copy.py | 29 if not os.path.exists(src): 31 if not os.path.exists(dest): 44 if not os.path.exists(dest_dir): 64 if not os.path.exists(_resource_file): 70 if os.path.exists(_resource_src_new): 143 if not os.path.exists(resource_config_file): 171 if not os.path.exists(src_file): 180 if not os.path.exists(dest_dir): 198 if not os.path.exists(resource_config_file):
|
/build/scripts/ |
H A D | download_sdk.py | 35 if os.path.exists(build_scripts): 73 if not os.path.exists(target_dir): 78 if os.path.exists(os.path.join(target_dir, "daily_build.log")): 80 if os.path.exists(os.path.join(target_dir, "manifest_tag.xml")): 89 if os.path.exists(sdk_unzip_dir): 115 if not os.path.exists(default_save_path): 147 if os.path.exists(os.path.join(default_save_path, product_name)): 148 print('{} already exists. Please backup or delete it first! Download canceled!'.format( 152 if product['obsPath'] and os.path.exists(default_save_path): 162 if os.path.exists(o [all...] |
H A D | ninja_rules_parser.py | 26 if not os.path.exists(subninja_build_file): 70 if not os.path.exists(toolchain_ninja_file): 98 if not os.path.exists(variants_toolchain_info_file): 110 if not os.path.exists(build_ninja_file): 142 if not os.path.exists(ninja_build_file): 184 if not os.path.exists(toolchain_ninja_file): 201 if not os.path.exists(os.path.join(source_root_dir, '.gn')):
|
H A D | asan_backup.py | 45 if os.path.exists(_dir): 59 if not os.path.exists(args.backup_dir): 62 if os.path.exists(args.backup_dest_dir): 73 if os.path.exists(_dir):
|
H A D | code_release.py | 32 if not os.path.exists(opensource_config_file): 33 print("Warning, the opensource config file is not exists.") 40 if os.path.exists(dst_dir): 54 if not os.path.exists(opensource_config_file): 55 print("Warning, the opensource config file is not exists.") 110 if os.path.exists(package_dir): 137 if os.path.exists(package_dir):
|
H A D | get_warnings.py | 49 if not os.path.exists(in_name): 50 print("warning: build log file {} is not exists.".format(in_name)) 94 if not os.path.exists(os.path.dirname(warn_file)): 96 if os.path.exists(warn_file): 104 if os.path.exists(temp_out_file):
|
H A D | hapbuilder.py | 56 if os.path.exists(index_file_path): 59 if os.path.exists(resources_path): 82 if not os.path.exists(assets_dir): 91 if os.path.exists(assets_dir) and len(os.listdir(assets_dir)) != 0: 97 if os.path.exists(js_assets_dir) and len(os.listdir(js_assets_dir)) != 0: 111 if not os.path.exists(hap_profile): 112 raise Exception('Error: {} of hap file not exists'.format(config_name))
|
H A D | merge_notice.py | 23 if not os.path.exists(ohos_notice): 28 if not os.path.exists(a_notice): 45 if os.path.exists(ohos_notice):
|
/build/ |
H A D | prebuilts_download.py | 59 return os.path.exists(mark_file_path) 120 if os.path.exists(local_file): 158 if pathlib.Path(os.path.join(root_dir, 'interface', 'sdk-js')).exists() or pathlib.Path( 159 os.path.join(root_dir, 'foundation', 'arkui')).exists() or pathlib.Path( 160 os.path.join(root_dir, 'arkcompiler')).exists(): 181 if not os.path.exists(abs_unzip_dir): 192 if os.path.exists(local_file): 246 if os.path.exists(node_modules_path): 249 if os.path.exists(full_code_path): 270 if not os.path.exists(src_di [all...] |
H A D | prebuilts_config.py | 69 if not os.path.exists(dest):
75 if os.path.exists(dest):
84 if os.path.exists(dest_dir):
108 if not os.path.exists(download_dir):
142 if not os.path.exists(os.path.join(download_dir, "npm-install.js")):
144 if os.path.exists(npm_install_script):
172 if os.path.exists(file_path):
177 if not os.path.exists(folder_path):
209 if not os.path.exists(destination_folder):
|
/build/ohos/testfwk/ |
H A D | testcase_resource_copy.py | 30 if not os.path.exists(src): 32 if not os.path.exists(dest): 46 if not os.path.exists(dest_dir): 68 if not os.path.exists(_resource_file): 74 if os.path.exists(_resource_src_new): 147 if not os.path.exists(resource_config_file): 176 if not os.path.exists(src_file): 186 if not os.path.exists(dest_dir): 235 if not os.path.exists(resource_config_file): 242 if os.path.exists(resource_config_fil [all...] |
H A D | test_js_stage_file_copy.py | 29 if os.path.exists(os.path.join(project_path, "Test.json")): 32 if os.path.exists(module_info_file): 44 if os.path.exists(os.path.join(project_path, "Test.json")): 48 if os.path.exists(json_file_path):
|
/build/scripts/util/ |
H A D | file_utils.py | 28 if os.path.exists(build_config_file): 35 if not os.path.exists(input_file): 54 if not os.path.exists(input_file): 72 if not os.path.exists(file_dir): 85 if os.path.exists(output_file) and os.path.isfile(output_file): 105 if not os.path.exists(file_dir):
|
H A D | zip_and_md5.py | 46 if os.path.exists(signature_file): 52 if os.path.exists(signature_file): 73 if os.path.exists(args.output_zipfile): 76 if not os.path.exists(args.output_zipfile):
|
H A D | pycache.py | 32 if os.path.exists(cache_artifact): 38 elif os.path.exists(possible_dir_cache_artifact): 58 if not os.path.exists(obj): 115 if not os.path.exists(daemon_config_file): 116 raise Exception('Warning: no pycache daemon process exists.')
|
/build/hb/util/preloader/ |
H A D | preloader_process_data.py | 227 if os.path.exists(ext_root_proc_conf_path): 232 if os.path.exists(ext_critical_proc_conf_path): 237 if os.path.exists(ext_sanitizer_check_list_path): 241 if os.path.exists(_global_ext_var_file): 256 if os.path.exists(chipprod_config_path): 261 if os.path.exists(ext_sdk_config_file): 266 if os.path.exists(ext_ndk_config_file): 271 if os.path.exists(path): 332 if not os.path.exists(device_build_path): 361 if not os.path.exists(system_base_config_fil [all...] |
/build/hb/services/ |
H A D | gn.py | 85 if os.path.exists(gn_path): 140 if (os.path.exists(os.path.join(out_dir, "args.gn"))): 165 if (os.path.exists(os.path.join(out_dir, "args.gn"))): 189 if (os.path.exists(os.path.join(out_dir, "args.gn"))): 209 if (os.path.exists(os.path.join(out_dir, "args.gn"))): 231 if (os.path.exists(arg)): 250 if (os.path.exists(os.path.join(out_dir, "args.gn"))):
|
/build/ohos/notice/ |
H A D | collect_module_notice_file.py | 40 return os.path.exists(os.path.join(current_dir, '.gn')) 147 if opensource_file is not None and os.path.exists(opensource_file): 158 if not os.path.exists(readme_path): 173 if opensource_file is not None and os.path.exists(opensource_file): 199 if not os.path.exists(notice_file): 201 if os.path.exists(notice_file): 202 if not os.path.exists(output):
|
/build/ohos/update/ |
H A D | check_abi_and_copy_deps.py | 39 if not os.path.exists(file_path): 41 raise Exception("File " + file_path + " not exists!") 43 print(file_path + " not exists!") 100 if not os.path.exists(check_file): 101 raise Exception("File " + check_file + " not exists!") 108 if not os.path.exists(check_file): 109 raise Exception("File " + check_file + " not exists!") 121 if not os.path.exists(base_file): 122 raise Exception("File " + base_file + " not exists!") 207 if not os.path.exists(arg [all...] |
/build/ohos/sdk/ |
H A D | parse_public_sdk.py | 43 if os.path.exists(dest): 50 if os.path.exists: 58 if os.path.exists: 66 if os.path.exists:
|