Well you can, but the device will certainly crash ;-) You can enforcing VNDK rules as long that API/ABI and VNDK's name space are respected, there should be OK (well I believe).
My assumption is that you have issues with *.bp files somewhere or missing something when declaring VNDK_SP_LIBRARIES section in device directory ;-) *** in your source environments 1. Check if you don't miss any *.bp files, or any "name space" typo issues in the cc_binary sections? 2. Check if the "shared_libs" sections are correctly declared in your *.bp files (take a look at /system/bt/vendor_lis as example) *** in /device/<platform> directory 3. Check if all your vndk-sp libraries are built. (Android.mk) 4. If you've declared BOARD_VNDK_VERSION then you have to copy the LL_NDK libraries by your own! (take a look at /device/google/marlin/vndk/Android.mk) 5. Check if all your libraries are declared in VNDK_SP_LIBRARIES somewhere Hope this help Chinda Le jeu. 21 juin 2018 à 11:42, chinda keodouangsy < chindakeodouan...@gmail.com> a écrit : > Well you can, but the device will certainly crash ;-) > You can enforcing VNDK rules as long that API/ABI and VNDK's name space > are respected, there should be OK (well I believe). > > My assumption is that you have issues with *.bp files somewhere or missing > something when declaring VNDK_SP_LIBRARIES section in device directory ;-) > > *** in your source environments > 1. Check if you don't miss any *.bp files, or any "name space" typo issues > in the cc_binary sections? > 2. Check if the "shared_libs" sections are correctly declared in your *.bp > files > (take a look at /system/bt/vendor_lis as example) > *** in /device/<platform> directory > 3. Check if all your vndk-sp libraries are built. (Android.mk) > 4. If you've declared BOARD_VNDK_VERSION then you have to copy the LL_NDK > libraries by your own! > (take a look at /device/google/marlin/vndk/Android.mk) > 5. Check if all your libraries are declared in VNDK_SP_LIBRARIES somewhere > > Hope this help > > Chinda > > Le mer. 20 juin 2018 à 21:02, Renjith Rajagopal < > renjith.rajagopa...@gmail.com> a écrit : > >> Thank you for response. You mean BOARD_VNDK_VERSION=current in >> BoardCongiguration ?? >> Yes. I did changes as mentioned in android official site. It did break >> lot of things.. >> >> Can’t I run without enforcing VNDK rules ? >> >> >> On Tue, 19 Jun 2018 at 18:48, chinda keodouangsy < >> chindakeodouan...@gmail.com> wrote: >> >>> Have you add appropriated modification in the right at >>> /device/<plateform> place? >>> >>> Le mar. 19 juin 2018 à 17:24, Renjith Rajagopal < >>> renjith.rajagopa...@gmail.com> a écrit : >>> >>>> Hi, >>>> To enforce VNDK and Project treble ,I was trying to convert one of my >>>> system service(which was in /system/priv-app) to /vendor/priv-app. >>>> I use AOSP for building app. >>>> But unfortunately I couldn't able see the service created or running in >>>> latter case. >>>> Highly appreciated for any pointer. >>>> >>>> >>>> BR >>>> Renjith >>>> >>> -- >>>> -- >>>> unsubscribe: android-porting+unsubscr...@googlegroups.com >>>> website: http://groups.google.com/group/android-porting >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "android-porting" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to android-porting+unsubscr...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.