Searched refs:optional_uses_libraries (Results 1 – 4 of 4) sorted by relevance
/build/soong/scripts/ |
D | manifest_check.py | 60 def enforce_uses_libraries(doc, uses_libraries, optional_uses_libraries): argument 79 if uses_libraries or optional_uses_libraries: 83 verify_uses_library(application, uses_libraries, optional_uses_libraries) 86 def verify_uses_library(application, uses_libraries, optional_uses_libraries): argument 100 if optional_uses_libraries is None: 101 optional_uses_libraries = [] 110 if manifest_optional_uses_libraries != optional_uses_libraries: 112 (', '.join(optional_uses_libraries), ', '.join(manifest_optional_uses_libraries))) 128 optional_uses_libraries = [uses_library_name(x) for x in libs if not uses_library_required(x)] 130 return first_unique_elements(uses_libraries), first_unique_elements(optional_uses_libraries) [all …]
|
D | manifest_check_test.py | 39 def run_test(self, input_manifest, uses_libraries=None, optional_uses_libraries=None): argument 42 manifest_check.enforce_uses_libraries(doc, uses_libraries, optional_uses_libraries) 67 matches = self.run_test(manifest_input, optional_uses_libraries=['foo']) 77 matches = self.run_test(manifest_input, optional_uses_libraries=['foo']) 87 matches = self.run_test(manifest_input, optional_uses_libraries=['foo']) 109 matches = self.run_test(manifest_input, optional_uses_libraries=['foo', 'bar']) 121 matches = self.run_test(manifest_input, optional_uses_libraries=['bar', 'foo']) 133 matches = self.run_test(manifest_input, optional_uses_libraries=['foo']) 140 optional_uses_libraries=['bar'])
|
D | manifest_fixer.py | 337 if args.optional_uses_libraries: 338 add_uses_libraries(doc, args.optional_uses_libraries, False)
|
/build/make/core/ |
D | verify_uses_libraries.sh | 29 optional_uses_libraries=$(echo "${badging}" | grep "uses-library-not-required" | sed -n "s/uses-lib… 41 single_line_optional_libs=$(echo "${optional_uses_libraries}" | tr '\n' ' ' | awk '{$1=$1}1')
|