Lines Matching refs:target_path
83 def __init__(self, target_path, bitness, deps): argument
84 self.target_path = target_path
85 self.name = path_utils.TargetBaseName(target_path)
86 self.target_dir = path_utils.TargetDirName(target_path)
126 def _IsElfObjectForAp(self, elf, target_path, abi_list): argument
138 logging.debug("%s does not match the ABI", target_path)
152 permissions = target_file_utils.GetPermission(target_path,
159 def _IsElfObjectBuiltForAndroid(self, elf, target_path): argument
181 if (target_path.startswith("/vendor/arib/lib/") and
182 ".so" in target_path and
188 if target_path.startswith("/vendor/arib/bin/"):
191 permissions = target_file_utils.GetPermission(target_path,
218 target_path = path_utils.JoinTargetPath(
223 logging.debug("%s is not an ELF file", target_path)
226 if not self._IsElfObjectForAp(elf, target_path, abi_list):
228 target_path)
230 if not self._IsElfObjectBuiltForAndroid(elf, target_path):
231 logging.info("%s is not built for Android", target_path)
236 elf_error_handler(target_path, e)
241 logging.info("%s depends on: %s", target_path, ", ".join(deps))
242 objs.append(self.ElfObject(target_path, elf.bitness, deps))
306 dep_errors.append((obj.target_path, disallowed_libs))
409 if any(x.match(obj.target_path) for x in self._sp_hal):