Home
last modified time | relevance | path

Searched refs:arg_value (Results 1 – 25 of 26) sorted by relevance

12

/build/hb/resolver/
Dindep_build_args_resolver.py38 if target_arg.arg_value:
39 build_executor.regist_flag('cpu', target_arg.arg_value)
48 if target_arg.arg_value:
49 build_executor.regist_flag('os', target_arg.arg_value)
62 target_arg.arg_value = sys.argv[2]
64 if target_arg.arg_value:
65 bundle_path = ComponentUtil.search_bundle_file(target_arg.arg_value)
68 … 'ERROR argument "hb build <part_name>": Invalid part_name "{}". '.format(target_arg.arg_value))
73 target_arg.arg_value = part_name
84 target_arg.arg_value))
[all …]
Dbuild_args_resolver.py100 if target_arg.arg_value == 'ohos-sdk':
104 if len(build_module.args_dict['build_target'].arg_value) == 0:
105 build_module.args_dict['build_target'].arg_value = [
107 build_module.args_dict['target_cpu'].arg_value = 'arm64'
108 elif target_arg.arg_value == 'arkui-x':
115 if len(build_module.args_dict['build_target'].arg_value) == 0:
116 build_module.args_dict['build_target'].arg_value = [
129 config.target_cpu = target_arg.arg_value
130 elif target_arg.arg_value != default_build_args.get("target_cpu").get("argDefault"):
131 config.target_cpu = target_arg.arg_value
[all …]
Dinstall_args_resolver.py37 part_name = target_arg.arg_value
46 if target_arg.arg_value == True or target_arg.arg_value == '':
51 if target_arg.arg_value:
52 install_module.hpm.regist_flag('local', target_arg.arg_value)
56 if target_arg.arg_value:
57 …install_module.hpm.regist_flag('defaultDeps', ComponentUtil.get_default_deps(target_arg.arg_value))
Dpush_args_resolver.py37 part_name = target_arg.arg_value
45 if target_arg.arg_value:
46 push_module.hdc.regist_flag('target', target_arg.arg_value)
52 if target_arg.arg_value:
58 if target_arg.arg_value:
63 if target_arg.arg_value:
64 push_module.hdc.regist_flag('src',target_arg.arg_value)
Dclean_args_resolver.py37 if target_arg.arg_value or clean_module.args_dict['clean_all'].arg_value:
44 if target_arg.arg_value or clean_module.args_dict['clean_all'].arg_value:
54 if target_arg.arg_value or clean_module.args_dict['clean_all'].arg_value:
62 if target_arg.arg_value:
Dset_args_resolver.py40 if target_arg.arg_value == '':
42 elif target_arg.arg_value.__contains__('@'):
43 product_name, company_name = target_arg.arg_value.split('@', 2)
47 product_info = ProductUtil.get_product_info(target_arg.arg_value)
118 if target_arg.arg_value:
122 for arg_name, arg_value in options.items():
123 Arg.write_args_file(arg_name, arg_value, ModuleType.BUILD)
Dtool_args_resolver.py37 for arg in target_arg.arg_value:
49 for arg in target_arg.arg_value:
69 for arg in target_arg.arg_value:
89 for arg in target_arg.arg_value:
108 cmd_type=CMDTYPE.FORMAT, args_list=target_arg.arg_value)
113 out_dir = target_arg.arg_value[0]
Dupdate_args_resolver.py37 part_name = target_arg.arg_value
45 if target_arg.arg_value == True or target_arg.arg_value == '':
Dpackage_args_resolver.py37 part_name = target_arg.arg_value
46 if target_arg.arg_value:
47 package_module.hpm.regist_flag('output', target_arg.arg_value)
Denv_args_resolver.py40 if target_arg.arg_value:
81 if target_arg.arg_value:
104 if target_arg.arg_value:
Dpublish_args_resolver.py37 part_name = target_arg.arg_value
/build/hb/modules/interface/
Dtool_module_interface.py56 if self.args_dict['ls'].arg_value:
58 elif self.args_dict['desc'].arg_value:
60 elif self.args_dict['path'].arg_value:
62 elif self.args_dict['refs'].arg_value:
64 elif self.args_dict['format'].arg_value:
66 elif self.args_dict['clean'].arg_value:
Dset_module_interface.py38 if not self.args_dict['all'].arg_value:
/build/hb/services/interface/
Dbuild_executor_interface.py30 def regist_arg(self, arg_name: str, arg_value: str):
31 if arg_name in self._args_dict.keys() and self._args_dict[arg_name] != arg_value:
33 arg_name, self._args_dict[arg_name], arg_value))
35 self._args_dict[arg_name] = arg_value
Dpreload_interface.py38 def regist_arg(self, arg_name: str, arg_value: str):
39 if arg_name in self._args_dict.keys() and self._args_dict[arg_name] != arg_value:
41 arg_name, self._args_dict[arg_name], arg_value))
43 self._args_dict[arg_name] = arg_value
Dload_interface.py37 def regist_arg(self, arg_name: str, arg_value: str):
38 if arg_name in self._args_dict.keys() and self._args_dict[arg_name] != arg_value:
40 arg_name, self._args_dict[arg_name], arg_value))
42 self._args_dict[arg_name] = arg_value
Dbuild_file_generator_interface.py36 def regist_arg(self, arg_name: str, arg_value: str):
37 self._args_dict[arg_name] = arg_value
Dservice_interface.py40 def regist_arg(self, arg_name: str, arg_value): argument
/build/hb/modules/
Dohos_build_module.py70 self.args_dict.get('product_name').arg_value))
77 … if self.args_dict.get('fast_rebuild', None) and not self.args_dict.get('fast_rebuild').arg_value:
82 … if self.args_dict.get('fast_rebuild', None) and not self.args_dict.get('fast_rebuild').arg_value:
90 …if not self.args_dict.get("build_only_load").arg_value and not self.args_dict.get("fast_rebuild").
101 …if not self.args_dict.get("build_only_load").arg_value and not self.args_dict.get("build_only_gn")…
Dohos_env_module.py40 if not self.args_dict['indep_build'].arg_value:
44 if not self.args_dict['indep_build'].arg_value:
Dohos_indep_build_module.py60 self.args_dict.get('part').arg_value))
Dohos_push_module.py61 if self.args_dict['list_targets'].arg_value:
/build/hb/containers/
Darg.py172 def arg_value(self): member in Arg
175 @arg_value.setter
176 def arg_value(self, value): member in Arg
211 arg_value = ''
213 arg_value = data['argDefault']
215 arg_value = int(data['argDefault'])
217 arg_value = data['argDefault']
219 arg_value = list(data['argDefault'])
221 arg_value = dict(data['argDefault'])
223 arg_value = list(data['argDefault'])
[all …]
/build/docs/
Dhow-to-add-a-build-parameter.md59 if target_arg.arg_value:
/build/hb/
Dmain.py98 if args_dict.get("product_name").arg_value != '':

12