diff options
| author | 2024-04-05 22:09:46 +0100 | |
|---|---|---|
| committer | 2024-04-12 14:24:26 +0000 | |
| commit | 245509c7a7f3e4d9578564b2663e282c60a7ed3c (patch) | |
| tree | c2b25ecdca6c48e42d7474223003c38d036b3f80 /compiler/optimizing/code_generator.h | |
| parent | 2b963f984fc6f7aed7a367bca4a8aeb9aee2fec7 (diff) | |
Fix standalone tests to only link NDK and module exported libraries
dynamically.
libc++ is left out for now, due to problems using
`stl: "libc++_static"` in some tests (b/333438055).
Introduce a defaults for statically linking libunwindstack, to fix its
dependencies in one place.
Test: mmm art libnativehelper libcore
find out/target/product/vsoc_x86_64/testcases/ -type f -regex '.*\(_standalone_\|libnativebridge\(_cts\|-lazy\)\|libnativeloader\).*_tests?\(32\|64\)?' | xargs readelf -d | grep 'File:\|NEEDED' | grep -v 'lib\(c\|m\|dl\|dl_android\|z\|log\|binder_ndk\|selinux\|nativeloader\|nativehelper\|nativebridge\|dexfile\|statspull\|statssocket\).so\|heapprofd_client_api.so'
Check that no NEEDED dependencies are reported.
Test: atest art_libnativebridge_cts_tests art_standalone_artd_tests art_standalone_cmdline_tests art_standalone_compiler_tests art_standalone_dex2oat_cts_tests art_standalone_dex2oat_tests art_standalone_dexdump_tests art_standalone_dexlist_tests art_standalone_dexopt_chroot_setup_tests art_standalone_dexoptanalyzer_tests art_standalone_dexpreopt_tests art_standalone_disassembler_tests art_standalone_libartbase_tests art_standalone_libartpalette_tests art_standalone_libartservice_tests art_standalone_libarttools_tests art_standalone_libdexfile_external_tests art_standalone_libdexfile_support_tests art_standalone_libdexfile_tests art_standalone_libprofile_tests art_standalone_oatdump_tests art_standalone_odrefresh_tests art_standalone_profman_tests art_standalone_runtime_tests art_standalone_sigchain_tests libnativeloader_lazy_test libnativeloader_test
Bug: 247108425
Change-Id: I082bc88d8605b58981f43ba0677068de2ca3abea
Diffstat (limited to 'compiler/optimizing/code_generator.h')
0 files changed, 0 insertions, 0 deletions