Home
last modified time | relevance | path

Searched refs:exists (Results 1 - 25 of 284) sorted by relevance

12345678910>>...12

/build/ohos/images/
H A Dbuild_image.py31 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 Dmodules_install.py109 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 Dresources_collect.py52 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 Dsystem_gzip_package.py29 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 Dgen_module_notice_file.py29 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 Dlite_testcase_resource_copy.py29 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 Ddownload_sdk.py35 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 Dninja_rules_parser.py26 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 Dasan_backup.py45 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 Dcode_release.py32 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 Dget_warnings.py49 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 Dhapbuilder.py56 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 Dmerge_notice.py23 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 Dprebuilts_download.py59 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 Dprebuilts_config.py69 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 Dtestcase_resource_copy.py30 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 Dtest_js_stage_file_copy.py29 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 Dfile_utils.py28 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 Dzip_and_md5.py46 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 Dpycache.py32 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 Dpreloader_process_data.py227 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 Dgn.py85 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 Dcollect_module_notice_file.py40 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 Dcheck_abi_and_copy_deps.py39 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 Dparse_public_sdk.py43 if os.path.exists(dest):
50 if os.path.exists:
58 if os.path.exists:
66 if os.path.exists:

Completed in 9 milliseconds

12345678910>>...12