Hi All,

I facing the below error when trying to add a prebuilt shared library in 
Android.bp file.

My approach: 

cc_prebuilt_library_shared {
    name: "my-lib",
    srcs: ["path-to-my-lib/my-lib.so"],
}
cc_librray {
   <existing code>
   shared_libs : ["my-lib"],
   include_dirs : ["path to .h files"]
}

*module "X" variant "bbbb": depends on non-NDK-built library "my-lib"*

Any help is appreciated.

Thanks in Advance!

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/bf51066b-6143-451f-ba11-840af2695d7a%40googlegroups.com.

Reply via email to