diff options
author | Logan Chien <loganchien@google.com> | 2018-03-06 18:29:27 +0800 |
---|---|---|
committer | Logan Chien <loganchien@google.com> | 2018-03-09 13:41:56 +0800 |
commit | 7922ab8da69cc777a86d1062831d479cb908bd98 (patch) | |
tree | 55ffad157d278a9b360a0fe0466c270ebacfd29d /python/python_test.go | |
parent | 5e877b1a86cf85c6e388e347c878c86a6379cc64 (diff) |
RemoveFromList() should remove all matches
RemoveFromList() should remove all matches. Before this commit,
RemoveFromList() only removes the first match. This commit rewrites
RemoveFromList() so that it will remove all matches. Besides, a unit
test is written.
Note: aosp/461936 wants to make sure libc.so precedes libdl.so in
DT_NEEDED entries. However, if there are two "libdl" in shared_libs,
aosp/461936 won't achieve its goal because RemoveFromList() (prior to
this commit) only removes the first "libdl".
Bug: 62815515
Test: Build sailfish and check libstagefright.so
Change-Id: I9bec563cbf800bff4bd508fb21e28869a92cfe56
Diffstat (limited to 'python/python_test.go')
0 files changed, 0 insertions, 0 deletions