diff options
author | 2022-03-24 00:50:33 +0000 | |
---|---|---|
committer | 2022-03-24 06:54:13 +0000 | |
commit | 630cb4e882a7fec160bc9f8a3b5688be0fddd3fc (patch) | |
tree | c75f158ef2b04c8cb68f9dc559f6cfcdd73d6ad5 /compiler/optimizing/loop_optimization.cc | |
parent | 9292b88f07dff23b6dcafff07bfdeb2e67809149 (diff) |
Fix expected system links when there are extended public libraries on
the device.
This fix accounts for this code path:
https://cs.android.com/android/platform/superproject/+/master:art/libnativeloader/library_namespaces.cpp;l=278;drc=cab0d313ba4c938e2f19cd9d1daf361dc5a99dca
It only fails on devices that specify libraries in
public.libraries-<companyname>.txt files.
Test: On an ordinary device that doesn't already have such a file:
adb root && adb remount && adb reboot && \
adb wait-for-device && adb remount
adb shell \
"echo libx.google.so > system_ext/etc/public.libraries-google.txt"
atest libnativeloader_test
adb shell rm system_ext/etc/public.libraries-google.txt
atest libnativeloader_test
Bug: 225768865
Change-Id: Ifb0a9cc5f044107a4baf2136a11feff6c34cd596
Diffstat (limited to 'compiler/optimizing/loop_optimization.cc')
0 files changed, 0 insertions, 0 deletions