Home
last modified time | relevance | path

Searched refs:args_dict (Results 1 – 25 of 42) sorted by relevance

12

/build/hb/modules/interface/
Dtool_module_interface.py28 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
29 super().__init__(args_dict, args_resolver)
56 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:
Dmodule_interface.py25 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
26 self._args_dict = args_dict
34 def args_dict(self) -> dict: member in ModuleInterface
Dset_module_interface.py26 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
27 super().__init__(args_dict, args_resolver)
38 if not self.args_dict['all'].arg_value:
Dclean_module_interface.py26 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
27 super().__init__(args_dict, args_resolver)
Dinstall_module_interface.py27 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
28 super().__init__(args_dict, args_resolver)
Dpublish_module_interface.py27 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
28 super().__init__(args_dict, args_resolver)
Dupdate_module_interface.py27 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
28 super().__init__(args_dict, args_resolver)
Dindep_build_module_interface.py27 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
28 super().__init__(args_dict, args_resolver)
Dpush_module_interface.py27 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
28 super().__init__(args_dict, args_resolver)
Dpackage_module_interface.py27 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
28 super().__init__(args_dict, args_resolver)
/build/hb/modules/
Dohos_env_module.py27 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
28 super().__init__(args_dict, args_resolver)
40 if not self.args_dict['indep_build'].arg_value:
41 self.args_resolver.resolve_arg(self.args_dict['check'], self)
44 if not self.args_dict['indep_build'].arg_value:
45 self.args_resolver.resolve_arg(self.args_dict['install'], self)
48 self.args_resolver.resolve_arg(self.args_dict['clean'],self)
Dohos_tool_module.py29 …def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, gn: BuildFileGeneratorIn…
30 super().__init__(args_dict, args_resolver)
47 self.args_resolver.resolve_arg(self.args_dict['ls'], self)
50 self.args_resolver.resolve_arg(self.args_dict['desc'], self)
53 self.args_resolver.resolve_arg(self.args_dict['path'], self)
56 self.args_resolver.resolve_arg(self.args_dict['refs'], self)
59 self.args_resolver.resolve_arg(self.args_dict['format'], self)
62 self.args_resolver.resolve_arg(self.args_dict['clean'], self)
Dohos_build_module.py38 args_dict: dict,
45 super().__init__(args_dict, args_resolver, preloader,
70 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")…
116 for phase_arg in [arg for arg in self.args_dict.values()if arg.arg_phase == phase]:
Dohos_push_module.py32 …def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, hdc: BuildFileGeneratorI…
33 super().__init__(args_dict, args_resolver)
61 if self.args_dict['list_targets'].arg_value:
62 self.args_resolver.resolve_arg(self.args_dict["list_targets"], self)
64 for arg in self.args_dict.values():
Dohos_set_module.py29 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, menu: MenuInterface):
30 super().__init__(args_dict, args_resolver)
47 self.args_resolver.resolve_arg(self.args_dict['product_name'], self)
50 self.args_resolver.resolve_arg(self.args_dict['all'], self)
Dohos_indep_build_module.py31 …def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, hpm: BuildFileGeneratorI…
32 super().__init__(args_dict, args_resolver)
60 self.args_dict.get('part').arg_value))
63 for arg in self.args_dict.values():
Dohos_clean_module.py28 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
29 super().__init__(args_dict, args_resolver)
52 for phase_arg in [arg for arg in self.args_dict.values()if arg.arg_phase == phase]:
Dohos_install_module.py32 …def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, hpm: BuildFileGeneratorI…
33 super().__init__(args_dict, args_resolver)
63 for arg in self.args_dict.values():
Dohos_publish_module.py32 …def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, hpm: BuildFileGeneratorI…
33 super().__init__(args_dict, args_resolver)
61 for arg in self.args_dict.values():
Dohos_package_module.py32 …def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, hpm: BuildFileGeneratorI…
33 super().__init__(args_dict, args_resolver)
61 for arg in self.args_dict.values():
Dohos_update_module.py32 …def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, hpm: BuildFileGeneratorI…
33 super().__init__(args_dict, args_resolver)
61 for arg in self.args_dict.values():
/build/hb/
Dmain.py96 args_dict = Arg.parse_all_args(ModuleType.BUILD)
98 if args_dict.get("product_name").arg_value != '':
115 build_args_resolver = BuildArgsResolver(args_dict)
117 … return OHOSBuildModule(args_dict, build_args_resolver, preloader, loader, generate_ninja, ninja)
125 args_dict = Arg.parse_all_args(ModuleType.SET)
126 set_args_resolver = SetArgsResolver(args_dict)
129 return OHOSSetModule(args_dict, set_args_resolver, menu)
139 args_dict = Arg.parse_all_args(ModuleType.ENV)
140 env_args_resolver = EnvArgsResolver(args_dict)
141 return OHOSEnvModule(args_dict, env_args_resolver)
[all …]
/build/hb/resolver/
Dindep_build_args_resolver.py32 def __init__(self, args_dict: dict):
33 super().__init__(args_dict)
41 args_dict = Arg.read_args_file(ModuleType.ENV)
42 arg = args_dict.get("target_cpu")
51 args_dict = Arg.read_args_file(ModuleType.ENV)
52 arg = args_dict.get("target_os")
78 args_dict = Arg.read_args_file(ModuleType.ENV)
79 arg = args_dict.get("part")
Dclean_args_resolver.py32 def __init__(self, args_dict: dict):
33 super().__init__(args_dict)
37 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:
/build/hb/resolver/interface/
Dargs_resolver_interface.py27 def __init__(self, args_dict: dict):
29 self._map_args_to_function(args_dict)
43 def _map_args_to_function(self, args_dict: dict):
44 for entity in args_dict.values():

12