summaryrefslogtreecommitdiff
path: root/linker/linker_config_test.cpp
AgeCommit message (Collapse)Author
2020-07-31linker: Cleanup for Android's inclusive language guidanceLuke Huang
1. Cleanup for #inclusivefixit. (whitelisted -> allowed_libs) 2. Support the old term for backwards compatibility. (Also update test.) 3. Fix the formatting errors found by clang-format. See https://source.android.com/setup/contribute/respectful-code for reference. Bug: 161896447 Test: atest linker-unit-tests linker-benchmarks Change-Id: I19dbed27a6d874ac0049cb7b67d2cb0f75369c1b
2020-06-02Make .whitelisted property "append"-ableJooyung Han
.whitelisted is a list of sonames seperated by ":" just like .shared_libs and .paths properties. It makes sense to make it appendable using += as well ass .shared_libs and .paths. Bug: n/a Test: atest linker-unit-tests Change-Id: If61cc553c8080e8a58de8a3a6051c1853f7bfe5f
2019-03-20linker: Add support for "whitelisted" property in linker config filesVic Yang
In order to enable no-vendor-variant VNDK, we need a way to restrict a namespace to only a list of whitelisted libraries. We add a new "whitelisted" property for this. If the property is not set, all libraries in the search paths are available in a namespace. If the property is set, only the libraries named are available. Bug: 119423884 Test: Boot with no-vendor-variant VNDK enabled using the new property. Change-Id: Id808c1733c8e2c2c3462b04c72461f9698403571
2019-02-15Switch linker tests to Android.bp.Elliott Hughes
Life is easier if we just keep test code in the same directory as the stuff it's testing... Test: tests still build and pass Change-Id: I9b35d689098bdc28a71d69645b0ca9fdd6ea0108