diff options
author | 2024-08-09 21:05:10 +0100 | |
---|---|---|
committer | 2024-08-12 15:44:39 +0000 | |
commit | 3ad282d75dba70238e9cfcb6b28676d8eb13dd1c (patch) | |
tree | 37da33dff302a64ba961fd393f7f8fdfe6c8bc92 /compiler/optimizing/instruction_builder.cc | |
parent | 606f8a4172734d4833641a2bef4b85b262ecef39 (diff) |
Link libraries with unstable ABIs statically into libnativebridge-tests.
It incorrectly used art_test_internal_library_defaults, which requires
setting NATIVELOADER_DEFAULT_NAMESPACE_LIBS to work.
It still links several test libraries dynamically, but that works fine
since they're pushed with the test.
Add a test config to enable pushing the test libraries. It's the same
as art-gtests-target-standalone-template.xml, except `append-bitness`
isn't passed to the file pusher, which apparently disables pushing the
whole test directory.
Test: atest libnativebridge-tests
Test: readelf -d out/target/product/vsoc_x86_64/testcases/libnativebridge-tests/x86_64/libnativebridge-tests64
-> Check that no unstable libraries like libc++.so are linked
dynamically.
Bug: 357950167
Change-Id: I406d030312889c668ce0b7489e17b99c06070698
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions