Android build system supports SANITIZE_TARGET environment variable to choose sanitizer option for all modules at once. However, some of Rust library is not considered to work with this global sanitizer option because Rust library is not following ASAN automatic path modification. In addition, EGL Loader is also not automatically following ASAN path modification. This article memorize manual modification for fixing it.
When I built AOSP android-13.0.0_r80 on Ubuntu machine as usual, "libncurses.so.5: cannot open shared object file" stopped build at the beginning of build.
===
repo init -u https://android.googlesource.com/platform/manifest -b android-13.0.0_r84
repo sync
source build/envsetup.sh
lunch sdk_car_...
VkCubeはVulkan-Toolsのgithubでソースコードが公開されており誰でもビルド(コンパイル)して手元で動かせる。Androidでもapkを作成する手順が現在サポートされているため簡単に実行できる。
How to manually build android kernel without standard bazel/build.sh explained.
Android platformビルド時のcompile_commands.jsonの出し方