Home
last modified time | relevance | path

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

/build/lite/
Dcopy_files.py31 src_path = os.path.join(src, item)
33 if os.path.isdir(src_path):
35 shutil.copytree(src_path, dst_path, symlinks)
40 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.py85 def make_manifest_data(config, options, js2abc, asset_index, assets_cnt, src_path): argument
103 … if js_module_name == src_path or (js_module_name == 'MainAbility' and src_path == 'default') \
104 or (js_module_name == 'default' and src_path == 'MainAbility'):
125 src_path = os.path.basename(assets_dir[asset_index])
129 build_dir = os.path.abspath(os.path.join(options.manifest_file_path, 'js', src_path))
132 build_dir = os.path.abspath(os.path.join(options.manifest_file_path, 'ets', src_path))
155 … data = make_manifest_data(config, options, js2abc, asset_index, assets_cnt, src_path)
160 print('Warning: There is no page matching this {}'.format(src_path))
165 my_env["aceModuleBuild"] = os.path.join(gen_dir, src_path)
Dcompile_app.py85 src_path = module.get('srcPath')
86 ohpm_install_path = os.path.join(cwd, src_path)
114 src_path = module.get('srcPath')
117 cwd, src_path, 'build/default/outputs/ohosTest')
120 cwd, src_path, 'build/default/outputs/default')
/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/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/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.py48 src_path = self.config.out_path
49 libs = [lib for lib in os.listdir(src_path) if self.is_lib(lib)]
50 target_path = os.path.join(src_path, 'usr', 'lib')
54 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)