Home
last modified time | relevance | path

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

/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:
Denv_module_interface.py26 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
27 super().__init__(args_dict, args_resolver)
Dclean_module_interface.py26 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
27 super().__init__(args_dict, args_resolver)
Dbuild_module_interface.py32 args_dict: dict,
39 super().__init__(args_dict, args_resolver)
/build/hb/modules/
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))
78 … if self.args_dict.get('fast_rebuild', None) and not self.args_dict.get('fast_rebuild').arg_value:
83 … if self.args_dict.get('fast_rebuild', None) and not self.args_dict.get('fast_rebuild').arg_value:
91 …if not self.args_dict.get("build_only_load").arg_value and not self.args_dict.get("fast_rebuild").…
102 …if not self.args_dict.get("build_only_load").arg_value and not self.args_dict.get("build_only_gn")…
117 for phase_arg in [arg for arg in self.args_dict.values()if arg.arg_phase == phase]:
Dohos_env_module.py27 def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface):
28 super().__init__(args_dict, args_resolver)
40 self.args_resolver.resolve_arg(self.args_dict['check'], self)
43 self.args_resolver.resolve_arg(self.args_dict['install'], self)
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_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]:
/build/hb/
Dmain.py63 args_dict = Arg.parse_all_args(ModuleType.BUILD)
65 if args_dict.get("product_name").arg_value != '':
75 build_args_resolver = BuildArgsResolver(args_dict)
77 … return OHOSBuildModule(args_dict, build_args_resolver, preloader, loader, generate_ninja, ninja)
81 args_dict = Arg.parse_all_args(ModuleType.SET)
82 set_args_resolver = SetArgsResolver(args_dict)
85 return OHOSSetModule(args_dict, set_args_resolver, menu)
88 args_dict = Arg.parse_all_args(ModuleType.ENV)
89 env_args_resolver = EnvArgsResolver(args_dict)
90 return OHOSEnvModule(args_dict, env_args_resolver)
[all …]
/build/hb/resolver/
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:
Dset_args_resolver.py32 def __init__(self, args_dict: dict):
33 super().__init__(args_dict)
120 set_module.args_dict['product_name'], set_module)
Denv_args_resolver.py35 def __init__(self, args_dict: dict):
36 super().__init__(args_dict)
Dbuild_args_resolver.py49 def __init__(self, args_dict: dict):
50 super().__init__(args_dict)
97 if len(build_module.args_dict['build_target'].arg_value) == 0:
98 build_module.args_dict['build_target'].arg_value = [
100 build_module.args_dict['target_cpu'].arg_value = 'arm64'
108 if len(build_module.args_dict['build_target'].arg_value) == 0:
109 build_module.args_dict['build_target'].arg_value = [
342 target_list = build_executor.args_dict.get('build_target', None)
363 'device_type', build_module.args_dict['device_type'].arg_value)
365 'build_variant', build_module.args_dict['build_variant'].arg_value)
[all …]
Dtool_args_resolver.py30 def __init__(self, args_dict: dict):
31 super().__init__(args_dict)
/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():
/build/hb/services/interface/
Dservice_interface.py28 def args_dict(self) -> dict: member in ServiceInterface
/build/hb/containers/
Darg.py229 args_dict = {}
237 args_dict[oh_arg.arg_name] = oh_arg
242 for oh_arg in args_dict.values():
270 return args_dict
/build/hb/services/
Dloader.py88 self.build_example = self.args_dict.get('build_example')
91 self.scalable_build = self.args_dict.get('scalable_build')
92 self.build_platform_name = self.args_dict.get('build_platform_name')
93 self.build_xts = self.args_dict.get('build_xts')
94 self.ignore_api_check = self.args_dict.get('ignore_api_check')
95 self.load_test_config = self.args_dict.get('load_test_config')
96 self.skip_partlist_check = self.args_dict.get('skip_partlist_check')
Dgn.py99 for key, value in self.args_dict.items():
/build/scripts/
Dcargo2gn.py1106 args_dict = vars(args)
1108 args_dict[arg.replace('-', '_')] = config_data[arg]