diff options
| author | 2021-04-08 18:19:15 +0900 | |
|---|---|---|
| committer | 2021-04-08 18:20:39 +0900 | |
| commit | 94e22fd35e368f5362c3c78bec2054de23d9ac1f (patch) | |
| tree | 4d18560d03653222101a55cfc9c715d71e7a6608 /rust/rust.go | |
| parent | 64a90286c458b8bd001d2c2ef03bd0e2617c220f (diff) | |
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
Diffstat (limited to 'rust/rust.go')
| -rw-r--r-- | rust/rust.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 |