Searched refs:src_path (Results 1 – 13 of 13) sorted by relevance
/build/lite/hb_internal/build/ |
D | patch_process.py | 58 for src_path, patch_list in patch_cfg_dict.items(): 59 self.patch_apply(src_path, patch_list, reverse) 61 def patch_apply(self, src_path, patch_list, reverse=False): argument 74 src_path = os.path.join(self.config.root_path, src_path) 75 if not os.path.exists(src_path): 83 src_path, patch) 93 cwd=src_path, shell=True)
|
/build/lite/ |
D | copy_files.py | 30 src_path = os.path.join(src, item) 32 if os.path.isdir(src_path): 34 shutil.copytree(src_path, dst_path, symlinks) 39 shutil.copy2(src_path, dst_path)
|
D | gen_module_notice_file.py | 28 def is_top_dir(src_path): argument 29 return os.path.exists(os.path.join(src_path, '.gn'))
|
/build/toolchain/ |
D | wrapper_utils.py | 19 def _gzip_then_delete(src_path, dest_path): argument 27 with open(src_path, 'rb') as f_in, gzip.GzipFile(dest_path, 31 os.unlink(src_path)
|
/build/scripts/ |
D | build_js_assets.py | 84 def make_manifest_data(config, options, js2abc, asset_index, assets_cnt, src_path): argument 102 … if js_module_name == src_path or (js_module_name == 'MainAbility' and src_path == 'default') \ 103 or (js_module_name == 'default' and src_path == 'MainAbility'): 123 src_path = os.path.basename(assets_dir[asset_index]) 127 build_dir = os.path.abspath(os.path.join(options.manifest_file_path, 'js', src_path)) 130 build_dir = os.path.abspath(os.path.join(options.manifest_file_path, 'ets', src_path)) 153 … data = make_manifest_data(config, options, js2abc, asset_index, assets_cnt, src_path) 158 print('Warning: There is no page matching this {}'.format(src_path)) 163 my_env["aceModuleBuild"] = os.path.join(gen_dir, src_path)
|
/build/scripts/util/ |
D | build_utils.py | 336 src_path=None, argument 350 assert (src_path is None) != (data is None), ( 356 if src_path and os.path.islink(src_path): 359 zip_file.writestr(zipinfo, os.readlink(src_path)) 364 if src_path: 365 st = os.stat(src_path) 370 if src_path: 371 with open(src_path, 'rb') as f: 419 src_path=fs_path,
|
/build/lite/testfwk/ |
D | lite_testcase_resource_copy.py | 38 for src_path in src_files: 39 if os.path.islink(src_path): 41 file_relpath = os.path.relpath(src_path, src) 46 shutil.copy2(src_path, dest_path)
|
/build/ohos/testfwk/ |
D | testcase_resource_copy.py | 40 for src_path in src_files: 41 if os.path.islink(src_path): 43 file_relpath = os.path.relpath(src_path, src) 48 shutil.copy2(src_path, dest_path) 49 result_files.append(src_path)
|
/build/ohos/packages/ |
D | fs_process.py | 45 src_path = self.config.out_path 46 libs = [lib for lib in os.listdir(src_path) if self.is_lib(lib)] 47 target_path = os.path.join(src_path, 'usr', 'lib') 51 source_file = os.path.join(src_path, lib)
|
/build/ohos/ndk/ |
D | archive_ndk.py | 60 src_path=f, 80 src_path=notice,
|
/build/ohos/sa_profile/ |
D | sa_profile_binary.py | 99 src_path=sa_file_path)
|
/build/ohos/sdk/ |
D | copy_sdk_modules.py | 80 src_path=fs_path)
|
/build/lite/hb_internal/cts/ |
D | cts.py | 308 src_path = os.path.join(root_path, path) 311 shutil.copytree(src_path,
|