LOCAL_EXPORT_C_INCLUDE_DIRS := $(LLVM_ROOT_PATH)/include plus
LOCAL_SHARED_LIBRARIES += libLLVM should work. Adding it to
llvm-host-build.mk and
llvm-device-build.mk is overkll, those are used
for building everything in external/llvm, but you only need to affect
the libLLVM module itself. I'd suggest adding
LOCAL_EXPORT_C_INCLUDE_DIRS to the two modules in
shared_llvm.mk.
If it is still not working, you can see if the export is working correctly with:
cat $OUT/obj/SHARED_LIBRARIES/libLLVM_intermediates/export_includes
And if the import is working using:
cat $OUT/obj/SHARED_LIBRARIES/libart-compiler_intermediates/import_includes
If that is still not working, post the exact command that fails with
make showcommands and the output.
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to
android-...@googlegroups.com
> To unsubscribe from this group, send email to
>
android-buildi...@googlegroups.com
> 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
android-buildi...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.