LOCAL_ADDITIONAL_DEPENDENCIES can be used to add additional dependencies that must be built before anything in the current module is built. So something like this:
LOCAL_ADDITIONAL_DEPENDENCIES := $(HOST_OUT_SHARED_LIBRARIES)/LLVMPlugin.so - Dan On Wed, Aug 15, 2018 at 8:58 PM Yibai Zhang <[email protected]> wrote: > Hi, all > I want to use a self writing clang plugin to optimize specific module > inside AOSP repo, use LOCAL_CFLAGS="-fplugin=LLVMPlugin.so". So I need to > build LLVMPlugin.so first. How can I make it first before making the target > module? > i.e. "make target-module" would build host library LLVMPlugin.so first. > > -- > -- > 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. > -- -- 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.
