I have to modify my AOSP build so that it includes the following pre-compiled (arm64) binaries and library.
/system/bin/chat
/system/etc/ppp/ip-up
/system/etc/ppp/ip-down
/vendor/lib/libreference-ril.so
Where can I put these files in AOSP so that they end up in their proper locations?
You need to use the following SOONG commands:
cc_prebuilt_binary,prebuilt_etcandcc_prebuilt_library_shared.Examples of theirs usage can be easily found in AOSP tree, e.g. for
cc_prebuilt_binary:From
system/core/logcat/Android.bp:So, add your
Android.bpwith mentioned implemented commands and put it for example in/vendor/my/Android.bp(along with all prebuilt stuff) and then build AOSP.Link to SOONG commands: https://ci.android.com/builds/submitted/7079722/linux/latest/view/soong_build.html