/ohos5.0/build/test/script/ |
H A D | start_ex.sh | 20 root_path=$(dirname ${pre_dir_path}) 21 echo $root_path 23 CONFIG_PATH=$root_path/build/test/example/build_example.json 24 SRC_BUNDLE_PATH=$root_path/build/test/example/test_build.json 25 DEST_BUNDLE_PATH=$root_path/build/common/bundle.json 39 pytest -vs --html $root_path$option_report_path $root_path$option_script_path 46 pytest -vs --html $root_path$gn_template_report_path $root_path$gn_template_script_path 51 python3 $root_path$performance_script_path 70 rm -rf $root_path/out 72 mkdir -p $root_path$product_path
|
/ohos5.0/build/indep_configs/scripts/ |
H A D | gn_ninja_cmd.py | 41 def _get_all_features_info(root_path) -> dict: argument 42 _features_info_path = os.path.join(root_path, 'build', 'indep_configs', 'variants', 'default', 51 def _gn_cmd(root_path, variants): argument 52 _features_info = _get_all_features_info(root_path) 63 def _ninja_cmd(root_path, variants): argument 69 def _exec_cmd(root_path, variants): argument 70 gn_cmd = _gn_cmd(root_path, variants) 72 ninja_cmd = _ninja_cmd(root_path, variants) 79 root_path = args.root_path 80 _exec_cmd(root_path, variants)
|
H A D | variants_info_handler.py | 75 root_path = args.root_path 77 variants_path = os.path.join(root_path, 'build', 'indep_configs', "variants", variants) 78 variants_out_path = os.path.join(root_path, 'out', "preloader", variants)
|
H A D | generate_components.py | 199 def _components_info_handler(part_name_list, source_code_path, hpm_cache_path, root_path, dependenc… argument 208 … utils.get_json(os.path.join(root_path, "build", "bundle.json")), 269 root_path = args.root_path 274 toolchain_json = _get_toolchain_json(root_path) 279 … hpm_cache_path, root_path, dependences_json, _part_toolchain_map_dict)
|
/ohos5.0/drivers/peripheral/bluetooth/hci/hdi_service/ |
H A D | BUILD.gn | 21 "$root_path", 22 "$root_path/implement", 26 "$root_path/hci_interface_impl.cpp", 27 "$root_path/implement/bluetooth_address.cpp", 28 "$root_path/implement/h4_protocol.cpp", 29 "$root_path/implement/hci_protocol.cpp", 30 "$root_path/implement/hci_watcher.cpp", 31 "$root_path/implement/mct_protocol.cpp", 32 "$root_path/implement/vendor_interface.cpp", 53 include_dirs = [ "$root_path" ] [all …]
|
/ohos5.0/build/hb/util/post_gn/ |
H A D | check_compilation_parameters.py | 43 def parse_ninja_file(root_path, ninja_file): argument 45 whitelist, ldflags_check_list, cflags_check_list = read_check_list(root_path) 70 def read_ohos_config(root_path): argument 71 file_path = os.path.join(root_path, 'out', 'ohos_config.json') 78 def read_check_list(root_path): argument 79 file_path = os.path.join(root_path, 'build', 'hb', 'util', 'post_gn', 'check_list.json') 88 def check_compilation_parameters(root_path): argument 89 out_path = read_ohos_config(root_path) 92 parse_ninja_file(root_path, ninja_file)
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
H A D | hdi_add_handler.py | 284 root_path, board_parent_path, hcs_name) 306 self.config_group_passwd(root_path, replace_data) 308 def config_group_passwd(self, root_path, replace_data): argument 310 group_passwd = OperateGroupPasswd(tool_settings=hdi_config, root_path=root_path) 320 self.config_selinux(root_path, replace_data) 322 def config_selinux(self, root_path, replace_data): argument 328 root_path=root_path, replace_data=replace_data 337 root_path=root_path, replace_data=replace_data 347 root_path=root_path, replace_data=replace_data, align=True 356 root_path=root_path, replace_data=replace_data [all …]
|
/ohos5.0/build/tools/component_tools/ |
H A D | components_dependence_analysis.py | 85 def _colletct_build_gn_path(root_path: str): 86 for file in os.listdir(root_path): 87 file_path = os.path.join(root_path, file) 94 def collect_build_gn_path(root_path: str): 95 for file in os.listdir(root_path): 96 file_path = os.path.join(root_path, file) 107 collect_build_gn_path(args.root_path)
|
/ohos5.0/build/hb/util/post_build/ |
H A D | part_rom_statistics.py | 78 def collect_part_name(root_path): argument 80 file_path = os.path.join(root_path, "packages/phone/system_install_parts.json") 186 def read_subsystem_config(root_path): argument 188 part_json_path = os.path.join(root_path, 'build/subsystem_config.json') 209 def read_ohos_config(root_path): argument 210 file_path = os.path.join(root_path, "ohos_config.json") 220 def output_part_rom_status(root_path): argument 221 ohos_config = read_ohos_config(root_path) 227 part_paths = read_subsystem_config(root_path) 229 part_root_path = os.path.join(root_path, part_path)
|
/ohos5.0/build/ohos/packages/ |
H A D | kernel_permission.py | 35 def run(out_path, root_path): argument 36 target_out_path = os.path.join(root_path, out_path.lstrip("//")) 38 KernelPermission.execute_kernel_permission_cmd(target_out_path, root_path) 56 def execute_kernel_permission_cmd(out_path, root_path): argument 63 llvm_tool = KernelPermission.regist_llvm_objcopy_path(root_path) 78 def regist_llvm_objcopy_path(root_path): argument 82 …llvm_objcopy_path = os.path.join(root_path, "prebuilts/clang/ohos/linux-x86_64/llvm/bin/llvm-objco…
|
/ohos5.0/base/update/updateservice/frameworks/js/napi/session/ |
H A D | update_session.gni | 14 root_path = "//base/update/updateservice" 16 "$root_path/frameworks/js/napi/session/src/napi_common_utils.cpp", 17 "$root_path/frameworks/js/napi/session/src/napi_session.cpp", 20 session_include_dirs = [ "$root_path/frameworks/js/napi/session/include" ]
|
/ohos5.0/build/hb/resources/ |
H A D | config.py | 133 def root_path(self): member in Config 139 @root_path.setter 140 def root_path(self, value: str): member in Config 199 return self.product_path.replace(self.root_path, '/') 214 return self.device_path.replace(self.root_path, '/') 218 _build_path = os.path.join(self.root_path, 'build', 'lite') 297 _vendor_path = os.path.join(self.root_path, 'vendor') 304 _built_in_product_path = os.path.join(self.root_path, 313 _built_in_product_path_for_llvm = os.path.join(self.root_path, 322 return os.path.join(self.root_path, tools_path) [all …]
|
/ohos5.0/build/hb/util/ |
H A D | product_util.py | 36 _ext_scan_path = os.path.join(config.root_path, 53 config.root_path, info.get('product_path')) 166 os.path.join(config.root_path, _board_path)): 167 board_path = os.path.join(config.root_path, _board_path) 169 board_path = os.path.join(config.root_path, 'device', 174 board_path = os.path.join(config.root_path, 'device', 178 board_config_path = os.path.join(config.root_path, 203 files = [os.path.join(config.root_path, file) for file in IoUtil.read_json_file( 231 files = [os.path.join(config.root_path, file) for file in IoUtil.read_json_file(
|
H A D | component_util.py | 72 root_path = os.path.join(out_path, "build_configs") 75 for file in os.listdir(root_path): 78 file_path = os.path.join(root_path, file)
|
/ohos5.0/build/tools/component_tools/static_check/bundle_check/ |
H A D | bundle_check_common.py | 53 root_path = os.path.normpath(os.path.join(cur_path, '../../../../../')) 55 if BundleCheckTools.is_project(root_path): 56 return root_path
|
/ohos5.0/build/hb/util/prebuild/ |
H A D | patch_process.py | 71 src_path = os.path.join(self.config.root_path, src_path) 77 patch_path = os.path.join(self.config.root_path, patch_item) 79 patch_path = os.path.join(self.config.root_path,
|
/ohos5.0/build/hb/resolver/ |
H A D | build_args_resolver.py | 321 os.environ['CCACHE_BASEDIR'] = config.root_path 367 '{}/build/scripts/util/pyd.py'.format(config.root_path), 792 config.root_path), logfile 808 '{}/build/scripts/get_warnings.py'.format(config.root_path), 830 '{}/build/scripts/ninja2trace.py'.format(config.root_path), 857 config.root_path), "--build-out-dir", config.out_path, 859 "{}/build/subsystem_config.json".format(config.root_path), 863 "--root-source-dir", config.root_path 869 config.root_path), "--build-out-dir", config.out_path, 871 "{}/build/subsystem_config.json".format(config.root_path), [all …]
|
H A D | set_args_resolver.py | 72 config.out_path = os.path.join(config.root_path, 76 config.out_path = os.path.join(config.root_path, 'out', 79 config.out_path = os.path.join(config.root_path, 'out',
|
/ohos5.0/drivers/hdf_core/framework/tools/idl-gen/ |
H A D | idl_generator.py | 59 def _search_file(self, root_path, file_name): argument 60 file_list = os.listdir(root_path) 62 path = os.path.join(root_path, file) 71 def _parse_include_file(self, file_list, root_path): argument 81 file_path = self._search_file(root_path, file_name) 89 root_path, _ = os.path.split(file) # 输入文件所在目录 92 file_list = self._parse_include_file(file_list, root_path)
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | operate_group_passwd.py | 19 def __init__(self, tool_settings, root_path): argument 25 self.passwd_file = os.path.join(root_path, etc_path.get("passwd").get("path")) 26 self.group_file = os.path.join(root_path, etc_path.get("group").get("path"))
|
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/ |
H A D | hdi_mini.gni | 36 root_path = rebase_path("//drivers/interface") 40 root_path = rebase_path(package_path_map[1]) 42 root_package_path = "${root_package}:${root_path}" 45 sources_gen_dir = get_path_info("${root_path}/", "gen_dir")
|
/ohos5.0/build/test/ |
H A D | README.md | 5 测试框架所在路径为root_path/build/test目录下(root_path为项目根路径)
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-peripherals-display-vdi-des.md | 154 "${root_path}/drivers/peripheral/display/utils/include", 155 "${root_path}/drivers/interface/display/composer", 156 "${root_path}/drivers/peripheral/display/composer/hdi_service/include", 157 "${root_path}/drivers/interface/display/composer/hdifd_parcelable", 253 "${root_path}/drivers/peripheral/base", 254 "${root_path}/drivers/interface/display/composer/hdifd_parcelable", 255 "${root_path}/drivers/interface/display/buffer", 256 "${root_path}/drivers/peripheral/display/utils/include", 257 "${root_path}/drivers/peripheral/display/buffer/hdi_service/include",
|
/ohos5.0/drivers/hdf_core/adapter/uhdf/ |
H A D | hdi_small.gni | 37 root_path = rebase_path("//drivers/interface") 41 root_path = rebase_path(package_path_map[1]) 43 root_package_path = "${root_package}:${root_path}" 46 sources_gen_dir = get_path_info("${root_path}/", "gen_dir")
|
/ohos5.0/build/toolchain/ |
H A D | mini_debug_info.py | 36 def create_mini_debug_info(binary_path, stripped_binary_path, root_path, clang_base_dir): argument 50 llvm_dir_path = os.path.join(root_path, 'out/llvm-install/bin') 138 args.stripped_path, args.root_path, args.clang_base_dir)
|