Searched refs:src_path (Results 1 – 12 of 12) sorted by relevance
/build/lite/ |
D | copy_files.py | 31 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)
|
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 | 85 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)
|
D | compile_app.py | 85 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/ |
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/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/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 | 48 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/ |
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)
|