Dan, I was just trying out the "LOCAL_POST_INSTALL_CMD" (to execute some short shell scripts) and it works now in the Android.mk. I could not find an equivalent for Android.bp though, do you know of any?
any way it works for now :) cheers. On Tuesday, October 5, 2021 at 4:08:25 AM UTC+5:30 Dan Willemsen wrote: > No, the source tree should be considered read-only from within the build. > I'd suggest doing this as a wrapper around the build, rather than inside > the build. You can set up `dist` options so that `m ... dist` builds will > copy artifacts (and logs -- it's meant to be used on build servers) to > $DIST_DIR (defaults to out/dist/) after a build, but you'd still need > something wrapping the build to put them where you wanted, so that may or > may not simplify things. > > - Dan > > On Mon, Oct 4, 2021 at 12:13 PM Abhayadev S <[email protected]> wrote: > >> >> Hi, >> >> I have a cc_binary module (name myBin) defined in in a/b/Android.bp which >> is building fine and installs the binary in to out/..../system/bin/myBin >> >> Now, every time the binary is built, i need to copy this binary in to >> another git repo project cloned in a/b/bins/ to keep the prebuilts >> >> so, is there post build/install options i can use inside the Android.bp ? >> >> regards, >> abhay >> >> -- >> -- >> 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/2edbc3a5-816e-4e12-8528-1cc0f0a7e841n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/android-building/2edbc3a5-816e-4e12-8528-1cc0f0a7e841n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- -- 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/c9a737f3-8cf5-4e90-8665-0d870b530ea7n%40googlegroups.com.
