vndk-def: Fix vndk-indirect computation bug

This commit replaces a vndk_indirect with vndk because we are computing
the indirect dependencies of vndk (i.e. closure(vndk) - vndk).

Bug: 37867089
Test: vndk-indirect libs are printed with sailfish images.
Merged-In: I218333c7dbb2a372cc9d170f34674510cc01aa0e
(cherry picked from commit 484219c317)

Change-Id: Ia0de1bf599e4be27a4324a09abf9653a5a50dea4
This commit is contained in:
Logan Chien
2017-06-08 21:14:15 +08:00
parent 6c5e1716a2
commit 31ad9c1112

View File

@@ -1398,7 +1398,7 @@ class ELFLinker(object):
vndk.add(dep)
vndk_indirect = self.compute_closure(vndk, is_not_vndk)
vndk_indirect -= vndk_indirect
vndk_indirect -= vndk
# Compute the extended usages from vendor partition.
# FIXME: DAUX libraries won't be found by the following algorithm.