Re: [android-building] How to depends on a host binary/library

2018-08-15 Thread 'Dan Willemsen' via Android Building
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

[android-building] How to depends on a host binary/library

2018-08-15 Thread Yibai Zhang
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