Lines Matching refs:target_path
86 def __init__(self, target_path, bitness, deps, runpaths): argument
87 self.target_path = target_path
88 self.name = path_utils.TargetBaseName(target_path)
89 self.target_dir = path_utils.TargetDirName(target_path)
138 def _IsElfObjectForAp(self, elf, target_path, abi_list): argument
150 logging.debug("%s does not match the ABI", target_path)
164 permissions = target_file_utils.GetPermission(target_path,
171 def _IsElfObjectBuiltForAndroid(self, elf, target_path): argument
193 if (target_path.startswith("/vendor/arib/lib/") and
194 ".so" in target_path and
200 if target_path.startswith("/vendor/arib/bin/"):
203 permissions = target_file_utils.GetPermission(target_path,
230 target_path = path_utils.JoinTargetPath(
235 logging.debug("%s is not an ELF file", target_path)
238 if not self._IsElfObjectForAp(elf, target_path, abi_list):
240 target_path)
242 if not self._IsElfObjectBuiltForAndroid(elf, target_path):
243 logging.info("%s is not built for Android", target_path)
248 elf_error_handler(target_path, e)
253 logging.info("%s depends on: %s", target_path, ", ".join(deps))
256 target_path, ":".join(runpaths))
257 objs.append(self.ElfObject(target_path, elf.bitness, deps,
277 any(obj.target_path.startswith(link_path +
330 dep_errors.append((obj.target_path, disallowed_libs))
367 if any(x.match(obj.target_path) for x in self._sp_hal):