I am trying to built a static library in aosp, which is then used by another program.
Android.bp is for the static library is as follows:
cc_library_static {
name: "libabc",
srcs: [
"src/abc.c",
"src/abcd.c",
],
include_dirs: [
"my_folder/inc",
],
vendor: true,
}
Although the build is successful, I am not able to find my libabc.a in my outputs folder.
Do I have to add libabc.a in PRODUCT_PACKAGES for it to be added to the build ? What am I missing here ?