Hi Google,


1) Actually I have an Android.mk which consists of basic shell commands 
like "mkdir" and "cp". But in my service I am using Android.bp . So is 
there any way to implement shell commands in the Android.bp ? (Have to add 
in prebuilts)


My snippet:

         PREBUILT_FOLDER := vendor/
         LOCAL_POST_INSTALL_CMD :=
         mkdir -m 0770 -p out/target/product/$(PRODUCT_NAME)/data/vendor;
         cp $(OUT_VENDOR_FOLDER)/bin/hw/<vendor_service> 
$(PREBUILT_FOLDER); \


I am trying to find the equivalent implementation in Android.bp.


-> I have tried to use the androidmk command also to convert automatically 
from the android.mk to android.bp, but the above lines are not getting 
converted.


2) And is the tag "LOCAL_POST_INSTALL_CMD " also supported in Android.bp, 
as i want to execute the above commands after the binary is built?


Can you help with this ?

-- 
-- 
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/66eecf35-935f-45d4-b594-2e7c9fea3e94o%40googlegroups.com.

Reply via email to