Home
last modified time | relevance | path

Searched refs:src_path (Results 1 – 13 of 13) sorted by relevance

/build/lite/hb_internal/build/
Dpatch_process.py58 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/
Dcopy_files.py30 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)
Dgen_module_notice_file.py28 def is_top_dir(src_path): argument
29 return os.path.exists(os.path.join(src_path, '.gn'))
/build/toolchain/
Dwrapper_utils.py19 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/
Dbuild_js_assets.py84 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/
Dbuild_utils.py336 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/
Dlite_testcase_resource_copy.py38 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/
Dtestcase_resource_copy.py40 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/
Dfs_process.py45 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/
Darchive_ndk.py60 src_path=f,
80 src_path=notice,
/build/ohos/sa_profile/
Dsa_profile_binary.py99 src_path=sa_file_path)
/build/ohos/sdk/
Dcopy_sdk_modules.py80 src_path=fs_path)
/build/lite/hb_internal/cts/
Dcts.py308 src_path = os.path.join(root_path, path)
311 shutil.copytree(src_path,