Home
last modified time | relevance | path

Searched refs:module_type (Results 1 – 16 of 16) sorted by relevance

/build/templates/metadata/
Dgen_module_info.py26 def get_source_name(module_type, name, prefix_override, suffix, argument
29 if (module_type == 'lib'
30 or module_type == 'lib64') and not prefix_override:
34 if module_type == 'java_library' and alternative_suffix:
38 if module_type == 'none':
43 def get_type_dir(module_type): argument
45 return module_type
49 module_type): argument
54 _install_dir = os.path.join(base_dir, get_type_dir(module_type),
57 _install_dir = os.path.join(base_dir, get_type_dir(module_type))
[all …]
Dmodule_info.gni24 assert(defined(invoker.module_type),
25 "module_type must be defined for ${target_name}.")
38 "module_type",
53 if (module_type == "java_library" || module_type == "none" ||
54 module_type == "app" || module_type == "dex") {
76 # reset module_type when module_type is lib
77 if (module_type == "lib") {
79 module_type = "lib64"
81 module_type = "lib"
88 ("${module_type}" == "lib" || "${module_type}" == "lib64" ||
[all …]
/build/hb/containers/
Darg.py214 def get_help(module_type: ModuleType) -> str:
216 all_args = Arg.read_args_file(module_type)
222 parser.usage = 'hb {} [option]'.format(module_type.name.lower())
228 def parse_all_args(module_type: ModuleType) -> dict:
231 all_args = Arg.read_args_file(module_type)
239 parser.usage = 'hb {} [option]'.format(module_type.name.lower())
268 oh_arg.arg_name, oh_arg.arg_value, module_type)
274 def write_args_file(key: str, value, module_type: ModuleType):
276 if module_type == ModuleType.BUILD:
278 elif module_type == ModuleType.SET:
[all …]
/build/scripts/
Dgen_sdk_build_file.py95 module_type = module_desc.get('type')
109 if module_type == 'jar':
113 suffix = module_type
114 if module_type == "none":
117 if module_type == "maple":
127 if module_type == "maple":
152 if module_type == 'so' and generate_sig is False:
158 if module_type == 'so':
162 elif module_type == 'jar':
167 elif module_type == 'maple':
[all …]
Dcargo2gn.py143 self.module_type = '' # lib,crate_name,test etc.
460 self.module_type = self.crate_name
462 self.module_type = 'lib'
464 self.module_type = 'test'
466 self.module_type = ''
570 dump('module_type', self.module_type)
624 if not self.module_type:
627 self.write('\nohos_cargo_crate("' + self.module_type + '") {')
/build/hb/
Dmain.py108 module_type = sys.argv[1]
109 if module_type == 'build':
111 elif module_type == 'set':
113 elif module_type == 'env':
115 elif module_type == 'clean':
117 elif module_type == 'tool':
119 elif module_type == 'help':
126 'There is no such option {}'.format(module_type), '0018')
/build/ohos/notice/
Dnotice.gni51 "module_type",
63 if (defined(module_type) &&
64 (module_type == "static_library" || module_type == "source_set")) {
75 if (defined(module_type) && module_type == "java_library" &&
/build/templates/bpf/
Dohos_bpf.gni65 "module_type",
69 if (!defined(module_type)) {
70 module_type = "unknown"
/build/templates/common/
Dcopy.gni97 "module_type",
101 if (!defined(module_type)) {
102 module_type = "unknown"
/build/templates/cxx/
Dprebuilt.gni82 module_type = "bin"
199 module_type = "lib"
304 module_type = "etc"
Dcxx.gni154 module_type = "bin"
593 module_type = "lib"
1079 module_type = "static_library"
1336 module_type = "source_set"
/build/ohos/app/
Dapp.gni264 module_type = "app"
281 module_install_dir = "${module_type}"
303 module_type = "app"
498 module_type = "app"
506 module_type = "app"
526 module_install_dir = "${module_type}"
/build/ohos/packages/
DBUILD.gn410 module_type = "lib64"
412 module_type = "lib"
416 "${root_build_dir}/backup/packages/${_platform}/system/$module_type",
/build/templates/rust/
Dohos_rust_library.gni125 module_type = "lib"
Drust_template.gni650 module_type = "lib"
/build/ohos/native_stub/
Dnative_stub.gni129 module_type = "lib"