Your generated headers go in a genrule (or gensrcs) module:
genrule {
    name: "generated_headers_module",
}

Then you import them and reexport them from another module:
cc_library {
    name: "library",
    generated_headers: ["generated_headers_module"],
    export_generated_headers: ["generated_headers_module"],
}


On Wed, Aug 23, 2017 at 9:02 PM, Chih-Wei Huang <[email protected]> wrote:
> Hi,
> I'd like to export the include path $(call local-generated-sources-dir) in
> Android.bp.
> In Android.mk I can do like
>
> LOCAL_EXPORT_C_INCLUDE_DIRS := $(call local-generated-sources-dir)
>
> However, seems there is no counterpart in Android.bp.
> I tried everything but none work.
> Isn't it possible?
>
> --
> --
> 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.

Reply via email to