{ "sshkey": { "arg_name": "--sshkey", "argDefault": "", "arg_help": "Default:''. Help: set sshkey", "arg_phase": "prebuild", "arg_type": "str", "arg_attribute": { "abbreviation": "-s" }, "resolve_function": "resolve_sshkey", "testFunction": "testSshkey" }, "clean": { "arg_name": "--clean", "argDefault": false, "arg_help": "Default:false. Help: clean all env args", "arg_phase": "prebuild", "arg_type": "bool", "arg_attribute": { "abbreviation": "-l" }, "resolve_function": "resolve_clean", "testFunction": "testClean" }, "check": { "arg_name": "--check", "argDefault": true, "arg_help": "Default:True. Help:check that the current running environment contains all dependencies", "arg_phase": "prebuild", "arg_type": "bool", "arg_attribute": { }, "resolve_function": "resolve_check", "testFunction": "testCheck" }, "install": { "arg_name": "--install", "argDefault": false, "arg_help": "Default:False. Help:install all dependent software for compiling L0, L1 and L2 products", "arg_phase": "prebuild", "arg_type": "bool", "arg_attribute": {}, "resolve_function": "resolve_install", "testFunction": "TestInstall" }, "indep_build": { "arg_name": "--indep-build", "argDefault": false, "arg_help": "Default:false. Help: switch to independent build", "arg_phase": "prebuild", "arg_type": "bool", "arg_attribute": { "abbreviation": "-i" }, "resolve_function": "resolve_install", "testFunction": "TestInstall" }, "part": { "arg_name": "--part", "argDefault": "", "arg_help": "Default:''. Help:Specify component name, run 'hb env --part {part_name}' ", "arg_phase": "prebuild", "arg_type": "str", "arg_attribute": { }, "resolve_function": "resolve_part", "testFunction": "" }, "target_cpu": { "arg_name": "--target-cpu", "argDefault": "arm", "arg_help": "Default:'arm'. Help:Specifies the desired cpu architecture for the build, each may support different cpu architectures, run 'hb env --target-cpu {cpu_architectures}' to set cpu architectures", "arg_phase": "prebuild", "arg_type": "str", "arg_attribute": { "optional": [ "arm", "arm64", "x86_64", "x64", "mipsel", "riscv64", "loongarch64" ] }, "resolve_function": "resolve_target_cpu", "testFunction": "testBuildTargetCpu" }, "target_os": { "arg_name": "--target-os", "argDefault": "linux", "arg_help": "Default:''. Help:Specifies the desired os type for the build, each may support different os type, run 'hb env --target-os {os_type}' to set os type", "arg_phase": "prebuild", "arg_type": "str", "arg_attribute": { "optional": [ "android", "ohos", "mac", "linux", "windows" ] }, "resolve_function": "resolve_target_os", "testFunction": "testBuildTargetOs" } }