From 94e22fd35e368f5362c3c78bec2054de23d9ac1f Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Thu, 8 Apr 2021 18:19:15 +0900 Subject: Shared lib dependencies from rlib are included in APEX This change fixes a bug that shared lib dependencies of an rlib is not installed to the APEX even when the rlib is part of the APEX. Bug: N/A Test: m Change-Id: I88fe461584499839d8018d6b4292374592e7562b --- rust/rust.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rust/rust.go') diff --git a/rust/rust.go b/rust/rust.go index 566ad3787..34e197a07 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -798,6 +798,11 @@ func IsDylibDepTag(depTag blueprint.DependencyTag) bool { return ok && tag == dylibDepTag } +func IsRlibDepTag(depTag blueprint.DependencyTag) bool { + tag, ok := depTag.(dependencyTag) + return ok && tag == rlibDepTag +} + type autoDep struct { variation string depTag dependencyTag -- cgit v1.2.3-59-g8ed1b