Home
last modified time | relevance | path

Searched refs:target_os (Results 1 - 9 of 9) sorted by relevance

/build/
H A Dprebuilts_config.sh21 target_os=$(uname -s | tr '[:upper:]' '[:lower:]')
25 python3 "${script_path}/prebuilts_config.py" --code_path $code_dir --home_path $home_path --config_file $config_file --repo_https https://repo.huaweicloud.com --target_os $target_os --target_cpu $target_cpu
27 PYTHON_PATH=$(realpath ${code_dir}/prebuilts/python/${target_os}-*/*/bin | tail -1)
29 if [[ "${target_os}" == "linux" ]]; then
31 elif [[ "${target_os}" == "darwin" ]]; then
H A Dprebuilts_config.py257 os_type = args.target_os
304 if one_type.get('target_os') == os_type:
307 if one_type.get('target_os') == os_type and (
330 parser.add_argument('--target_os', required=True, type=str, help='type of os')
/build/hb/util/loader/
H A Dplatforms_loader.py74 target_os = _info.get('target_os')
76 if target_os is None or target_cpu is None:
78 "target_os or target_cpu is None."
80 arch = "{}_{}".format(target_os, target_cpu)
89 target_os = _info.get('target_os')
91 if target_os is None or target_cpu is None:
93 "target_os or target_cpu is None."
95 arch = "{}_{}".format(target_os, target_cp
[all...]
/build/ohos/sdk/
H A Dparse_sdk_description.py36 KEYS = ['target_os', 'install_dir', 'module_label', 'build_only']
204 target_os = d.get('target_os')
215 add_target(item, m, target_os)
/build/hb/resources/
H A Dconfig.py78 def target_os(self): member in Config
81 @target_os.setter
82 def target_os(self, value: str): member in Config
84 self.config_update('target_os', self._target_os)
388 self.target_os = config_content.get('target_os', None)
/build/hb/services/
H A Dloader.py43 self.target_os = ""
68 self.target_os = self.config.target_os if self.config.target_os else "ohos"
73 self.target_arch = '{}_{}'.format(self.target_os, self.target_cpu)
711 .format(self.target_os, self.target_cpu, real_name))
782 self.target_os, self.target_cpu)
857 args.append('target_os={}'.format(self.target_os))
/build/hb/resolver/
H A Dset_args_resolver.py65 config.target_os = device_info.get('target_os')
H A Dbuild_args_resolver.py144 if config.target_os == "":
145 config.target_os = target_arg.arg_value
146 elif target_arg.arg_value != default_build_args.get("target_os").get("argDefault"):
147 config.target_os = target_arg.arg_value
/build/hb/util/preloader/
H A Dpreloader_process_data.py147 if self._ohos_config.target_os:
148 self._device_info["target_os"] = self._ohos_config.target_os
279 self._device_info.get('target_os'), self._device_info.get('target_cpu'))
313 if config.get('target_os'):
314 device_info['target_os'] = config.get('target_os')
316 device_info['target_os'] = 'ohos'

Completed in 6 milliseconds