Sth like that?
cc_prebuilt_library_shared {
name: "<name>",
vendor: true,
compile_multilib: "both",
multilib: {
lib32: {
srcs: ["lib/name.so"],
},
lib64: {
srcs: ["lib64/name.so"],
},
},
export_include_dirs: ["include"],
}
BR, K.
________________________________
From: [email protected] <[email protected]> on
behalf of dhinesh kumar <[email protected]>
Sent: Thursday, December 13, 2018 8:09:11 PM
To: [email protected]
Subject: [android-building] prebuilt shared library using Android.bp
Hi,
I am new to Android.bp
I have a requirement where I need to use prebuilt shared library for both arm
and arm64 architectures.
How to add conditional sources picking in Android.bp based on the arch type
building.
Sample:
cc_prebuilt_library_shared {
name: "libmymodule",
owner: "mycomp",
srcs: ["obj/libmymodule.so"],
compile_multilib: "both",
vendor_available: true,
header_libs: ["libmymodule_headers"],
export_header_lib_headers: ["libmymodule_headers"],
}
--
Yours,
Dhineshkumar C
Mob: +919611469156
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fandroid-building%3Fhl%3Den&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C6a1a1d1c6552488b097f08d661360627%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C1%7C636803281995306137&sdata=sj%2BzSO45UEe7PTw5XyEO81%2Bpcj211x0v8XZk62GEv94%3D&reserved=0>
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
[email protected]<mailto:[email protected]>.
For more options, visit
https://groups.google.com/d/optout<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C6a1a1d1c6552488b097f08d661360627%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C1%7C636803281995316145&sdata=kjqj1cz5ip4j9mnFp9xHSTKWorEZo%2FinKCQXnYvZzvw%3D&reserved=0>.
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.