Lines Matching refs:optional
77 def enforce_uses_libraries(manifest, required, optional, relax, is_apk, path): argument
93 if manifest_required == required and manifest_optional == optional:
101 '\t- optional libraries in build system: [%s]\n' % ', '.join(optional),
127 optional = []
135 optional.append(libname)
138 optional = first_unique_elements(optional)
140 return required, optional, tags
159 optional = [uses_library_name(x) for x in libs if not uses_library_required(x)]
167 optional = first_unique_elements(optional)
169 return required, optional, tags
298 optional = translate_libnames(args.optional_uses_libraries, mod_to_lib)
303 errmsg = enforce_uses_libraries(manifest, required, optional,