summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader_namespace.cpp
AgeCommit message (Collapse)Author
2021-05-05Extend Link() to allow linking to the default namespace.Martin Stjernholm
The code path through native bridge and NDK translation should propagate nullptr as well. This to support a later change that changes the way native test libraries are loaded in ART run tests. Test: art/test/testrunner/testrunner.py --target --64 --optimizing Bug: 130340935 Change-Id: I934d11942e41ccc6d140a7044faa160b006166f1
2020-08-04Rename linker greylist to exempt-listRyan Prichard
Update language to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference #inclusivefixit Bug: http://b/162536543 Test: device boots Change-Id: Ia80fb2f3be6abdadbd061570d48a4ef0fefcfebc
2020-04-27Use ART_TARGET_ANDROID instead of __ANDROID__Nicolas Geoffray
On golem, we build for ART_TARGET_LINUX, which doesn't have support for linkerconfig. Therefore, guard all linker namespace code on ART_TARGET_ANDROID instead of __ANDROID__ (which is unfortunately not under ART's control). Test: build for golem and run Bug: 154074847 Change-Id: I7a2b81918177704b42d8aafbd6d7e9d06d34e5f4
2020-02-07Convert art/ to Result::ok()Bernie Innocenti
No functionality changes, this is a mechanical cleanup. Test: m Change-Id: I10030314ad8a06d49a63f1e2f3c5aa5b484e34b6
2020-02-07Update platform namespace nameKiyoung Kim
Platform namespace has been renamed as 'system' from linkerconfig generator. To meet this requirement, libnativeloader should search for namespace 'system' rather than namespace 'platform'. Bug: 147987608 Test: m -j passed Test: atest libnativeloader_test passed Change-Id: I23d865ac71a80619f291eb9ae0761a2cad5df352
2020-02-06Remove extra using statementsTom Cherry
android::base::Errorf and android::base::ErrnoErrorf are now #define's instead of functions, so remove their using statements. Test: build Change-Id: Ifc2f5cf3ccf4de0b089cfe6b38e1f9724f5ff617
2019-10-11Move libnative{bridge,loader} to art/Orion Hodson
This change moves system/core/libnative{bridge,loader} under art/. Bug: 137364733 Test: m Change-Id: I9be7333d00fcd3f36cd80520e50a30ea840187ad