Hi
I would like to add a couple of prebuilt jars and some source files to the Android 9 aosp image that I"m building.
With lower versions of Android I've added these easily to frameworks.jar. This was straight forward to do when framework.jar was built using a make file. Its a lot less clear how to do this using blueprint files and soong.
This is what I've tried and its not enough.
Add a new folder to frameworks/base for my source files:
frameworks/base/myfolder/java/com/xxx
Edit the Android.bp file in frameworks/base and add source files to the "srcs" list
"myfolder/java/com/xxx/source1.java"
"myfolder/java/com/xxx/source2.java"
Edit the "static_libs" list and add my prebuilt jars
"prebuilt_jar1",
"prebuilt_jar2",
I'm not sure where to put these prebuilt jars.
Do they go somewhere inside myfolder? Where are the other static libs in this list picked up from?
Do I need to create .bp files inside myfolder to build this new part?
Do you have any suggestions as to how to add prebuilt jars to Android 9.
Thanks for your help.
Karen